My environment is:
iOS Native App
Appium inspector
Ruby
- Accessibility ID, Name, Value, etc all have the same text: “Invalid username or password. Reference ID: xxxxx” The reference ID changes for every launch
- The point is not to use xpath
- Need to search on the static text
Here is the rub. I don’t really want to use an element type. I just want to see if the alert launches and text is present so that when the element values change (which they will) my test won’t break unless the text of the message changes.
created
Jan '18
last reply
Oct '18
- 8
replies
- 1.4k
views
- 5
users
- 2
likes
- 1
link