Why the statement is given in this way? why Idx attribute is avoided but name attribute is kept?

  • Idx attribute is used by default, but we should find a better selector.
  • We have the label “Company” and the value we are interested in the right side.


Idx or Index attribute should be avoided, it largely represents the position of an element. If the position of Element changes on the screen in future, automation will fail.
Always good to go with only aaname or Attribute Name.


1 Like