Skip to content

assertNotSelectedIndex (UI Automation - Interrogation)

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

Feedback and Knowledge Base