/// <summary>
        /// Create District level organization
        /// </summary>
        /// <param name="organizationLevelEnum">This is organization level name enum.</param>
        /// <param name="organizationTypeEnum">This is organization level type enum.</param>
        /// <param name="organizationCreationCondition">This is organization level creation condition.</param>
        public void CreateDistrictOrganizationInProductBasedOnLevel(
            Organization.OrganizationLevelEnum
            organizationLevelEnum,
            Organization.OrganizationTypeEnum organizationTypeEnum,
            string organizationCreationCondition)
        {
            //Create Organization Based On Level of Organization
            Logger.LogMethodEntry("CreateOrganizationPage",
                                  "CreateDistrictOrganizationInProductBasedOnLevel",
                                  base.IsTakeScreenShotDuringEntryExit);
            //Guid for Organization Name
            Guid organizationNameGuid = Guid.NewGuid();

            try
            {
                //Created OrganizationPage Object
                CreateOrganizationPage createOrganizationPage
                    = new CreateOrganizationPage();
                //Select Organization Window
                createOrganizationPage.SelectCreateOrganizationWindow();
                //Create New Organization
                createOrganizationPage.CreateNewDistrictOrganizationForDifferentLevels
                    (organizationLevelEnum, organizationTypeEnum);
            }
            catch (Exception e)
            {
                ExceptionHandler.HandleException(e);
            }
            Logger.LogMethodExit("CreateOrganizationPage",
                                 "CreateDistrictOrganizationInProductBasedOnLevel",
                                 base.IsTakeScreenShotDuringEntryExit);
        }
        /// <summary>
        /// Create Organization Based On Level of Organization.
        /// </summary>
        /// <param name="organizationLevelEnum">This is organization Level Enum.</param>
        /// <param name="organizationTypeEnum">This is organization type enum.</param>
        /// <param name="organizationCreationCondition">This is Organization Creation Condition.</param>
        public void CreateOrganizationInProductBasedOnLevel(
            Organization.OrganizationLevelEnum
            organizationLevelEnum,
            Organization.OrganizationTypeEnum organizationTypeEnum,
            string organizationCreationCondition)
        {
            //Create Organization Based On Level of Organization
            Logger.LogMethodEntry("CreateOrganizationPage",
                                  "CreateOrganizationInProductBasedOnLevel",
                                  base.IsTakeScreenShotDuringEntryExit);
            //Guid for Organization Name
            Guid organizationNameGuid = Guid.NewGuid();

            try
            {
                if (organizationCreationCondition == CreateOrganizationPageResource.
                    CreateOrganization_Page_Organization_Creation_Condition_Text)
                {
                    switch (organizationLevelEnum)
                    {   //Create State Level Organization
                    case Organization.OrganizationLevelEnum.State:
                        //Created OrganizationPage Object
                        CreateOrganizationPage createOrganizationPage
                            = new CreateOrganizationPage();
                        //Select Organization Window
                        createOrganizationPage.SelectCreateOrganizationWindow();
                        //Create New Organization
                        createOrganizationPage.CreateNewOrganizationForDifferentLevels
                            (organizationLevelEnum, organizationTypeEnum);
                        break;

                    //Create District and Region Level Organization
                    case Organization.OrganizationLevelEnum.District:
                    case Organization.OrganizationLevelEnum.Region:
                        //Select District Level Organization and Create Region Level Organization
                        this.SelectAndCreateOrganization(organizationLevelEnum, organizationTypeEnum);
                        break;

                    //Create School Level Organization
                    case Organization.OrganizationLevelEnum.School:
                        try
                        {
                            //Select Region Level Organization and Create School level Organization
                            this.SelectAndCreateOrganization(organizationLevelEnum, organizationTypeEnum);
                        }
                        catch
                        {
                            //Click on New Organization Link
                            new OrganizationManagementPage().ClickOnTheCreateNewOrganizationLink();
                            //Create School Level Orgnization
                            this.CreateSchoolLevelOrganization(organizationLevelEnum, organizationTypeEnum);
                        }
                        this.SelectOrganizationManagementWindow();
                        break;

                    //Create School Level Organization
                    case Organization.OrganizationLevelEnum.PowerSchool:
                        //Click on New Organization Link
                        new OrganizationManagementPage().ClickOnTheCreateNewOrganizationLink();
                        //Create School Level Orgnization
                        this.CreateSchoolLevelOrganization(organizationLevelEnum, organizationTypeEnum);
                        //Select Organization Management Window
                        this.SelectOrganizationManagementWindow();
                        break;
                    }
                }
                else
                {
                    switch (organizationLevelEnum)
                    {
                    case Organization.OrganizationLevelEnum.School:
                        this.CreateSchoolLevelOrganization(
                            organizationLevelEnum, organizationTypeEnum, organizationNameGuid);
                        break;
                    }
                }
            }
            catch (Exception e)
            {
                ExceptionHandler.HandleException(e);
            }
            Logger.LogMethodExit("CreateOrganizationPage",
                                 "CreateOrganizationInProductBasedOnLevel",
                                 base.IsTakeScreenShotDuringEntryExit);
        }