VerifyText
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the Table captured from the AUT Element Name. It instructs the Avo Assure Client to verify if the text present in the textbox (which is in the table cell) is the same as that present in the input field of Avo Assure and save the result in the given output variable.
Input: <Row>;<Col>;<Object Type>;<index>;<Text>
For above Syntax user need to give the row number and column number of which table cell user wants to verify the text, Object type, and the index (Element Index of the cell).
Output: <Dynamic Variable>(Optional);<Dynamic Variable>(Optional)
User is testing an online employee management system where a table displays employee details. One of the columns contains a "Job Title" input field (textbox) that stores the job title for each employee. After editing the employee's job title, user need to verify that the text entered into the textbox is correctly saved and displayed.
For example, user want to verify that the Job Title textbox in the second row of the employee table correctly reflects the value "Software Engineer", which was entered previously.
2;6;textbox;1; Software Engineer
The "VerifyText" Action needs to check if the text present in the "Job Title" textbox in the second row and sixth column of the table is equal to the expected value "Software Engineer" and save the status in the output variable as True/False.
The "VerifyText" Action is easily validate that the text in a textbox (located within a table cell) matches the expected value and save the status in Output Variable as True, which can be utilized for display or other purposes.