Ejemplo n.º 1
0
        public void SubmitMod(string user, string password)
        {
            ActivitiesNav.LnkSubmit.Click();
            var submitModPopup = new SubmitRNIPopup(this.GetStudyID(), "Submit");

            submitModPopup.SwitchTo();
            submitModPopup.BtnOk.Click();
            submitModPopup.ConfirmCredentials(user, password);
            submitModPopup.SwitchBackToParent();
            //Wait.Until(h => new Link(By.LinkText("Submitted")).Exists);
            Wait.Until(h => ProjectLogHistory.VerifyFirstRowLink("Submitted") == true);
        }
 public void SubmitRNI(string user, string password)
 {
     ActivitiesNav.LnkSubmitRNI.Click();
     var submitRniPopup = new SubmitRNIPopup(this.GetStudyID(), "Submit RNI");
     submitRniPopup.SwitchTo();
     submitRniPopup.BtnOk.Click();
     submitRniPopup.ConfirmCredentials(user, password);
     // need to switch back to default content
     submitRniPopup.SwitchBackToParent();
     //Wait.Until(h => new Link(By.LinkText("RNI Submitted")).Exists);
     Wait.Until(h => ProjectLogHistory.VerifyFirstRowLink("RNI Submitted") == true);
 }