def click_sigle_import_btn(self):
     Service.wait_until_element_is_visible(
         self.driver, By.CSS_SELECTOR,
         '#pe-result > tbody > tr:nth-child(1) >'
         ' td:nth-child(9) > button')
     self.driver.find_element_by_css_selector(
         '#pe-result > tbody > tr:nth-child(1) > td:nth-child(9) > button'
     ).click()
Exemplo n.º 2
0
 def select_class_options(self,class_name):
     Service.wait_until_element_is_visible(self.driver,By.NAME,'stuClass')
     Service.box_name_click(self.driver,'stuClass',class_name)
Exemplo n.º 3
0
 def click_student_info_link(self):
     Service.wait_until_element_is_visible(self.driver, By.LINK_TEXT, '学员信息')
     self.driver.find_element_by_link_text('学员信息').click()
 def click_phase_exam_link(self):
     Service.wait_until_element_is_visible(self.driver, By.LINK_TEXT,
                                           '阶段考评')
     self.driver.find_element_by_link_text('阶段考评').click()