Ejemplo n.º 1
0
        public void Test1_Verify_Size_Of_ResizableBox_After_Enlargement()
        {
            bool IsResizableBoxRestricted = true;

            _resizablePage.ResizeElementByOffset(200, 50, IsResizableBoxRestricted);

            string expectedSizeOfResizeBox = "width: 500px; height: 249px;";
            string actulaSizeOfResizeBox   = _resizablePage.SizeOfResizeBox(IsResizableBoxRestricted);

            Assert.AreEqual(expectedSizeOfResizeBox, actulaSizeOfResizeBox,
                            "The resize box sizes are not equal");
        }