コード例 #1
0
 /**
  * Clicks on download public key
  *
  * @return path to downloaded public key file
  */
 public String downloadSeamlessEncryptionPublicKey() {
   Element.click(
       testConfig,
       SeamlessEncryptionKeyDownloadButton,
       "Seamless Encryption Public Key Download Button");
   String DownloadPath = System.getProperty("user.home") + "\\Downloads";
   String PublicKeyPath =
       Browser.DesiredFileDownload(testConfig, DownloadPath, "PublicKey").getAbsolutePath();
   return PublicKeyPath;
 }
コード例 #2
0
 public NewResponsePage(Config testConfig) {
   this.testConfig = testConfig;
   PageFactory.initElements(this.testConfig.driver, this);
   Browser.wait(this.testConfig, 5);
 }
コード例 #3
0
 public SystemSettingsPage(Config testConfig) {
   this.testConfig = testConfig;
   PageFactory.initElements(this.testConfig.driver, this);
   Browser.waitForPageLoad(this.testConfig, SaltId);
 }
コード例 #4
0
 /** 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);
 }
コード例 #5
0
 /**
  * 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);
 }
コード例 #6
0
 public IframeCCTab(Config testConfig) {
   this.testConfig = testConfig;
   PageFactory.initElements(this.testConfig.driver, this);
   Browser.waitForPageLoad(this.testConfig, creditCardMakePayment);
 }