Isordered

Check if these two elements have same parent and are ordered siblings in the DOM. Two same elements will not be considered ordered.

Required Attributes
locator1
an Element Locator pointing to the first element.
locator2
an Element Locator pointing to the second element.
Usage Examples
Example #1
<selenium baseurl="http://www.google.com">
   
<open url="/finance" />
   
<waitForPageToLoad timeout="30000" />
   
<assert>
      
<isOrdered locator1="q" locator2="//input[@value='Get quotes']" />
   
</assert>
</selenium>