Skip to content

Action on XY

gcvfi edited this page Apr 23, 2020 · 2 revisions

Back to AIQ Commands | Home


Note: Draft content, work in progress, not yet reviewed or verified.


Summary

This provide an ability to do an action at a specific XY coordinate of a HTML element on a page.

Click on _xy{20, 30} of _css{#some_html_node_id}

Hover on _xy{20, 30} of _xpath{//img[@id='some_html_node_id']}

Double Click on _xy{20, 30} of "Photo of Eiffel Tower”

Examples

Click on XY

Test Steps Data
open website https://jsfiddle.net/gcaiq/cj5yqx4v/show
Click on _xy{50, 50} of _xpath{"//img"}
Click on _xy{50, 50} of _xpath{"//canvas"}
Click on _xy{50, 50} of _xpath{"//span"}
Click on _xy{50, 50} of _xpath{"//textarea"}
Click on _xy{100, 5} of _xpath{"//h2"}

Hover on XY

Test Steps Data
open website https://www.w3schools.com/
hover on _xy{-100, 0} of "HTML REFERENCE"
wait for 5 secs

See also

Clone this wiki locally