TestComplete Cookbook by 2013

TestComplete Cookbook by 2013

Author:2013
Language: eng
Format: epub, mobi
Publisher: Packt Publishing


Getting ready

Launch the Notepad application (C:\Windows\notepad.exe).

How to do it...

The process of creating a function for dragging a window consists of the following steps:

The Drag method takes four parameters: coordinates inside the window on which the mouse-click is expected to be made at the point of dragging (X and Y) and offset coordinates by width and height for dropping (offsetX and offsetY). In our case, the object that is being dragged-and-dropped is the Find window which is shown in the following screenshot:



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.