Objects Invisible When Out of View
I'm having a problem with identifying objects that have been scrolled out of view. I've tried all sorts of things to identify these objects while they're out of view so that I can get UFT to scroll to them and interact with them. I've tried descriptive programming, using the OR, and using the visibility as an identifying attribute etc.
Is there any way to get UFT to recognize the objects when they're scrolled out of view? Usually it recognizes these things and scrolls to them itself to interact with them
What's the app written in?
Elements that appear / disappear with scolling are generally hard to deal without test hooks or detailed knowledge of how view works.
The "as a user" approach, would be to create some sort of loop with long waits and slowly scroll down until the scroll position property hits scroll max. (remember to add waits at each stop to allow elements to reload) I feel this is generally unreliable and very slow.
What I would recommend instead is creating a hook that allows you to get the item position and allow you to scroll right to it, or trigger the item directly. There are many ways to do it from building support into the view and element, or creating some sort of hidden controls binded to the same property that can be used by automation. Get your developer's help on this.
C# using wpf and infragistics for the interface
Originally Posted by mwsrosso