Exemple #1
0
        public void DragElementText()
        {
            var droppablePage = new DropablePage(this.driver);

            droppablePage.DragAndDrop();
            droppablePage.AssertTargetAttributeText("Dropped!");
        }
Exemple #2
0
        public void DisplayDropElement()
        {
            var droppablePage = new DropablePage(this.driver);

            driver.Navigate().GoToUrl(droppablePage.URL);
            droppablePage.AssertDisplayElementsDrop();
        }
Exemple #3
0
        public void DragElement()
        {
            var droppablePage = new DropablePage(this.driver);

            droppablePage.DragAndDrop();
            droppablePage.AssertTargetAttributeValue("ui-widget-header ui-droppable ui-state-highlight");
        }
Exemple #4
0
        public void OnBorderElement()
        {
            var droppablePage = new DropablePage(this.driver);

            driver.Navigate().GoToUrl(droppablePage.URL);
            droppablePage.DragAndDropOnBorder(68, 100);
            droppablePage.AssertTargetAttributeText("Drop here");
        }