Dropdown

class pytest_splunk_addon_ui_smartx.components.dropdown.Dropdown(browser, container, mapping={})[source]

Bases: pytest_splunk_addon_ui_smartx.components.base_component.BaseComponent

Component: Dropdown Base class of Input & Configuration table

get_input_type_list()[source]
Returns a generator list for the input types available in the add input dropdown
return

Returns Generator list of values

get_inputs_list()[source]
Returns a generator list for the options available in the add input dropdown
return

Returns Generator list of values

get_pagination_list()[source]
Returns a generator list for the pagination text available in the add input dropdown
return

Returns Generator list of values

get_value()[source]
Returns the current value for the dropdown
return

Str The current value for the dropdown

select(value)[source]
Selects the value we want from the type list
param value

The value in which we want to select

return

Returns True if successful, otherwise raises an error

select_input_type(value, open_dropdown=True)[source]
Selects the input type option that the user specifies in value
param value

The value in which we want to select

param open_dropdown

Whether or not the dropdown should be opened

return

Returns True if successful, otherwise raises an error

select_page_option(value)[source]
Selects the page option that the user specifies in value
param value

The value in which we want to select

return

Returns True if successful, otherwise raises an error