コード例 #1
0
        public void GivenThereAreNames(String p0)
        {
            FormPage page = new FormPage(driver);

            page.fillInputField(p0);
            page.clickSubmit();
        }
コード例 #2
0
        public void ISeeOneInputandSubmitButton()
        {
            FormPage page = new FormPage(driver);

            NUnit.Framework.Assert.AreEqual(page.getFormInputTag("input"), "input");
            NUnit.Framework.Assert.AreEqual(page.getFormInputTag("submit"), "button");
            NUnit.Framework.Assert.AreEqual(page.getFormInputTag("formSubmitButtonTypeAttribute"), "submit");
        }