Login   /   Register

Creating a test-session instance of The Extern object

November 8th, 2008 by Yaron Assa
     1 votes, average: 5 out of 51 votes, average: 5 out of 51 votes, average: 5 out of 51 votes, average: 5 out of 51 votes, average: 5 out of 5
Loading ... Loading ...

Chad Ullman offers this great QTip, that makes working with external Win32 DLL’s much MUCH easier:

QTP’s Extern object is extremely useful for extending the power of QTP by exposing all of the Win32 API. However, because Extern is a reserved object in QTP, it is instantiated once when QTP starts and persists through all your test runs, and this can cause all sorts of problems. Luckly, Chad shares his simple yet very effective QTip for overcoming these problems.

Getting the current mouse cursor

April 10th, 2008 by Yaron Assa
     1 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 51 votes, average: 3 out of 5
Loading ... Loading ...

Sometimes, you can only tell when an AUT operation has ended by checking the windows mouse cursor - is it an hourglass, or a simple arrow.
The following code allows your to get the integer code of the mouse icon: