示例#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);
        }
示例#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);
        }