Example #1
0
 def test_car_2c(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model2()
     car.click_jishuanzujian1()
     car.click_delete1()
     BasePage.get_windows_img(self)
 def test_common_2c(self):
     different = Different(self.driver)
     different.click_model()
     different.click_public_model()
     different.double_model2()
     different.click_jishuanzujian1()
     different.click_delete1()
     BasePage.get_windows_img(self)
Example #3
0
 def test_wifi_2c(self):
     wifi = Wifi(self.driver)
     wifi.click_model()
     wifi.click_public_model()
     wifi.double_model2()
     wifi.click_jishuanzujian1()
     wifi.click_delete1()
     BasePage.get_windows_img(self)
 def test_group_1c(self):
     group = Group(self.driver)
     group.click_model()
     group.click_public_model()
     group.double_model1()
     group.click_jishuanzujian1()
     group.click_delete1()
     BasePage.get_windows_img(self)
Example #5
0
 def test_frenquency_1c(self):
     frenquency = Frenquency(self.driver)
     frenquency.click_model()
     frenquency.click_public_model()
     frenquency.double_model1()
     frenquency.click_jishuanzujian1()
     frenquency.click_delete1()
     BasePage.get_windows_img(self)
Example #6
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)
 def test_common_1c(self):
     filter = Filter(self.driver)
     filter.click_model()
     filter.click_public_model()
     filter.double_model1()
     filter.click_jishuanzujian1()
     filter.click_delete1()
     BasePage.get_windows_img(self)
 def test_condition_2c(self):
     condition = Condition(self.driver)
     condition.click_model()
     condition.click_public_model()
     condition.double_model2()
     condition.click_jishuanzujian1()
     condition.click_delete1()
     BasePage.get_windows_img(self)
 def test_combine_2c(self):
     combine = Combine(self.driver)
     combine.click_model()
     combine.click_public_model()
     combine.double_model2()
     combine.click_jishuanzujian1()
     combine.click_delete1()
     BasePage.get_windows_img(self)
Example #10
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()
 def test_common_1f(self):
     filter = Filter(self.driver)
     filter.click_model()
     filter.click_public_model()
     filter.double_model1()
     filter.click_jishuanzujian1()
     filter.click_shuchu1()
     filter.click_big1()
     BasePage.get_windows_img(self)
     filter.click_small1()
 def test_condition_2g(self):
     condition = Condition(self.driver)
     condition.click_model()
     condition.click_public_model()
     condition.double_model2()
     condition.click_jishuanzujian1()
     condition.click_shuchu1()
     condition.click_big1()
     BasePage.get_windows_img(self)
     condition.click_small1()
 def test_group_1f(self):
     group = Group(self.driver)
     group.click_model()
     group.click_public_model()
     group.double_model1()
     group.click_jishuanzujian1()
     group.click_shuchu1()
     group.click_big1()
     BasePage.get_windows_img(self)
     group.click_small1()
 def test_common_2f(self):
     different = Different(self.driver)
     different.click_model()
     different.click_public_model()
     different.double_model2()
     different.click_jishuanzujian1()
     different.click_shuchu1()
     different.click_big1()
     BasePage.get_windows_img(self)
     different.click_small1()
Example #15
0
 def test_frenquency_1f(self):
     frenquency = Frenquency(self.driver)
     frenquency.click_model()
     frenquency.click_public_model()
     frenquency.double_model1()
     frenquency.click_jishuanzujian1()
     frenquency.click_shuchu1()
     frenquency.click_big1()
     BasePage.get_windows_img(self)
     frenquency.click_small1()
 def test_combine_1b2(self):
     combine = Combine(self.driver)
     combine.click_model()
     combine.click_public_model()
     combine.double_model4()
     combine.click_jishuanzujian5()
     combine.click_peizhi5()
     combine.click_ziduan5_1()
     combine.click_chehui_5()
     combine.click_jishuanzujian1()
     combine.click_peizhi1()
     BasePage.get_windows_img(self)
Example #17
0
 def test_car_2d1(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model2()
     car.click_jishuanzujian1()
     car.click_peizhi1()
     car.click_peizhi1_1()
     car.click_peizhi1_11()
     BasePage.get_windows_img(self)
     car.click_run()
     BasePage.warning_text(self)
Example #18
0
 def test_wifi_2d2(self):
     wifi = Wifi(self.driver)
     wifi.click_model()
     wifi.click_public_model()
     wifi.double_model2()
     wifi.click_jishuanzujian1()
     wifi.click_peizhi1()
     wifi.click_peizhi1_4()
     wifi.click_peizhi1_41()
     BasePage.get_windows_img(self)
     wifi.click_run()
     BasePage.no_warning_text(self)
Example #19
0
 def test_wifi_2f(self):
     wifi = Wifi(self.driver)
     wifi.click_model()
     wifi.click_public_model()
     wifi.double_model2()
     wifi.click_shujuyuan2()
     wifi.click_shuchu2()
     wifi.click_choose_lla2()
     wifi.click_chehui_2()
     wifi.click_peizhi1()
     BasePage.get_windows_img(self)
     wifi.click_run()
     BasePage.warning_text(self)
 def test_combine_2d(self):
     combine = Combine(self.driver)
     combine.click_model()
     combine.click_public_model()
     combine.double_model2()
     combine.click_jishuanzujian1()
     combine.click_peizhi1()
     combine.click_ziduan1()
     combine.click_shuchu_1()
     BasePage.get_windows_img(self)
     combine.click_run()
     BasePage.no_warning_text(self)
     BasePage.click_close_result(self)
 def test_condition_1b2(self):
     condition = Condition(self.driver)
     condition.click_model()
     condition.click_public_model()
     condition.double_model3()
     condition.click_jishuanzujian1()
     condition.click_peizhi1()
     condition.click_peizhi1_4()
     condition.click_peizhi1_42()
     condition.click_run()
     BasePage.no_warning_text(self)
     BasePage.click_close_result(self)
     BasePage.get_windows_img(self)
Example #22
0
 def test_car_2f(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model2()
     car.click_shujuyuan2()
     car.click_shuchu2()
     car.click_choose_lla2()
     car.click_chehui_2()
     car.click_peizhi1()
     BasePage.get_windows_img(self)
     car.click_run()
     BasePage.get_warning_img(self)
Example #23
0
 def test_car_2d3(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model2()
     car.click_jishuanzujian1()
     car.click_peizhi1()
     car.type_peizhi1_6('1')
     time.sleep(1)
     BasePage.get_windows_img(self)
     car.click_run()
     BasePage.no_warning_text(self)
     BasePage.click_close_result(self)
 def test_common_1b2(self):
     different = Different(self.driver)
     different.click_model()
     different.click_public_model()
     different.double_model3()
     time.sleep(1)
     different.click_jishuanzujian5()
     different.click_peizhi5()
     different.click_peizhi5_1()
     different.click_peizhi5_12()
     different.click_jishuanzujian1()
     different.click_shuchu1()
     different.click_peizhi1()
     different.click_peizhi1_2()
     BasePage.get_windows_img(self)
Example #25
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)
 def test_group_1h2(self):
     group = Group(self.driver)
     group.click_model()
     group.click_public_model()
     group.double_model2()
     group.click_jishuanzujian1()
     group.click_shuchu1()
     group.click_shuchu_1()
     group.click_ziduan_1()
     group.click_chehui_1()
     group.click_jishuanzhujian3()
     group.click_shuchu3()
     group.click_peizhi3()
     BasePage.get_windows_img(self)
     group.click_run()
     BasePage.warning_text(self)
 def test_common_1i(self):
     filter = Filter(self.driver)
     filter.click_model()
     filter.click_public_model()
     filter.double_model1()
     filter.click_shujuyuan2()
     filter.click_shuchu2()
     filter.click_choose_lla2()
     filter.click_chehui_2()
     time.sleep(1)
     filter.click_jishuanzujian1()
     filter.click_shuchu1()
     filter.click_peizhi1()
     BasePage.get_windows_img(self)
     filter.click_run()
     BasePage.warning_text(self)
Example #28
0
 def test_common_2h(self):
     component = Component(self.driver)
     component.click_model()
     component.click_public_model()
     component.double_model1()
     component.click_shujuyuan2()
     component.click_shuchu2()
     component.click_choose_lla2()
     component.click_chehui_2()
     component.click_shujuyuan2()
     component.click_jishuanzujian1()
     component.click_shuchu1()
     component.click_peizhi1()
     BasePage.get_windows_img(self)
     component.click_run()
     BasePage.warning_text(self)
Example #29
0
 def test_car_2g2(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model3()
     car.click_jishuanzujian1()
     car.click_peizhi1()
     car.click_peizhi1_7()
     car.click_peizhi1_71()
     car.click_jishuanzujian5()
     car.click_peizhi5()
     car.click_shuchu5()
     car.compair_ziduan4_1('旅客_姓名2_1')
     BasePage.get_windows_img(self)
     car.click_run()
     BasePage.zero_text(self)
Example #30
0
 def test_frenquency_1i(self):
     frenquency = Frenquency(self.driver)
     frenquency.click_model()
     frenquency.click_public_model()
     frenquency.double_model1()
     frenquency.click_shujuyuan2()
     frenquency.click_shuchu2()
     frenquency.click_choose_lla2()
     frenquency.click_chehui_2()
     time.sleep(1)
     frenquency.click_jishuanzujian1()
     frenquency.click_shuchu1()
     frenquency.click_peizhi1()
     BasePage.get_windows_img(self)
     frenquency.click_run()
     BasePage.warning_text(self)