Reputation: 135
I am testing a page where you see information about yourself, then you can update that information. I cannot find a way to compare a string to text that is displayed on the screen.
For example:
Name: John Doe
I edit (through another class and method), giving the name "Jane Deer"
editName("Jane Deer");
Now I want to check that the display on the app updates to "Jane Deer".
How can I read text from a view and make it a string in my program?
Upvotes: 0
Views: 208