public SystemSettingsPage(Config testConfig) {
   this.testConfig = testConfig;
   PageFactory.initElements(this.testConfig.driver, this);
   Browser.waitForPageLoad(this.testConfig, SaltId);
 }
 /**
  * Verifies Notification text displayed on the top of page
  *
  * @param NotificationText
  */
 public void verifyNotificationText(String NotificationText) {
   Browser.waitForPageLoad(testConfig, AlertNotification);
   Helper.compareEquals(
       testConfig, "Alert Notification", NotificationText, AlertNotification.getText());
   Browser.wait(testConfig, 10);
 }
 /** Clicks on Store Card Public Key Button Waits for browse file form */
 public void clickOnUploadStorecardButton() {
   Element.click(testConfig, StoreCardPublicKeyUploadButton, "Store Card Public Key Button");
   Browser.waitForPageLoad(testConfig, browseFileForm);
 }
Пример #4
0
 public IframeCCTab(Config testConfig) {
   this.testConfig = testConfig;
   PageFactory.initElements(this.testConfig.driver, this);
   Browser.waitForPageLoad(this.testConfig, creditCardMakePayment);
 }