SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Jul 2001
    Posts
    3
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unable to click offscreen object in browser

    Hi -- I tried searching the archives for any advice on this problem but couldn't find anything relevant. Here's my situation:

    Two months ago, I started writing some basic scripts in Silk 5.0.2 to test a web site under IE 5.0. This went pretty well (after a few weeks of part-time work, I had some basic automation going). Then, disaster -- computer crash resulting in loss of hard drive, backup of my scripts disappeared, the typical nightmare scenario.

    This week, I finally got over my grief and installed Silk, then started working on re-creating the scripts. Now, whenever I attempt to click on any object (HtmlLink, HtmlText, CustomWin, etc.) that is not onscreen at the time of the call to Click, I get an error that the object could not be found. I know I did not have this problem before my computer crashed.

    Any advice would be most appreciated. TIA.

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

  2. #2
    Senior Member
    Join Date
    Jul 1999
    Location
    New York, NY, USA
    Posts
    137
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Unable to click offscreen object in browser

    This sounds like an agent timing issue. You need to check the values you have set in -> Options>Agent> for Window Timeout and Application Ready timeout. What I think is happening is that silk is not finding the object before it runs out of time to do so. You will need to play with these values until you are happy with the stability and object recognition of the agent. Keep in mind that the defaults are used elsewhere in Silk if you do not specify optional time limits. For example in the method Exists() if you use ANYWIN.Exists (20) Silk will only look for the ANYWIN object for 20 seconds and then fail if you leave the optional parameter empty Silk will look for the object for as long as is specified in the Agents Options dialog.

    Good Luck
    Tom


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

 

 

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 12:50 PM.

Copyright BetaSoft Inc.