SPONSORS:






User Tag List

Results 1 to 2 of 2

Thread: ScrollIntoView

  1. #1
    Junior Member
    Join Date
    Oct 2000
    Location
    San Francisco
    Posts
    15
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ScrollIntoView

    Hello Guys,
    I have an annoying problem where SilkTest (5.0.3.2) halts for the reason of not being able to "Scroll Window Into View" (I am attempting to click on the image). The browser page is clearly visible; the image that I am attempting to click on is clearly visible. I have even used a ScrollIntoView() method and even passed the arguments (location of my pushbutton on the page) and still I get an exception. This is very annoying because it makes me realize that methods such as: ScrollIntoView, SetActive, SetFocus, and etc. are really no functional methods and are not a work-around for errors such as: Windows Cannot be scrolled into a view, App is not ready (happens very often when script is let to execute over night). I've posted this posting for a few reasons:
    1. Any suggestions on how to prevent the above described exceptions especially the once with CannotScrollIntoView and App is not ready
    2. To share my frustration and see of how have people solved similar type of problems in the past and really get a useful type of a feedback on above described issues.

    Thanks a lot
    Ringr

  2. #2
    Member
    Join Date
    Nov 2000
    Location
    Tampa, FL USA
    Posts
    90
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ScrollIntoView

    I just ran into the ScrollIntoView not working on my app. Same version of SilkTest. Actually, I had the app running on Netscape 4.7 and the ScrollIntoView worked fine. When I switched to testing on IE 5.5, the scrollintoview causes an exception. So I put a do...except around the scrollintoview because it worked fine on the othe browser, and on the IE, it just gets ignored, my object is visible anyway, and I just click (or do whatever op) on it and continue on my merry way.

 

 

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 09:16 AM.

Copyright BetaSoft Inc.