コード例 #1
0
 public void DeleteLead(String LeadFirstname, String LeadLastname) {
   new Leadlib().ModifyLead(LeadFirstname, LeadLastname);
   wclib.waitForPageToLoad();
   com.getMorebtn().click();
   lead.getLeadDeleteLink().click();
   com.getConfirmationpopup().click();
   wclib.waitForElemnetXpathPresent("//div[@class='listViewEntriesDiv contents-bottomscroll']");
 }
コード例 #2
0
  public void CreateLead(String LeadLastName) {

    com.getAlldropdownlink().click();
    wclib.waitForElemnetXpathPresent("//div[@class='dropdown-menu moreMenus']");
    home.getLeadlink().click();
    wclib.waitForPageToLoad();
    lead.getLeadAddbtn().click();
    wclib.waitForPageToLoad();
    lead.getLeadLastNameEdt().sendKeys(LeadLastName);
    com.getSavebtn().click();
  }