Example #1
0
        public void SortableDefault()
        {
            startpage.Goto();
            Assert.That(startpage.IsForm(false), Is.False);
            startpage.SelectMenu("Interactions", "Sortable");

            var testpage = new SortablePart(driver);

            testpage.SelectFunctionality("Default");
            testpage.DefaultDragDrop();
            Assert.That(testpage.DefaultVerify(), Is.True);
        } //
Example #2
0
        public void LoginValid()
        {
            var part = new LoginPart(driver);

            Assert.That(part.Navigate(), Is.True);

            if (part.IsForm(true) == true)
            {
                part.OperateForm(Helper.username, Helper.password);
                Assert.That(part.IsForm(false), Is.False);
            }
            else
            {
                Assert.Fail("Problem with login Form");
            }
        } //
Example #3
0
        public void LoginBadPassword()
        {
            var part = new LoginPart(driver);

            Assert.That(part.Navigate(), Is.True);

            if (part.IsForm(true) == true)
            {
                part.OperateForm(Helper.username, "+1234");
                Assert.That(part.IsErrorMessage(), Is.True);
            }
            else
            {
                Assert.Fail("Problem with login Form");
            }
        } //