SPONSORS:






User Tag List

Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Mar 2002
    Location
    El Segundo, CA, USA
    Posts
    37
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Internal error in agent - Child not found

    I have a piece of automation code that continually checks the state of a control to wait until is has focus (i.e. control.HasFocus()). For the most part it works but when I click a point on the html page that is not a control / object, the script errors with the 'Internal error in agent - Child not found'. My guess is that when I select to a non-control / object portion of the html page HasFocus() chokes because it thinks that nothing has focus. Any ideas for getting around this.

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

  2. #2
    Member
    Join Date
    Mar 2002
    Location
    El Segundo, CA, USA
    Posts
    37
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal error in agent - Child not found

    Another bit of info ... it only appears to happen when I select a non-control part of a table.

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

  3. #3
    Senior Member
    Join Date
    Aug 1999
    Location
    Cambridge, UK
    Posts
    470
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal error in agent - Child not found

    Can the error be caught using do...except? If so, then that would be a workaround, admittedly slowing your script down quite a lot.
    Of course if you're getting a an internal agent error, then that's a definite bug in silktest which needs reporting to segue.

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

  4. #4
    Member
    Join Date
    Mar 2002
    Location
    El Segundo, CA, USA
    Posts
    37
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Internal error in agent - Child not found

    After I posted my original request, I tried using a Do Except. It does know that its the current exception which I flush but it still causes the script to abort.

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

 

 

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 02:26 AM.

Copyright BetaSoft Inc.