def click_loginout_button(self): logout = UiUtil.find_element('login', 'logout_uname') UiUtil.click(logout) logout_button = UiUtil.find_element('login', 'logout_button') UiUtil.click(logout_button)
def click_query_button(self): button = UiUtil.find_element('store_query', 'query_button') UiUtil.click(button)
def click_login_button(self): login_button = UiUtil.find_element('login', 'login_button') UiUtil.click(login_button)
def click_zeroStored_button(self): button = UiUtil.find_element('store_query', 'zeroStored_query') UiUtil.click(button)
def click_condition_button(self): button = UiUtil.find_element('store_query', 'condition_query') UiUtil.click(button)
def click_alter_button(self): alter_button = self.driver.find_element_by_id('editBtn') UiUtil.click(alter_button)
def click_query_button(self): query_button = self.driver.find_element_by_css_selector( 'button.form-control:nth-child(3)') UiUtil.click(query_button)
def click_add_button(self): add_button = self.driver.find_element_by_css_selector( 'button.form-control:nth-child(1)') UiUtil.click(add_button)