IDropDownActionsListener
Implementationâ
In order inject your customized logging for your reports or you want to perform any other action when handling the Drop down related actions, you can implement this class and provide your implementations for different methods available in this listener interface.
onDeselectAll (locator)
â
This method will get executed after deselecting all the items from the dropdown element located by using the provided locator.
onDeselectByIndex (locator, index)
â
This method will get executed after deselecting an item at the provided index from the dropdown element located by using the provided locator.
onDeselectByText (locator, text)
â
This method will get executed after deselecting an item by its provided text from the dropdown element located by using the provided locator.
onDeselectByValue (locator, value)
â
This method will get executed after deselecting an item by its provided value from the dropdown element located by using the provided locator.
onSelectByIndex (locator, index)
â
This method will get executed after selecting an item at the provided index from the dropdown element located by using the provided locator.
onSelectByText (locator, text)
â
This method will get executed after selecting an item by its provided text from the dropdown element located by using the provided locator.
onSelectByValue (locator, value)
â
This method will get executed after selecting an item by its provided value from the dropdown element located by using the provided locator.
onSelectedItem (locator)
â
This method will get executed after getting the selected item from the dropdown element located by using the provided locator.
onSelectedItems (locator)
â
This method will get executed after getting all the selected items from the dropdown element located by using the provided locator.
onVerifySelectedItem (locator)
â
This method will get executed after verifying the selected item from the dropdown element located by using the provided locator.
onVerifySelectedItems (locator)
â
This method will get executed after verifying all the selected items from the dropdown element located by using the provided locator.