Click or drag to resize

IWebPage Methods

The IWebPage type exposes the following members.

Methods
  NameDescription
Public methodCallMethodT(String, Object)
Invokes the specified method and returns the result.
(Inherited from IObject.)
Public methodCastT
Casts the interface to an interface of another type.
(Inherited from IObject.)
Public methodClick
Simulates a left-button single click in a window or control.
(Inherited from IControl.)
Public methodClick(Int32, Int32)
Simulates a left-button single click in a window or control.
(Inherited from IControl.)
Public methodClick(Int32, Int32, ShiftKey)
Simulates a left-button single click in a window or control.
(Inherited from IControl.)
Public methodClickM
Simulates a middle-button single click in a window or control.
(Inherited from IControl.)
Public methodClickM(Int32, Int32)
Simulates a middle-button single click in a window or control.
(Inherited from IControl.)
Public methodClickM(Int32, Int32, ShiftKey)
Simulates a middle-button single click in a window or control.
(Inherited from IControl.)
Public methodClickR
Simulates a right-button single click in a window or control.
(Inherited from IControl.)
Public methodClickR(Int32, Int32)
Simulates a right-button single click in a window or control.
(Inherited from IControl.)
Public methodClickR(Int32, Int32, ShiftKey)
Simulates a right-button single click in a window or control.
(Inherited from IControl.)
Public methodClose
Closes the page's tab in the browser.
Public methodDblClick
Simulates a left-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClick(Int32, Int32)
Simulates a left-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClick(Int32, Int32, ShiftKey)
Simulates a left-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickM
Simulates a middle-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickM(Int32, Int32)
Simulates a middle-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickM(Int32, Int32, ShiftKey)
Simulates a middle-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickR
Simulates a right-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickR(Int32, Int32)
Simulates a right-button double click in a window or control.
(Inherited from IControl.)
Public methodDblClickR(Int32, Int32, ShiftKey)
Simulates a right-button double click in a window or control.
(Inherited from IControl.)
Public methodDrag(Int32, Int32, Int32, Int32)
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDrag(Int32, Int32, Int32, Int32, ShiftKey)
Simulates a left-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragM(Int32, Int32, Int32, Int32)
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragM(Int32, Int32, Int32, Int32, ShiftKey)
Simulates a middle-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragR(Int32, Int32, Int32, Int32)
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodDragR(Int32, Int32, Int32, Int32, ShiftKey)
Simulates a right-button mouse drag in a window or control.
(Inherited from IControl.)
Public methodEvaluateXPath
Runs an XPath query and returns the result. The query can select one object, multiple objects, or it can return the result of an arbitrary XPath expression.
(Inherited from IWebObject.)
Public methodFindT(ISearchPattern, Int32)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodFindT(ISearchPattern, Int32, Int32)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodFindAllT
Searches for objects that match the specified pattern. The search depth is specified as an optional parameter.
(Inherited from IObjectTreeNode.)
Public methodFindChildByXPathT
Finds a child object that matches the specified XPath query.
(Inherited from IWebObject.)
Public methodGetPropertyT
Returns the value of the specified property.
(Inherited from IObject.)
Public methodHoverMouse
Places the mouse pointer over the specified control.
(Inherited from IControl.)
Public methodHoverMouse(Int32, Int32)
Places the mouse pointer over the specified control.
(Inherited from IControl.)
Public methodKeys
Simulates keyboard input to a window or control.
(Inherited from IControl.)
Public methodMouseWheel(Int32)
Simulates mouse wheel rotation.
(Inherited from IControl.)
Public methodMouseWheel(Int32, ShiftKey)
Simulates mouse wheel rotation.
(Inherited from IControl.)
Public methodPagePicture
Captures an image of the entire scrollable page.
Public methodPagePicture(Int32, Int32, Int32, Int32)
Captures an image of the specified rectangular area on a scrollable page.
Public methodPicture
Captures the image of the object.
(Inherited from IVisualObject.)
Public methodPicture(Int32, Int32, Int32, Int32, Boolean)
Captures the image of the specified rectangular area of the object.
(Inherited from IVisualObject.)
Public methodQuerySelectorT
Finds a child object that matches the specified CSS selector.
(Inherited from IWebObject.)
Public methodQuerySelectorAllT
Finds all child objects that match the specified CSS selector.
(Inherited from IWebObject.)
Public methodScreenToWindow
Converts screen coordinates to coordinates relative to the object.
(Inherited from IControl.)
Public methodSetProperty
Sets a value for the specified property.
(Inherited from IObject.)
Public methodToUrl(String)
Navigates to the specified URL. The page loading timeout is specified by the TestLeft.Options.WebTesting.PageLoadTimeout value (the default value is 1 minute).
Public methodToUrl(String, Int32)
Navigates to the specified URL.
Public methodTryFindT(ISearchPattern, T)
Searches for an object that matches the specified pattern (the search depth is 1). The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodTryFindT(ISearchPattern, Int32, T)
Searches for an object that matches the specified pattern. The default search timeout AutoWaitTimeout is used.
(Inherited from IObjectTreeNode.)
Public methodTryFindT(ISearchPattern, Int32, Int32, T)
Searches for an object that matches the specified pattern.
(Inherited from IObjectTreeNode.)
Public methodWait
Pauses the test execution until the web page is downloaded. The page loading timeout is specified by the TestLeft.Options.WebTesting.PageLoadTimeout value (the default value is 1 minute).
Public methodWait(Int32)
Pauses the test execution until the web page is downloaded, or until the specified timeout elapses.
Public methodWaitProperty(String, Object)
Delays the test execution until the specified property equals the specified value or until the default time limit AutoWaitTimeout is reached.
(Inherited from IObjectTreeNode.)
Public methodWaitProperty(String, Object, Int32)
Delays the test execution until the specified property equals the specified value or until the specified time limit is reached.
(Inherited from IObjectTreeNode.)
Public methodWindowToScreen
Converts coordinates relative to the object to coordinates relative to screen.
(Inherited from IControl.)
Top
See Also