/**
  * Verifies presence of following elements Saltid,Change Alias button, Seamless Encryption Public
  * Key Download Button Store Card Public Key Upload Button
  */
 public void verifyUIElementsDisplayed() {
   Element.verifyElementPresent(testConfig, SaltId, "Salt ID");
   Element.verifyElementPresent(testConfig, LoginAlias, "Login Alias");
   Element.verifyElementPresent(testConfig, ChangeAliasButton, "Change Alias Button");
   Element.verifyElementPresent(
       testConfig,
       SeamlessEncryptionKeyDownloadButton,
       "Seamless Encryption Public Key Download Button");
   Element.verifyElementPresent(
       testConfig, StoreCardPublicKeyUploadButton, "Store Card Public Key Upload Button");
 }
Ejemplo n.º 2
0
  public String SelectRule() {

    // select_box = Element.getPageElement(testConfig, How.xPath, "//tbody/tr[4]/td[5]/input");
    Element.click(testConfig, selectBox, "Clicking Active Checkbox");
    Element.click(testConfig, select_button, "Selecting a Rule");
    Element.verifyElementPresent(testConfig, rule_id, "Get Rule ID");
    String ruleid = rule_id.getText().toString();
    return ruleid;
  }