Page 1 of 1

Overcome a popup on a webpage.

PostPosted: Fri Jan 09, 2015 7:28 pm
by SmithD
Evening.

I've got this really complex web page to test and one part of it is that that if I hover over an element I get a popup on the screen.

But how do I record that with eValid.

Thanks

PS: Sorry for the late night posting.

Re: Overcome a popup on a webpage.

PostPosted: Mon Jan 12, 2015 3:44 pm
by eValid
SmithD wrote:Evening.

I've got this really complex web page to test and one part of it is that that if I hover over an element I get a popup on the screen.

But how do I record that with eValid.

Thanks

PS: Sorry for the late night posting.


Thanks for posting SmithD. Never too late in the day to ask a question.

That can be tricky.

The hover event is fired when the mouse (cursor) is actually over the element.

You use the IndexElementEvent command, described here:

http://www.e-valid.com/Products/Documen ... event.html

You first find the element where you'll be hovering.

Then you position the mouse as "over some position that includes that event" using the offsetX and offsetY options.

Now you can send that event to the specific event. The result is that the browser will show the popup (the browser understands that the mouse is hovering there and will respond accordingly).

--eValid support