Esempio n. 1
0
        public void ResizeUnlimited()
        {
            _demoQA.ScrollTo(_demoQA.Resizable).Click();
            int expectedWidth  = _demoQA.Box.Size.Width + 100;
            int expectedHeight = _demoQA.Box.Size.Height + 100;

            _demoQA.Scroll(Driver);
            _demoQA.ResizeOffset(_demoQA.ResizeUnlimitedArrow, 100, 100);

            int actualWidth  = _demoQA.Box.Size.Width;
            int actualHeight = _demoQA.Box.Size.Height;

            _demoQA.CheckDimensionsOfResizing(expectedWidth, actualWidth, expectedHeight, actualHeight);
        }
Esempio n. 2
0
        public void sortableFiveGoFirst()
        {
            _demoQA.Scroll(Driver);
            _demoQA.DropOnTarget(_demoQA.FiveListElement, _demoQA.SortableHeadline);
            _demoQA.WaitForLoad();

            string msg = "Five";

            _demoQA.DroppedOnTarget(_demoQA.FirstListElement, msg);
        }