SeeTestAutomation - VerifyElementFound
info
Please note that this tool is classified as a Legacy tool. We recommend transitioning to our updated solutions to maintain optimal performance and security in your workflows. For more information on this matter, please reach out to technical support .
void verifyElementFound (Zone, Element, Index)
Description
Verification command to check if an element exists.
Parameters
Usage
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"
Code Examples
Java Example
client.verifyElementFound("NATIVE", "text=Login", 0);
C# Example Expand source
client.VerifyElementFound("NATIVE", "text=Login", 0);
VBScript Example Expand source
client.VerifyElementFound "NATIVE", "text=Login", 0
Report
Python Example Expand source
self.client.verifyElementFound("NATIVE", "text=Login", 0)
Perl Example Expand source
$client->verifyElementFound("NATIVE", "text=Login", 0);