예제 #1
0
        public void Delete_Criteria_without_policy()
        {
            //Login
            //Insert a Criteria into database
            Guid   criteriaId          = Guid.NewGuid();
            string criteriaName        = CoreQueries.GetColumnUniqueString("AdmissionsCriteria", "Name", 10, tenantID);
            string criteriaDescription = CoreQueries.GetColumnUniqueString("AdmissionsCriteria", "Description", 10, tenantID);

            using (new DataSetup(GetCriteriaRecord(criteriaId, criteriaName, criteriaDescription)))
            {
                //Act
                Navigate_To_Criteria();
                CriteriaDetails criteriadetails = new CriteriaDetails();
                criteriadetails.SearchByName(criteriaName);
                criteriadetails.ClickDeleteButton();
            }
        }
예제 #2
0
        public void Search_Criteria_ByName()
        {
            //Insert a Criteria into database
            Guid   criteriaId          = Guid.NewGuid();
            string criteriaName        = CoreQueries.GetColumnUniqueString("AdmissionsCriteria", "Name", 10, tenantID);
            string criteriaDescription = CoreQueries.GetColumnUniqueString("AdmissionsCriteria", "Description", 10, tenantID);

            using (new DataSetup(GetCriteriaRecord(criteriaId, criteriaName, criteriaDescription)))
            {
                //Act
                //Login
                Navigate_To_Criteria();
                CriteriaDetails criteriadetails = new CriteriaDetails();
                criteriadetails.SearchByName(criteriaName);
            }
            //Purge created data
            PurgeLinkedData.DeletAdmissionCriteria(criteriaId);
        }