コード例 #1
0
 /**
  * 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");
 }
コード例 #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;
  }