Esempio n. 1
0
        public void Tc_OrgType_001()
        {
            testStarts("Tc_OrgType_001", "Verify by creating the organization type successfully");
            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);
        }
Esempio n. 2
0
        public void Tc_OrgType_003()
        {
            testStarts("Tc_OrgType_003", "Verify by Deleting 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);
            OrganizationPage.DeleteOrgType(OrgType);
        }