Sometimes an element on a web page may be invisible because it is out of a viewport. Real user scrolls a page vertically and horizontally to reach such an element. How to achieve same behavior with Rapise?
Each web object in Rapise has DoEnsureVisible action.
The name of the action is self explanatory. It forces a browser to scroll the viewport in a way to make the element visible.
Note that Rapise automatically executes this action before performing DoClick and DoDblClick actions.
Rapise relies on a browser to perform scrolling. It always works if application developers use native scrollbars. But sometimes scrollbars (most probably horizontal) are custom elements implemented in a web framework used by the application. In this case learn the scrollbar element and use DoClick action with offset to click it to perform scrolling. Use DoGetRect action to check that position of the element after scrolling satisfies your needs.
Selected files will be attached to any email sent on saving ticket.
Select files to upload
Or drag and drop files here
Save to upload the selected file(s)