Exemplo n.º 1
0
 def test_car_1a(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model1()
     car.click_run()
     BasePage.warning_text(self)
Exemplo n.º 2
0
 def test_car_2a(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model2()
     car.click_run()
     BasePage.no_warning_text(self)
     BasePage.click_close_result(self)
Exemplo n.º 3
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)
Exemplo n.º 4
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)
Exemplo n.º 5
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)
Exemplo n.º 6
0
 def test_car_2b(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model2()
     car.click_jishuanzujian1()
     car.click_preview1()
     car.click_preview1now()
     BasePage.no_warning_text(self)
     BasePage.click_close_result(self)
Exemplo n.º 7
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)
Exemplo n.º 8
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)
Exemplo n.º 9
0
 def test_car_2e(self):
     car = Car(self.driver)
     car.click_model()
     car.click_public_model()
     car.double_model2()
     car.click_jishuanzujian1()
     car.click_peizhi1()
     car.click_peizhi1_7()
     car.click_peizhi1_71()
     car.click_run()
     BasePage.no_warning_text(self)
     BasePage.zero_text(self)