SPONSORS:






User Tag List

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2002
    Location
    Westlake Village, CA
    Posts
    1
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    GetChildren for Desktop

    I am trying to test our app in Earthlink.
    The visible Earthlink DialogBox window has a CustomWin parent, whose tag changes with each session of EarthLink. So I wrote a simple minded function to assign a tag from the list of windows got from a call to
    Desktop.GetChildren()

    The scheme works. However, Silk throws up "Exception 0" several times before the call is correctly executed. The task I want to do is accomplished, however, the testcase reported as fail due to these exception.
    I am using Win 98 (Yes, win 98), and have Silktest 5.3.3

    Any pointers?
    Thanks
    -Krishna

  2. #2
    Member
    Join Date
    Jul 2002
    Location
    Chennai,TN,India
    Posts
    36
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GetChildren for Desktop

    I couldn't foresee this.Anyway analysis this through either debugging mode or enabling the "print agent calls" and "print tags with agent calls" options in Runtime Options.

    If u could see something different, let us know.

    ------------------
    Babu NM
    Babu NM

  3. #3
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: GetChildren for Desktop

    Your application is running and has input focus, correct?

    Then use Desktop.GetActive() to get its tag and use it in all following tests.

    This will avoid the exception errors.

    If you want to continue with your current approach, then place the exception-causing code inside a do...except block.


    John


    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:29 PM.

Copyright BetaSoft Inc.