コード例 #1
0
        public void Test2_Verify_Size_Of_ResizableBox_After_PageRefresh()
        {
            bool   IsResizableBoxRestricted = false;
            string sizeOfResizableBox       = _resizablePage.SizeOfResizeBox(IsResizableBoxRestricted);

            _resizablePage.ResizeElementByOffset(350, 150, false);

            string sizeOfResizableBoxAfterActions = _resizablePage.SizeOfResizeBox(IsResizableBoxRestricted);

            Assert.AreNotEqual(sizeOfResizableBox, sizeOfResizableBoxAfterActions);

            _resizablePage.RefreshPage();

            string sizeOfResizableBoxAfterPageRefresh = _resizablePage.SizeOfResizeBox(IsResizableBoxRestricted);

            Assert.AreEqual(sizeOfResizableBox, sizeOfResizableBoxAfterPageRefresh);
        }