/// <summary> /// Deprecates the clinical trial unit. /// </summary> /// <returns>System.String.</returns> public string DeprecateClinicalTrialUnit() { CTUSearch.SendKeys(cName); PageHelper.WaitForElement(Driver, EditCTU).Click(); Deprecated.Click(); SaveCTUButton.Click(); BackToListButton.Click(); return(cName); }
/// <summary> /// Searches and edit the ctu. /// </summary> public void SearchAndEditTheCTU() { CTUSearch.SendKeys(cName); PageHelper.WaitForElement(Driver, EditCTU).Click(); Description.Clear(); Description.SendKeys("Edited CTU details"); SaveCTUButton.Click(); BackToListButton.Click(); }
/// <summary> /// Searches and verify the edited ctu. /// </summary> public void SearchAndVerifyTheEditedCTU() { CTUSearch.SendKeys(cName); CTUSearchResult_Description.Text.Should().BeEquivalentTo("Edited CTU details"); }
/// <summary> /// Searches and verify the created ctu. /// </summary> public void SearchAndVerifyTheCreatedCTU() { CTUSearch.SendKeys(cName); CTUSearchResult_Name.Text.Should().BeEquivalentTo(cName); }