Moving the screen without using drag or drop

How to apply eValid to functional testing of web applications.

Moving the screen without using drag or drop

Postby BMakee » Tue May 09, 2017 8:13 am

Morning.

How can I get eValid to move the visible screen up or down without having to use a drag-drop, which is desktop dependent.

Can you give me a solution to my quandary?

Thanks
BMakee
 
Posts: 1
Joined: Tue May 09, 2017 8:10 am

Re: Moving the screen without using drag or drop

Postby eValid » Wed May 10, 2017 11:43 am

BMakee wrote:Morning.

How can I get eValid to move the visible screen up or down without having to use a drag-drop, which is desktop dependent.

Can you give me a solution to my quandary?

Thanks


Thanks for posting BMakee.

Here is the "trick" for this.

To bring a page that is bigger than the browser window to a particular position on the screen you need to click on an element that is inside the screen if that element were clicked.

To do that you use the scrolling command:

Scroll key (parameters...see the eValid product documentation)

Basically you can issue a HOME (or END) command, and then issue a number of SOWN_ARROE (or UP_ARROW) commands.

This command sends signals to the browser just as if it is in the foreground, but these will work when the screen is minimized.

Hope this helps.

-- eValid Support
eValid
 
Posts: 2392
Joined: Tue Jan 01, 2008 12:48 pm
Location: USA


Return to Desktop and Mobile Device Functional Testing

Design Downloaded from free phpBB templates | free website templates | Free Web Buttons