Ejemplo n.º 1
0
    def test10_deposit_visa_cash(self):

        SelectDeposit_obj = PlayerDetails(self.driver)
        SelectDeposit_obj.depositoption() #Navigate to cash deposit page

        VISADeposit_obj = DepositCash(self.driver)
        VISADeposit_obj.visaaccounttype() #Add or Select account depending on whether a initial deposit was made before of not
    def test10_player_search(self):

        WATHomePage_obj = WATHomePage(self.driver)

        WATHomePage_obj.playersearchbyid() # Find Player

        time.sleep(2)

        #Verify the player's details
        PlayerValues = PlayerDetails(self.driver) 
        self.assertEquals(PlayerValues.player_id(), Key.sPlayerId)
        self.assertEquals(PlayerValues.player_biz(), Key.sBiz)
    def test10_deposit_neteller_cash(self):

        SelectDeposit_obj = PlayerDetails(self.driver)
        SelectDeposit_obj.depositoption() #Navigate to cash deposit page

        NetellerDeposit_obj = DepositCash(self.driver)
        NetellerDeposit_obj.netelleraccounttype() #Add or Select account depending on whether a initial deposit was made before of not

        self.assertEquals(NetellerDeposit_obj.confirmdepositvalues()[0], "$%s.00" % Key.iDepositAmount) #Verify deposit confirmation dollar amount
        self.assertEquals(NetellerDeposit_obj.confirmdepositvalues()[1], Key.sDepositReason) #Verify deposit confirmation reason
        self.assertEquals(NetellerDeposit_obj.confirmdepositvalues()[2], Key.sNote) #Verify deposit confirmation note value

        NetellerDeposit_obj.submitconfirmdeposit() #Submit Neteller deposit

        time.sleep(3)

        self.assertEquals(NetellerDeposit_obj.deposit_created(), Key.sDeposit_created) #Verify deposit was submitted