예제 #1
0
    def test_credit_card_transaction_with_existing_member(self):
        driver = self.driver
        h = HomeMobile(driver, "http://richard.ourdeal.com.au/deal/nifty-spot-adaptor-for-an-iphone-5-delivered")
        paymentMobile = h.clickBuy()

        paymentMobile.login()
        paymentMobile.enterPhone()
        # paymentMobile.agreeTC()
        paymentMobile.clickCheckOutWithCreditCard()
예제 #2
0
 def xtest_discount_code(self):
     driver = self.driver
     h = HomeMobile(driver,"http://richard.ourdeal.com.au/deal/parcfitness-3-month-gym-membership-bellevue-hill-rose-bay-and-gymtime-balgowlah-locations-feb")
     paymentMobile = h.clickBuy()
     
     paymentMobile.login()
     paymentMobile.selectQuantity(3)
     paymentMobile.enterDealerLocation()
     paymentMobile.applyDiscountCode()
예제 #3
0
 def xtest_credit_card_transaction_with_existing_member(self):
     driver = self.driver
     h = HomeMobile(driver,"http://richard.ourdeal.com.au/deal/parcfitness-3-month-gym-membership-bellevue-hill-rose-bay-and-gymtime-balgowlah-locations-feb")
     paymentMobile = h.clickBuy()
     
     paymentMobile.login()
     paymentMobile.selectQuantity(2)
     paymentMobile.enterDealerLocation()
     paymentMobile.applyCredit()
예제 #4
0
 def xtest_discount_code_plus_credit(self):
     driver = self.driver
     h = HomeMobile(driver,"http://richard.ourdeal.com.au/deal/nifty-spot-in-car-iphone--to-stereo-transmitter")
     paymentMobile = h.clickBuy()
     
     paymentMobile.login()
     paymentMobile.selectQuantity(5)
     paymentMobile.enterShippingDetails()
     paymentMobile.enterDealerLocation()
     paymentMobile.enterCustomData()
     paymentMobile.tickOptInText(0)
     #paymentMobile.applyDiscountCode()
     #paymentMobile.applyCredit()
     paymentMobile.enterPhone()
     payFlowPage = paymentMobile.clickCheckOutWithCreditCard()
     payFlowPage.enterCreditCardDetail()