public void SelectOrganization(Organization.OrganizationLevelEnum organizationLevelEnum,
                                       Organization.OrganizationTypeEnum organizationTypeEnum)
        {
            //Search and Select the Organization
            Logger.LogMethodEntry("CommonSteps", "SelectOrganization",
                                  IsTakeScreenShotDuringEntryExit);
            //Fetch Organization Name From Memory
            Organization organizationLevel = Organization.Get(
                organizationLevelEnum, organizationTypeEnum);
            //Created Class Object
            OrganizationManagementPage organizationManagementPage = new OrganizationManagementPage();

            //Search the Organization
            organizationManagementPage.SearchOrganization(organizationLevel.Name);
            //Click on Organization Button
            organizationManagementPage.SelectOrganization(organizationLevelEnum);
            Logger.LogMethodExit("CommonSteps", "SelectOrganization",
                                 IsTakeScreenShotDuringEntryExit);
        }
Ejemplo n.º 2
0
        public void SelectOrganization(
            Organization.OrganizationLevelEnum organizationLevelEnum,
            Organization.OrganizationTypeEnum organizationTypeEnum)
        {
            //Search and Select the Organization
            Logger.LogMethodEntry("UserEnrollment", "SearchandSelectOrganization",
                                  IsTakeScreenShotDuringEntryExit);
            //Fetch Organization Name From Memory
            Organization organization = Organization.Get(
                organizationLevelEnum, organizationTypeEnum);

            //Click On Organization Admin Tab
            new AdminToolPage().ClickOnOrganizationAdminTab();
            //Created Class Object
            OrganizationManagementPage organizationManagementPage =
                new OrganizationManagementPage();

            //Search the Organization
            organizationManagementPage.SearchOrganization(organization.Name);
            //Click on Organization Button
            organizationManagementPage.SelectOrganization(organizationLevelEnum);
            Logger.LogMethodExit("UserEnrollment", "SearchandSelectOrganization",
                                 IsTakeScreenShotDuringEntryExit);
        }