/
"HOVER_AND_CLICK" Command

"HOVER_AND_CLICK" Command

Description: This command hovers over an element defined by a locator and then clicks on it.
Usage Scenario: Suppose we want to hover on the Login button in Reference app and then click on it.

Procedure: Define a locator for your button using XPath (//a[contains(text(),'LOGIN')]) and use it in your step. Your step will look like this:

Web Locator:

image-20240527-163610.png

Inline XPath:

image-20240527-163638.png

 

 

Related content

"HOVER" Command
"HOVER" Command
Read with this
"DOUBLE_CLICK" Command
"DOUBLE_CLICK" Command
Read with this
"SUB_STRING" Command
"SUB_STRING" Command
Read with this
"PRINT_PAGE_SOURCE" Command
"PRINT_PAGE_SOURCE" Command
Read with this
"EXECUTE_SOAP" Command
"EXECUTE_SOAP" Command
Read with this
"VERIFY_SOAP" Command
"VERIFY_SOAP" Command
Read with this