def radio(self): '''单选框查询''' qp = QueryFormPage(self.driver) qp.radio_selectquery(1) self.wait_loading_hide() # 等待loading消失 gv = qp.find_elem('.leftPanel div.label') return gv.text == '任务2'
def radio(self): '''单选框查询''' qp = QueryFormPage(self.driver) qp.radio_selectquery(1) self.wait_loading_hide() dv = qp.find_elem('#cal14') return dv.text == '14'
def radio(self): '''单选框查询''' qp = QueryFormPage(self.driver) qp.radio_selectquery(2) self.wait_loading_hide() # 等待视图的loading消失 rds = qp.find_elems('#dataTable .listDataTr td:nth-child(4)') return self.judge_search_content_inlist(rds, '男')