I need to verify value of that text boxes.
So, used Recording Validation, but xPath for that text boxes are like this:
- Code: Select all
/form[@title='Measurements']/container[@caption='ONH']/text[@caption='2.037']
Question:
- Why xPath use value of text box to identify it? It is clearly wrong, because it will always change, and its identification will fail.
- How else i can identify that component?
Attaching that dialog's Snapshot: