Multi Select

class pytest_splunk_addon_ui_smartx.components.controls.multi_select.MultiSelect(browser, container)[source]

Bases: pytest_splunk_addon_ui_smartx.components.controls.base_control.BaseControl

Entity-Component: Multiselect Select Javascript framework: select2 A dropdown which can select more than one values

clear_text()[source]

Clears the search box value in the multiselect field

deselect(value)[source]
Remove an item from selected list.
param value

the value to deselect

return

Bool returns true if deselect was successful, else raises an exception

deselect_all()[source]

Remove all items from selected list.

get_list_count()[source]

Gets the total count of the Multiselect list

get_values()[source]
get list selected values
returns

List of values selected within the multi-select

list_of_values()[source]
Get list of possible values to select from dropdown
returns

List of options within the multi-select dropdown

search(value)[source]
search with the multiselect input
param value

string value to search

search_get_list(value)[source]
search with the multiselect input and return the list
param value

string value to search

returns

list of values

select(value)[source]
select a single value
param value

the value to select

return

Bool returns true if selection was successful, else raises an exception

wait_for_search_list()[source]

Wait for Multiselect search to populate

wait_for_values()[source]

Wait for dynamic values to load in Mulitple select