public void Can_Apply_Test_Coupon() { UiMap.OpenHomePageOnIE(); UiMap.AddToCartSamsungLN26D450(); UiMap.OpenMyCartPage(); UiMap.ApplyTestCoupon(); UiMap.IsDiscountApplied(); }
public void Can_Create_New_Order() { UiMap.OpenHomePageOnIE(); UiMap.AddToCartSamsungLN26D450(); UiMap.OpenCheckoutPage(); UiMap.CheckoutUsingPaypal(); //if (UiMap.UICheckoutElectronicsSWindow.UIPaywithaPayPalaccounDocument1.UILogInButton.WaitForControlExist(5000) == false) //{ // This shoud work but doesnt! // UiMap.ClickLoginToPaypal(); //} UiMap.LoginToPaypal(); UiMap.UICheckoutElectronicsSWindow.UIReviewyourinformatioDocument.UIContinueButton.WaitForControlExist(5000); UiMap.FinishPaypal(); UiMap.UISuccessInternetExploWindow.UISuccessDocument.UIORDER2014032000000Hyperlink.WaitForControlExist(10000); UiMap.IsOrderTrackingNrValidFormat(); }
public void Can_Add_Samsung_UN19D4003_To_Cart() { UiMap.OpenHomePageOnIE(); UiMap.AddToCartSamsungLN26D450(); UiMap.IsSamsungLN26D450InCart(); }