public void Tc_Org_001() { testStarts("Tc_Org_001", "Verify by creating the organization successfully"); openBrowser(URL); LoginPage.login(UserName, Password); waitForElementToDisplay(OR.Home_Menu_organization, 60); clickOn(OR.Home_Menu_organization); waitForElementToDisplay(OR.OrgType_tab, 60); waitTime(10); String OrgName = OrganizationPage.OrgName; String OrgDesc = OrganizationPage.OrgDes; OrganizationPage.OrganizationCreate(OrgName, OrgDesc); }
public void Tc_OrgType_002() { testStarts("Tc_OrgType_002", "Verify by editing the 'Organization Type'."); openBrowser(URL); LoginPage.login(UserName, Password); waitForElementToDisplay(OR.Home_Menu_organization, 60); clickOn(OR.Home_Menu_organization); waitForElementToDisplay(OR.OrgType_tab, 60); clickOn(OR.OrgType_tab); waitTime(10); String OrgType = OrganizationPage.OrgTypeName; OrganizationPage.CreateOrgType(OrgType); OrganizationPage.EditOrgtype(OrgType); }
public void Tc_Org_003() { testStarts("Tc_Org_003", "Verify by deleting the 'Organizations' ."); openBrowser(URL); LoginPage.login(UserName, Password); waitForElementToDisplay(OR.Home_Menu_organization, 60); clickOn(OR.Home_Menu_organization); waitForElementToDisplay(OR.OrgType_tab, 60); waitTime(10); String OrgName = OrganizationPage.OrgName; String OrgDesc = OrganizationPage.OrgDes; OrganizationPage.OrganizationCreate(OrgName, OrgDesc); OrganizationPage.EditOrganization(OrgName); OrganizationPage.DeleteOrganization(OrgName); }