Exemplo n.º 1
0
        public void EnterNewPatientForm()
        {
            CreateNewForm.ClickOn();
            IWebElement formList = Browser.Driver.FindElement(By.Id("nmuCreateNewForm"));

            formList.FindElements(By.TagName("li")).ElementAt(0).ClickOn();
            softAssert.VerifyElementIsPresent(FormName);
        }
Exemplo n.º 2
0
        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);
        }