def test_frenquency_1h2(self): frenquency = Frenquency(self.driver) frenquency.click_model() frenquency.click_public_model() frenquency.double_model2() frenquency.click_jishuanzujian1() frenquency.click_shuchu1() time.sleep(1) frenquency.click_shuchu_1() frenquency.click_ziduan_1() frenquency.click_chehui_1() frenquency.click_jishuanzhujian3() frenquency.click_shuchu3() frenquency.click_peizhi3() BasePage.get_windows_img(self) frenquency.click_run() BasePage.warning_text(self)
def test_frenquency_1d(self): frenquency = Frenquency(self.driver) frenquency.click_model() frenquency.click_public_model() frenquency.double_model1() frenquency.click_jishuanzujian1() frenquency.click_peizhi1() frenquency.click_peizhi1_1() time.sleep(1) frenquency.click_peizhi1_13() frenquency.click_peizhi1_2() time.sleep(1) frenquency.click_peizhi1_23() frenquency.type_peizhi1_3('1') time.sleep(1) frenquency.click_shuchu1() frenquency.compair_ziduan1('卡口2') time.sleep(1) frenquency.click_ziduan1() frenquency.click_shuchu_1() frenquency.click_run() BasePage.no_warning_text(self) frenquency.click_close_result()