Exemplo n.º 1
0
 def test_Paypal(self):
     driver = self.driver
     h = Home(driver,"http://richard.ourdeal.com.au/deal/quit-cigarettes-forever-hypnotherapy-session")
     h.removePopup()
     time.sleep(3)
     h.logIn("*****@*****.**","543210")
     paymentPage = h.clickBuy()
     paymentPage.enterShippingDetails()
     paymentPage.enterPhone()
     paymentPage.enterDealerLocation()
     paymentPage.enterCustomData()
     payPalPage = paymentPage.clickCheckOutWithPaypal()
Exemplo n.º 2
0
 def test_Credit_card_transaction_using_OD_Credit(self):
     driver = self.driver
     h = Home(driver,"http://richard.ourdeal.com.au/deal/four-seasons-tennis-school-three-hours-of-group-tennis-lessons")
     h.removePopup()
     time.sleep(3)
     h.logIn("*****@*****.**","543210")
     paymentPage = h.clickBuy()
     paymentPage.applyCredit()
     time.sleep(3)
     paymentPage.enterDealerLocation()
     paymentPage.enterCustomData()
     payFlowPage = paymentPage.clickCheckOutWithCreditCard()
     payFlowPage.enterCreditCardDetail()
Exemplo n.º 3
0
 def test_Credit_card_transaction_and_then_cancelling_payment_on_credit_payment_screen(self):
     
     driver = self.driver
     h = Home(driver,"http://richard.ourdeal.com.au/deal/quit-cigarettes-forever-hypnotherapy-session")
     h.removePopup()
     time.sleep(3)
     #
     h.logIn("*****@*****.**","543210")
     
     paymentPage = h.clickBuy()
     
     payFlowPage = paymentPage.clickCheckOutWithCreditCard()
     payFlowPage.enterCreditCardDetail()
     payFlowPage.cancelPayment()
Exemplo n.º 4
0
 def test_credit_card_transaction_using_Discount_code(self):
     driver = self.driver
     h = Home(driver,"http://richard.ourdeal.com.au/deal/byrontrader-silver-yoga-exercise-ball-with-pump")
     h.removePopup()
     time.sleep(3)
     #
     h.logIn("*****@*****.**","543210")
     
     paymentPage = h.clickBuy()
     paymentPage.applyDiscountCode()
     paymentPage.applyCredit()
     time.sleep(3)
     paymentPage.enterDealerLocation()
     paymentPage.enterCustomData()
     paymentPage.enterPhone()
     payFlowPage = paymentPage.clickCheckOutWithCreditCard()
     payFlowPage.enterCreditCardDetail()