Page 1 of 1

Can evalid test click on a coordinate of a webpage?

PostPosted: Fri Jan 01, 2016 2:24 pm
by JAyres
Afternoon.

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

Tell me how!

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

PostPosted: Mon Jan 04, 2016 12:28 pm
by eValid
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