예제 #1
0
        public void SubmitRNIDesignatedReview(params SubmitDesignatedRNIReviewPopup.Determinations[] determinations)
        {
            ActivitiesNav.LnkSubmitRNIDesignatedReview.Click();
            var submitRNIDesignatedReview = new SubmitDesignatedRNIReviewPopup(this.GetStudyID(), "Submit RNI Designated Review");

            submitRNIDesignatedReview.SwitchTo();
            foreach (SubmitDesignatedRNIReviewPopup.Determinations det in determinations)
            {
                submitRNIDesignatedReview.SelectDetermination(det);
            }
            if (!submitRNIDesignatedReview.ChkConflictingInterest.Checked)
            {
                submitRNIDesignatedReview.ChkConflictingInterest.Click();
            }
            submitRNIDesignatedReview.RdoSubmitReviewYes.Click();
            submitRNIDesignatedReview.BtnOk.Click();
            submitRNIDesignatedReview.SwitchBackToParent();
            //Wait.Until(h => new Link(By.LinkText("RNI Designated Review Submitted")).Exists);
            Wait.Until(h => ProjectLogHistory.VerifyFirstRowLink("RNI Designated Review Submitted") == true);
        }
 public void SubmitRNIDesignatedReview(params SubmitDesignatedRNIReviewPopup.Determinations[] determinations)
 {
     ActivitiesNav.LnkSubmitRNIDesignatedReview.Click();
     var submitRNIDesignatedReview = new SubmitDesignatedRNIReviewPopup(this.GetStudyID(), "Submit RNI Designated Review");
     submitRNIDesignatedReview.SwitchTo();
     foreach (SubmitDesignatedRNIReviewPopup.Determinations det in determinations)
     {
         submitRNIDesignatedReview.SelectDetermination(det);
     }
     if (!submitRNIDesignatedReview.ChkConflictingInterest.Checked)
     {
         submitRNIDesignatedReview.ChkConflictingInterest.Click();
     }
     submitRNIDesignatedReview.RdoSubmitReviewYes.Click();
     submitRNIDesignatedReview.BtnOk.Click();
     submitRNIDesignatedReview.SwitchBackToParent();
     //Wait.Until(h => new Link(By.LinkText("RNI Designated Review Submitted")).Exists);
     Wait.Until(h => ProjectLogHistory.VerifyFirstRowLink("RNI Designated Review Submitted") == true);
 }