示例#1
0
        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);
        }
示例#2
0
        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);
        }
示例#3
0
        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);
        }