This method is used to get and set the window sizes and find the position of the X and Y co-ordinates of an element.

Syntax :

S.Dimension.GetSize();It returns the dimension of the window. 
S.Dimension.SetSize();It sets the dimension of the window.
S.Dimension.GetXPosition("locator");It returns the X position of the element.
S.Dimension.GetYPosition("locator");It returns the Y position of the element
S.Dimension.Height();It returns the Window Height.
S.Dimension.Width();It returns the Window Width.