Package tlib :: Package base :: Module SelendroidTester :: Class SelendroidTester |
[hide private]
[frames] | no frames]

# Class SelendroidTester

source code

                     object --+
                              |
      PytestTester.PytestTester --+
                                  |
    WebDriverTester.WebDriverTester --+
                                      |
                                     SelendroidTester

Instance Methods | [hide private]
webdriver.Remote |
_get_driver(self) Returns Instance of the WebDriver remote driver | source code
_set_driver(self, driver) Instance of the WebDriver remote driver | source code
setup_selendroid_test(self, request, test_logger, driver) Launch the application on mobile device for each test case, unless marker skipsetup is given | source code
wait_for_page_loaded(self, timeout=10) Waist until document.readyState is equal to complete | source code
Inherited from `WebDriverTester.WebDriverTester`: `get_webelement_by_css`, `get_webelement_by_link_text`, `get_webelement_by_xpath`, `get_webelements_by_css`, `get_webelements_by_xpath`, `initialize_webdriver_class`, `save_screenshot`, `screenshot_folder`, `setup_webdriver_test`, `wait_for_alert`, `wait_for_element_to_be_clickable`, `wait_for_element_to_be_invisible`, `wait_for_element_to_be_present`, `wait_for_element_to_be_selected`, `wait_for_element_to_be_static`, `wait_for_element_to_be_visible`, `wait_for_text_to_be_present_in_element`, `wait_for_text_to_be_present_in_element_value` Inherited from `WebDriverTester.WebDriverTester` (private): `_find_screenshot_folder`, `_get_unused_report_name` Inherited from `PytestTester.PytestTester`: `initialize_PytestTester_class`, `log` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| __metaclass__ = `Singleton`
Inherited from `WebDriverTester.WebDriverTester` (private): `_driver`, `_folder_dest`, `_jinja_env`, `_request`, `_screenshot_report`, `_screenshot_report_template`, `_screenshots`, `_tc_screenshot_template`, `_test_case_id`, `_test_case_name`, `_test_params` Inherited from `PytestTester.PytestTester`: `test_logger`, `tlib_logger`

Properties | [hide private]
webdriver.Remote | driver Returns Instance of the WebDriver remote driver
Inherited from `object`: `__class__`

Method Details | [hide private]

### _set_driver(self, driver) | source code
Instance of the WebDriver remote driver Parameters: `driver` (webdriver.Remote)

### setup_selendroid_test(self, request, test_logger, driver) | source code
Launch the application on mobile device for each test case, unless marker skipsetup is given Decorators: `@pytest.fixture(scope= 'function', autouse= True)`

### wait_for_page_loaded(self, timeout=10) | source code
Waist until document.readyState is equal to complete Parameters: `timeout` (Integer) - Number of seconds before timing out Overrides: WebDriverTester.WebDriverTester.wait_for_page_loaded

Property Details | [hide private]

### driver Returns Instance of the WebDriver remote driver Get Method: _get_driver(self) - Returns Instance of the WebDriver remote driver Set Method: _set_driver(self, driver) - Instance of the WebDriver remote driver Type: webdriver.Remote