Skip to content

assertNotSelectedIndexes (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • This command gets all option indexes (option number, starting at 0) for selected options in the specified select or multi-select element.
  • It returns true when the indexes of the items in the Drop-Down menu (in Target) is not same as the value.
  • Syntax
  • assertNotSelectedIndexes(selectLocator, pattern)
  • Target
  • selectLocator - an element locator identifying a drop-down menu.
  • Value
  • Pattern - The Indexes to be verified.
  • Return Value
  • An array of all selected option indexes in the specified select drop-down
 
 
 
 
 

Feedback and Knowledge Base