I'm having an issue with a web form which is somewhat long. It seems to be very difficult to scroll object in to view reliably. A portion of the form is fine (top)...when I have to go below that, Test complete auto scrolls too far (ScrollInToView). In this case the scrollbar is nonstandard (angular JS) so it is not accessible like standard scrollbars. Anyone have a snippet of code they have used which works reliably? I have tried a couple solutions which haven’t worked out very well i.e.:
Do while not Obj.visible
Page. Keys(Tab)
- Unreliable
Click in currently exposed field then mouse wheel down
- Unreliable
Test complete does try to find the field on its own but seems to over scroll each time