public void EnterNewPatientForm() { CreateNewForm.ClickOn(); IWebElement formList = Browser.Driver.FindElement(By.Id("nmuCreateNewForm")); formList.FindElements(By.TagName("li")).ElementAt(0).ClickOn(); softAssert.VerifyElementIsPresent(FormName); }
public void CreateNewInteractiveForm() { CreateNewForm.ClickOn(); IWebElement formList = Browser.Driver.FindElement(By.Id("nmuCreateNewForm")); formList.FindElements(By.TagName("li")).ElementAt(1).SendKeys(Constant.fileForTest); Thread.Sleep(500); softAssert.VerifyElementIsPresent(FormName); }