Forum Discussion

MadhuraKhare's avatar
New Contributor
5 years ago

Relative Path Selection

Hi Team, 

Currently, I am facing an issue, when I run my app from TC56 device the path for the button is different than the path for TC55.

Eg:- I have an alert dialog that pops after the input is entered, based on the user clicking YES/NO button I have some other functionality to run.

So when I run the test case on TC55 the path for 'YES Button' comes as below:-



Layout_NO_ID this is the extra part that gets added for TC55.


when I run the test case on TC56 the path for 'YES Button' comes as below:-



Is there a way I can use a relative path rather than an absolute path so that my test case works?