New to Telerik Test StudioStart a free 30-day trial

The Desktop Manager Class

The Desktop manager class is used to control interaction between the Windows desktop and the browser. It also contains instances of the Keyboard and Mouse managers. It has the following properties:

PropertyBrief Description
KeyBoardGets the keyboard object that enables simulating real keyboard events.
MouseGets the mouse object that enables simulating real mouse events.
ValidateMouseActionsWithinBrowserContentGets/Sets whether to validate all mouse actions to ensure they are within the browser's content window. If this is set to true, any mouse action outside that region will throw an exception.

It also has the following methods:

MethodBrief Description
DisableAutoDomRefreshThe most recent launched browser instance. You can use it to invoke actions, access the loaded document DOM and perform element identification an extraction using the Browser.Find object.
EnableAutoDomRefreshEnables the Desktop Mouse/Keyboard objects to perform auto DOM refreshes after Click/DragDrop/SendKey actions.
Not finding the help you need?
Contact Support