Exemple #1
0
 //Shows error message when the purchase amount is less than the specified limit for tax refund.
 public void LowPurchaseAmount()
 {
     GBPage.GoTo();
     GBPage.PurchaseCountry();
     GBPage.PurchaseAmount("50");
     GBPage.Calculate();
     Assert.IsTrue(GBPage.InvalidMessage() == "You will need to spend at least EUR75.01 to qualify for a tax refund.");
 }
Exemple #2
0
 //Empty Purchase Amount
 public void NoPurchaseAmount()
 {
     GBPage.GoTo();
     GBPage.PurchaseCountry();
     GBPage.Calculate();
     GBPage.InvalidMessage();
     Assert.IsTrue(GBPage.InvalidMessage() == "Your input is not a valid number. Please try again.");
 }