Forum Discussion

csteinburg's avatar
csteinburg
Occasional Contributor
5 years ago
Solved

Compare text somewhere on screen is the same as test parameter

I have a Keyword test that generates a user with a name provided by a test parameter and adds it to a growing list. In order to make this dynamic, I want the test to check that the value of the parameter provided is the same as the name of the user generated in the application that I am testing. How can I check that somewhere on the page is text containing the same value as the parameter I provided? In this case, the name of the user generated is shown on screen and should be the same as the value of the parameter I provided