Esempio n. 1
0
 def multiselect(self):
     '''多选框查询'''
     qp = QueryFormPage(self.driver)
     qp.multiselect_selectquery(1)
     self.wait_loading_hide()  # 等待loading消失
     gv = qp.find_elem('.leftPanel div.label')
     return gv.text == '任务2'
Esempio n. 2
0
 def multiselect(self):
     '''多选框查询'''
     qp = QueryFormPage(self.driver)
     qp.multiselect_selectquery(1)
     self.wait_loading_hide()
     dv = qp.find_elem('#cal14')
     return dv.text == '14'
 def multiselect(self):
     '''多选框查询'''
     qp = QueryFormPage(self.driver)
     qp.multiselect_selectquery(2)
     self.wait_loading_hide()  # 等待视图的loading消失
     ms = qp.find_elems('#dataTable .listDataTr td:nth-child(5)')
     return self.judge_search_content_inlist(ms, '苹果')