Example #1
0
 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)
Example #2
0
 def click_query_button(self):
     button = UiUtil.find_element('store_query', 'query_button')
     UiUtil.click(button)
Example #3
0
 def click_login_button(self):
     login_button = UiUtil.find_element('login', 'login_button')
     UiUtil.click(login_button)
Example #4
0
 def click_zeroStored_button(self):
     button = UiUtil.find_element('store_query', 'zeroStored_query')
     UiUtil.click(button)
Example #5
0
 def click_condition_button(self):
     button = UiUtil.find_element('store_query', 'condition_query')
     UiUtil.click(button)
Example #6
0
 def click_alter_button(self):
     alter_button = self.driver.find_element_by_id('editBtn')
     UiUtil.click(alter_button)
Example #7
0
 def click_query_button(self):
     query_button = self.driver.find_element_by_css_selector(
         'button.form-control:nth-child(3)')
     UiUtil.click(query_button)
Example #8
0
 def click_add_button(self):
     add_button = self.driver.find_element_by_css_selector(
         'button.form-control:nth-child(1)')
     UiUtil.click(add_button)