public void OpenEditConfirmationEmail(RegOnline.RegressionTest.Managers.Emails.EmailManager.EmailCategory category) { switch (category) { case RegOnline.RegressionTest.Managers.Emails.EmailManager.EmailCategory.Complete: UIUtil.DefaultProvider.WaitForDisplayAndClick(Locator.CompleteConfirmationToRegistrant, LocateBy.XPath); break; case RegOnline.RegressionTest.Managers.Emails.EmailManager.EmailCategory.Incomplete: UIUtil.DefaultProvider.WaitForDisplayAndClick(Locator.IncompleteNotificationToCustomer, LocateBy.XPath); break; case RegOnline.RegressionTest.Managers.Emails.EmailManager.EmailCategory.Update: UIUtil.DefaultProvider.WaitForDisplayAndClick(Locator.UpdateConfirmationToRegistrant, LocateBy.XPath); break; case RegOnline.RegressionTest.Managers.Emails.EmailManager.EmailCategory.Substitute: UIUtil.DefaultProvider.WaitForDisplayAndClick(Locator.SubstituteConfirmationToRegistrant, LocateBy.XPath); break; case RegOnline.RegressionTest.Managers.Emails.EmailManager.EmailCategory.Cancel: UIUtil.DefaultProvider.WaitForDisplayAndClick(Locator.CancelConfirmationToRegistrant, LocateBy.XPath); break; default: break; } Utility.ThreadSleep(1); UIUtil.DefaultProvider.SelectPopUpFrameByName(Locator.EmailRADWindowId); }
public void VerifyPaymentMethod(RegOnline.RegressionTest.Managers.Builder.PaymentMethodManager.PaymentMethod paymentMethod) { VerifyTool.VerifyValue(StringEnum.GetStringValue(paymentMethod), UIUtil.DefaultProvider.GetText("tdPaymentMethod", LocateBy.Id), "Payment method: {0}"); }