VerifyTextExist
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Browser Element Name. It instructs the Avo Assure Client to verify if the input text exists in the AUT/site.
This action automates key validation messages, ensuring the web application displays the correct content to ensure enhanced reliability of the automated tests.
Input: <text>
Output: <Dynamic Variable>;<Dynamic Variable>(Optional)
You are testing a web application and need to verify that a specific text (such as a confirmation message, error message, or any key content) appears on the page after performing an action. The VerifyTextExistAction helps automate this validation by checking if the specified text is present anywhere on the page.
Input Text: "Welcome, user123"
After successfully logging in, the page should display the welcome message "Welcome, user123".
After the test case debug, VerifyTextExist Action fetches the occurrences of the input text “Welcome, user123”. It stores it in variable {Count}, and the execution status “True”/ “False” will be stored in variable {result}.