Verifying text in table


I need to verify text in table using a variable, right now I can store the text field value in a variable. However, when I used the WebUI.verifyTextPresent(variable) to verify the text in the table, it does not work even if it is created.

Please help

Take a read of this.

Also, remember the table columns start at zero. And, put a wait statement before detecting the “table/body” to ensure the table exists (to prevent a null error).

1 Like