Can evalid test click on a coordinate of a webpage?

Applying eValid to AJAX applications that require advanced DOM-based methods.

Can evalid test click on a coordinate of a webpage?

Postby JAyres » Fri Jan 01, 2016 2:24 pm

Afternoon.

Can eValid set up a test that clicks on a specific coordinate of a web page element?

Tell me how!
JAyres
 
Posts: 1
Joined: Fri Jan 01, 2016 2:22 pm

Re: Can evalid test click on a coordinate of a webpage?

Postby eValid » Mon Jan 04, 2016 12:28 pm

JAyres wrote:Afternoon.

Can eValid set up a test that clicks on a specific coordinate of a web page element?

Tell me how!


Thanks for posting JAyres.

This is easily because evalid includes a command to issue a click on a specific location on a window, employing an offset either within the eValid browser itself or within a particular sub-window within the browser window.

We'll assume you already know how to find the right window (eValid keeps a hierarchy of them for you.

They you can choose commands like:

clLClick wid x y
xyLClick wid x y

clRClick wid x y
clLclick wid x y

In all four cases, the (x,y) values specify the number of pixels from the upper left hand corner (0,0) of either the browser frame (xy) or from the edge of the window (cl).

From there you're all set.

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


Return to AJAX Applications & DOM Processing

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