コード例 #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_2c(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_jishuanzujian1()
     relation.click_delete1()
     BasePage.get_windows_img(self)
コード例 #3
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()
コード例 #4
0
 def test_common_2g(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_jishuanzujian1()
     relation.click_shuchu1()
     relation.type_search1('房间')
     relation.compair_ziduan1('房间_编号2')
コード例 #5
0
 def test_common_2b(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_jishuanzujian1()
     relation.click_preview1()
     relation.click_preview1now()
     BasePage.no_warning_text(self)
     relation.click_close_result()
コード例 #6
0
 def test_common_2f(self):
     relation = Relation(self.driver)
     relation.click_model()
     relation.click_public_model()
     relation.double_model2()
     relation.click_jishuanzujian1()
     relation.click_shuchu1()
     relation.click_big1()
     BasePage.get_windows_img(self)
     relation.click_small1()
コード例 #7
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)
コード例 #8
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)
コード例 #9
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)