Absolute path of a field is changing in every alternate run | Selenium Forum
M
Posted on 21/09/2016
Wierdest situation sir,

I have a login page with a text field to enter user name.
This text field's [b:3nl5ici5]Absolute path[/b:3nl5ici5] changes in alternate loading of the url.


Sir,
[b:3nl5ici5]
Absolute path varying-->Is it really possible sir.?How to deal with it ?[/b:3nl5ici5]:O

M
Replied on 21/09/2016

If u see the snapshot, there are 6 similar //input tags. The text field's absolute path switches with 1 among these 6 unpredictably. Id is also constantly changing. Please suggest .....

Responsive image

M
Replied on 21/09/2016

[quote:204tl3ls]Absolute path varying-->Is it really possible sir.?How to deal with it ?:[/quote:204tl3ls]

absolute path changes all the time. use partial xpath.