Dropdown Methods
Last updated
Was this helpful?
Last updated
Was this helpful?
Opens the dropdownList and returns a rectangle for the list (based on rectangle with changes after expanding dropdown list)
Syntax:
Exception
Condition
When the dropdown could not be found on the screen.
When the dropdown could not be opened after the configured amount of retries.
Opens the dropdown list, searches the imageReference in the list (incl. scrolling) and selects it. If the image cannot be found, throws a .
The dropdown list is an <> with an given by the passed to the constructor of the dropdown.
Syntax:
Parameter
Description
imageReference
Exception
Condition
When the dropdown could not be found on the screen.
When the dropdown could not be opened after the configured amount of retries.
When the image cannot be found in the dropdown list.
Syntax:
Parameter
Description
element
Exception
Condition
When the dropdown could not be found on the screen.
When the dropdown could not be opened after the configured amount of retries.
When the element cannot be found in the dropdown list.
Syntax:
Parameter
Description
value
Exception
Condition
When the dropdown could not be found on the screen.
When the dropdown could not be opened after the configured amount of retries.
When the text value cannot be found in the dropdown list.
Parameter
Description
value
[actualValue]
Whether or not the text value could be found in the dropdown textbox.
Exception
Condition
When the dropdown could not be found on the screen.
Opens the dropdown list and verifies if the provided value is present in the dropdown list (includes scrolling). Closes the dropdown list again.
Parameter
Description
value
[takeScreenshot]
When true, a screenshot of the expanded dropdown is taken, showing the value to verify.
Whether or not the text value could be found in the dropdown textbox.
Exception
Condition
When the dropdown could not be found on the screen.
When the dropdown could not be opened after the configured amount of retries.
Type: The image reference that shall be selected in the dropdown list.
Opens the dropdown list, searches for the element in the list (incl. scrolling) and selects it. If the image cannot be found, throws a .
The dropdown list is an <> with an given by the passed to the constructor of the dropdown.
Type: The element that shall be selected in the dropdown list.
Opens the dropdown list, searches the text value in the list (incl. scrolling) and selects it. If the text cannot be found, throws a .
The dropdownlist is an <> with an given by the passed to the constructor of the dropdown.
Type: The text that shall be selected in the dropdown list.
Verifies if the value that is currently set in the matches the expected value. If it doesn't, the value read from the is returned as the actualValue out parameter.
Type: The text that shall be verified in the dropdown textbox.
Type: The text that was actually read in the dropdown textbox.
The dropdown list is an <> with an given by the passed to the constructor of the dropdown.
Type: The text that shall be verified in the dropdown list.
Type: