Page 1 of 1

Need help to show the mouse pointers on a test run

PostPosted: Mon Mar 11, 2019 8:36 am
by DDewitt
Good morning.

Need help with mouse pointers during a test run.

I really need to show the mouse pointer positions when the tests run.

Hope you can help me with this.

Thanks

Re: Need help to show the mouse pointers on a test run

PostPosted: Tue Mar 12, 2019 11:11 am
by eValid
DDewitt wrote:Good morning.

Need help with mouse pointers during a test run.

I really need to show the mouse pointer positions when the tests run.

Hope you can help me with this.

Thanks


Interesting question to post DDewitt.

The architecture of eValid is oriented around events as they are perceived in the DOM of the page you're working with.

These events can the triggered with a mouse click, but for eValid's main purpose -- to replay a recorded action reliably -- knowing where the mouse is exactly is not necessary.

In eValid playbacks you don't see the mouse move over to something and then click it; you just see the effect of the click.

But, there are commands that will let you position the mouse:

cLMouseOver wid x y
xyMouseOver wid x y

In the "cl" [for client] the mouse gets moved to the x,y coordinates inside the browser window on the desktop.

In the "xy" version of the command you are putting the mouse at x,y relative to what you see inside the browser border (that is, on the active area of the screen).

Hope this helps!


-- eValid Support