Skip to content

assertNotSelectedValues (UI Automation - Interrogation)

Compatible with:
  • Purpose
  • Gets all option values (value attributes) for selected options in the specified select or multi-select element.
  • It returns true when the values (attribute) of the elements(in Target) is not same as the value(field).
  • Syntax
  • assertNotSelectedValues(selectLocator, pattern)
  • Target
  • selectLocator - an element locator identifying a drop-down menu.
  • Value
  • Pattern - The values to be verified.
  • Return Value
  • An array of all selected option values in the specified select drop-down.
 
 
 
 
 

Feedback and Knowledge Base