Does anyone know how to programmatically execute a screen scroll within FT Java while testing a web page?
Here's my situation. I'm using the .find method to find an object on the page, then call a different method to interact with it. The .find method can find an object on the page even if it's not in the visible portion of the screen (ie, it's below the viewable portion of the window), but in order to interact with the object (like click(), etc), it has to be in the viewable portion of the screen.
Steve, yes I have had this before! I can't believe I forgot!
It was a listbox I was selecting and I had the problem begin after I installed a new toolbar into IE. Had me stumped for a little while as previously it had been working perfectly, but the new toolbar had pushed the listbox just into half on the screen and half not!
I played around with the size of the toolbar buttons in IE to get a compromise between keeping the new toolbar and getting the listbox back on the screen.
It seems you can only get focus if it is entirely on or entirely off the screen.
If an object is hidden under a scrollbar, the Internet Explorer status bar, OR the Windows Taskbar, RFT seems to think the object is in view and tries to act on it when you invoke a method on the object.
If I drop the status bar and dock the taskbar on the side of the window, the scripts run flawlessly. Sounds like a bug to me.