Пример #1
0
 /// <summary>
 /// Verifies and classify the trial.
 /// </summary>
 /// <param name="contextTrialTitle">The context trial title.</param>
 public void VerifyAndClassifyTheTrial(string contextTrialTitle)
 {
     Query.Clear();
     Query.SendKeys(contextTrialTitle);
     PageHelper.WaitForElement(Driver, SearchButton).Click();
     PageHelper.WaitForElement(Driver, Load_DataTable);
     EditTrials.Click();
     Verified.Click();
     VerifyComment.SendKeys("Verified by Automated Regression Test");
     ClassifyTheTrial();
 }
Пример #2
0
 /// <summary>
 /// Reviews the trial.
 /// </summary>
 public void ReviewTheTrial()
 {
     VerifyInReview.Click();
     VerifyComment.SendKeys("Reviewed by Automated Regression Test");
     SaveVerifyButton.Click();
 }
Пример #3
0
 /// <summary>
 /// Rejects the trial.
 /// </summary>
 public void RejectTheTrial()
 {
     Rejected.Click();
     VerifyComment.SendKeys("Rejected by Automated Regression Test");
     SaveVerifyButton.Click();
 }