Skip to end of metadata
Go to start of metadata

Verify if the options at the given indices are not selected

 Parameters:  

  • to - TestObject (required): represent a web element
  • range - Object (required) : the indexes of the options to be verified if not being selected
  • isRegex - boolean (required): true if the label is regular expression, false by default
  • timeOut - int (required):  system will wait at most timeout (seconds) to return result

  • flowControl - FailureHandling (optional): specify failure handling schema to determine whether the execution should be allowed to continue or stop. More details is in this page: Failure handling

Returns:

  • true: if all options at given indices are not selected
  • false: if options  at given indices are selected

Example: You want to verify if the option 1 in the list is not selected in 5s timeout

Manual: 

Script:

WebUI.verifyOptionNotSelectedByIndex(findTestObject('The Second Landing Page/select_js-intent'), 1, 5)

 


 

  • No labels