コード例 #1
0
        public void ICreateANewMenu()
        {
            var header     = new Header(user.Instance());
            var createMenu = new CreateForm(user.Instance());

            header.Click(header.createMenu);
            createMenu.Displayed(createMenu.name).ShouldBeTrue();

            createMenu.TypeText(createMenu.name, "Selenium Menu");
            createMenu.TypeText(createMenu.description, "Generated by .NET Selenium Framework");
            createMenu.Select(createMenu.active);
            createMenu.Click(createMenu.save);
        }