void verifyElementFound (Zone, Element, Index)
|
|
|
|
|
|
|
Verification command to check if an element exists.
Command Usage: Equivalent verification command to isElementFound command. This command will throw exception if element is not found.
Scenario: We will check if the 'Login' Button appears upon opening the Eribank application.
Parameters:
Zone: will be set to "NATIVE"
Element: will be set to 'text=Login'
Index: will be set to "0"
client.verifyElementFound("NATIVE", "text=Login", 0);client.VerifyElementFound("NATIVE", "text=Login", 0);client.VerifyElementFound "NATIVE", "text=Login", 0Reportself.client.verifyElementFound("NATIVE", "text=Login", 0)$client->verifyElementFound("NATIVE", "text=Login", 0);