Beispiel #1
0
        /// <summary>
        /// Shared codebase -- same as SubmitRNICommitteeReview
        /// </summary>
        /// <param name="option"></param>
        public void SelectDetermination(Determinations value)
        {
            string name = "";

            switch (value)
            {
            case Determinations.UnanticipatedProblem: { name = "Unanticipated problem involving risks to subjects or others"; break; }

            case Determinations.SuspensionOrTermination: { name = "Suspension or termination of IRB approval"; break; }

            case Determinations.SeriousNonCompliance: { name = "Serious non-compliance"; break; }

            case Determinations.ContinuingNonCompliance: { name = "Continuing non-compliance"; break; }

            case Determinations.NonComplianceNotSerious: { name = "Non-compliance that is neither serious nor continuing"; break; }

            case Determinations.AllegationOfNonCompliance: { name = "Allegation of non-compliance with no basis in fact"; break; }

            case Determinations.NoneOfTheAbove: { name = "None of the above"; break; }

            case Determinations.AdditionalReviewRequired: { name = "Additional review required"; break; }
            }
            var chkbox = new Checkbox(By.XPath(".//td[text()='" + name + "']/../td/table/tbody/tr/td/input[1]"));

            chkbox.Click();
            Trace.WriteLine("Checking option: " + value);
        }
        public void SelectStudyDeterminations(Determinations value)
        {
            string name = "";

            switch (value)
            {
            case Determinations.Approved: { name = "Approved"; break; }

            case Determinations.ModificationsRequiredToSecureApproved: { name = @"Modifications Required to Secure ""Approved"""; break; }

            case Determinations.NotHumanResearch: { name = "Not Human Research"; break; }

            case Determinations.ModificationsRequiredToSecureNotHumanResearch: { name = @"Modifications Required to Secure ""Not Human Research"""; break; }

            case Determinations.HumanResearchNotEngaged: { name = @"Human Research, Not Engaged"; break; }

            case Determinations.ModificationsRequiredToSecureHumanResearchNotEngaged: { name = @"Modifications Required to Secure ""Human Research, Not Engaged"""; break; }

            case Determinations.Deferred: { name = @"Deferred"; break; }

            case Determinations.Disapproved: { name = @"Disapproved"; break; }
            }
            var rdo = new Radio(By.XPath(".//td[text()='" + name + "']/../td/input[1]"));

            rdo.Click();
            Trace.WriteLine("Checking option: " + value);
        }
 public void SelectStudyDeterminations(Determinations value)
 {
     string name = "";
     switch (value)
     {
         case Determinations.Approved: { name = "Approved"; break; }
         case Determinations.ModificationsRequiredToSecureApproved: { name = @"Modifications Required to Secure ""Approved"""; break; }
         case Determinations.NotHumanResearch: { name = "Not Human Research"; break; }
         case Determinations.ModificationsRequiredToSecureNotHumanResearch: { name = @"Modifications Required to Secure ""Not Human Research"""; break; }
         case Determinations.HumanResearchNotEngaged: { name = @"Human Research, Not Engaged"; break; }
         case Determinations.ModificationsRequiredToSecureHumanResearchNotEngaged: { name = @"Modifications Required to Secure ""Human Research, Not Engaged"""; break; }
         case Determinations.Deferred: { name = @"Deferred"; break; }
         case Determinations.Disapproved: { name = @"Disapproved"; break; }
     }
     var rdo = new Radio(By.XPath(".//td[text()='" + name + "']/../td/input[1]"));
     rdo.Click();
     Trace.WriteLine("Checking option: " + value);
 }
 /// <summary>
 /// 
 /// </summary>
 /// <param name="option"></param>
 public void SelectDetermination(Determinations value)
 {
     string name = "";
     switch (value)
     {
         case Determinations.UnanticipatedProblem: { name = "Unanticipated problem involving risks to subjects or others"; break; }
         case Determinations.SuspensionOrTermination: { name = "Suspension or termination of IRB approval"; break; }
         case Determinations.SeriousNonCompliance: { name = "Serious non-compliance"; break; }
         case Determinations.ContinuingNonCompliance: { name = "Continuing non-compliance"; break; }
         case Determinations.NonComplianceNotSerious: { name = "Non-compliance that is neither serious nor continuing"; break; }
         case Determinations.AllegationOfNonCompliance: { name = "Allegation of non-compliance with no basis in fact"; break; }
         case Determinations.NoneOfTheAbove: { name = "None of the above"; break; }
         case Determinations.AdditionalReviewRequired: { name = "Additional review required"; break; }
     }
     var chkbox = new Checkbox(By.XPath(".//td[text()='" + name + "']/../td/table/tbody/tr/td/input[1]"));
     chkbox.Click();
     Trace.WriteLine("Checking option: " + value);
 }