Please help me with this, thanks.
Hi @ShivaniD, welcome to the Community.
Option 2 seems to be pretty stable selector compared to any other selectors.
Answer would be Option A.
Explanation: Based on all the 4 options idx value can be modified for stable automation. Other than idx values. If the selector contains innertext, aaname these selectors are modified at most cases because will not be an stable selector. These attributes give more stable automation.
Hope it helps!!
So, which option do I need to select now? Please advice.
Except Option 2, all the selectors can be modified according to the best practices. It largely depends on the interface that you are automating. Since the question needs to be answered from the modification perspective, option A selector will be the right fit.
We have to modify Option1 bcoz ‘idx’ is not a stable selector.
So Option1 is the answer
Idx is worst type of selector so
Option A needs modification
The first option should be modified in such a way that idx element shouldn’t be a part of your
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.