Examples of openDocumentTemplatePage()


Examples of com.motability.document.pageobjects.StartPage.openDocumentTemplatePage()

    private DocumentTemplateListPage listPage;

   @When("^creating a Document Template with name '(.*)'$")
    public void creating_a_Document_Template(String templateName) throws Throwable {
  StartPage startPage = globalScenario.getStartPage();
  DocumentTemplateListPage listPage = startPage.openDocumentTemplatePage();
  assertTrue("The Document Template Listing Page was not properly loaded", listPage.isDisplayed());

  createDocumentTemplate(templateName, listPage);

  assertTrue("Document show page was not displayed", showPage.isDisplayed());
View Full Code Here

Examples of com.motability.document.pageobjects.StartPage.openDocumentTemplatePage()

    }

    @Given("^the following document templates exists:$")
    public void the_following_document_templates_exists(List<DocumentTemplate> templates) throws Throwable {
  StartPage startPage = globalScenario.getStartPage();
  DocumentTemplateListPage listPage = startPage.openDocumentTemplatePage();

  for (DocumentTemplate documentTemplate : templates) {
      createDocumentTemplate(documentTemplate.getTemplateName(), listPage);
  }
    }
View Full Code Here

Examples of com.motability.document.pageobjects.StartPage.openDocumentTemplatePage()

    }

    @Given("^that there exists a document template with name '(.*)'$")
    public void that_there_exists_a_document_template_with_name(String templateName) throws Throwable {
  StartPage startPage = globalScenario.getStartPage();
  DocumentTemplateListPage listPage = startPage.openDocumentTemplatePage();
  createDocumentTemplate(templateName, listPage);
    }

    @When("^updating a document template with name '(.*)' to name '(.*)'$")
    public void updating_a_document_template_with_name_before_to_name_After(String templateBefore, String templateAfter)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.