| || |
I have an annoying problem where SilkTest (18.104.22.168) 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
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.