Difference between ordinal and DIV

Shweta

Active Member
Hi Everyone

Can anyone please tell me the difference between ordinal and DIV attribute?

Do we use ordinal to uniquely identify an element? If yes, then if I make any changes in DIV, would that work (I believe, No)?
Thanks!
 

bot1robot

Member
@Shweta

Ordinal Attribute is found in accessibility mode while spying an element
  • The ordinal may differ each time the application is run if the application has a multi-threaded user interface, or a multiple document interface .
  • If there are other elements which are usually present, but which are not present in special circumstances (eg on an accounts system, the "Update" button is missing for an inactive account), then the absence of these elements can affect the ordinal in those special circumstances.
Where as DIV is a tag and changing in DIV tag it will still identify element based on ordinal position.

Could you please share more details on your problem statement for better clarity , if your issue still persists.

--Cheers ...
 
Top