def test_Direct_alter_nu_case(self):
     """验证确认投注页面,点击选择号码进行修改"""
     ha = HomePage(self.driver)
     hb = There_D_choosenumber(self.driver)
     hb1 = ArrangeFiveChooseNumber(self.driver)
     hb2 = UnionLottoChooseNumber(self.driver)
     hc = ConfirmLottery(self.driver)
     hd = ArrangeFiveConfirmLottery(self.driver)
     hl = Login(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.fucai_3D_link()  ###点击3D
     hb.Play_d()  ###点击玩法
     hb.Play_direct_d()  ###点击直选
     hb2.machine_choose_button()  ###点击机选
     hb2.machine_choose_five_button()  ##点击机选5注
     hd.Note_none(2)
     mur = hd.Test_note_nu()
     self.assertEqual('13', mur)  ####断言注数
     hc.submit_order_to_station_owner_button()  # 点击提交给站主
     hl.new_user_login_tab()  # 点击新登录
     hl.login()  # 输入账号,密码
     hc.submit_order_to_station_owner_button()  # 点击提交给站主
     hc.confirm_and_pay_button()  # 点击确认支付
Ejemplo n.º 2
0
 def test_alter_nu_case(self):
     '''验证点击选择号码进行修改,支付流程'''
     ha = HomePage(self.driver)
     hb = ArrangeFiveChooseNumber(self.driver)
     hb1 = UnionLottoChooseNumber(self.driver)
     hd = ArrangeFiveConfirmLottery(self.driver)
     hc = ConfirmLottery(self.driver)
     hl = Login(self.driver)
     ha.open()
     ######判断是否出现浮层弹框,如果出现浮层点击X,然后执行下一步操作
     ha.Moveable_float_close()
     ha.rank_five_link()  ###点击排列5
     hb1.machine_choose_button()  #####点击机选按钮
     hb1.machine_choose_five_button()  ####点击机选5注
     hd.Note_none(2)
     mur = hd.Test_note_nu()
     self.assertEqual('13', mur)  ####断言注数
     hc.submit_order_to_station_owner_button()  # 点击提交给站主
     hl.new_user_login_tab()  # 点击新登录
     hl.login()  # 输入账号,密码
     hc.submit_order_to_station_owner_button()  # 点击提交给站主
     hc.confirm_and_pay_button()  # 点击确认支付