Пример #1
0
 def test_common_1a(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model1()
     relation.click_run()
     BasePage.warning_text(self)
Пример #2
0
 def test_common_2a(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_run()
     BasePage.no_warning_text(self)
     relation.click_close_result()
Пример #3
0
 def test_common_2e(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_jishuanzujian1()
     relation.click_shuchu1()
     relation.click_choose_lla1()
     relation.click_chehui_1()
     time.sleep(1)
     relation.click_run()
     BasePage.warning_text(self)
Пример #4
0
 def test_common_2d2(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_jishuanzujian1()
     relation.click_peizhi1()
     relation.click_peizhi1_1()
     relation.click_peizhi1_12()
     relation.click_shuchu1()
     relation.compair_ziduan1('旅客_姓名2')
     BasePage.get_windows_img(self)
     time.sleep(1)
     relation.click_run()
     BasePage.warning_text(self)
Пример #5
0
 def test_common_2h(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_shujuyuan2()
     relation.click_shuchu2()
     relation.click_choose_lla2()
     time.sleep(1)
     relation.click_chehui_2()
     time.sleep(1)
     relation.click_shujuyuan2()
     relation.click_jishuanzujian1()
     relation.click_shuchu1()
     relation.click_peizhi1()
     BasePage.get_windows_img(self)
     relation.click_run()
     BasePage.warning_text(self)