Troubleshooting
Problem
Recording a window restore from the Windows taskbar in an IBM Rational Robot script results in object recognition through coordinates.
Symptom
Rational Robot recognizes the taskbar item as a generic object through coordinates only. As a consequence the playback restores any window that happens to be in the same coordinates.
You can observe the recognition issue in Windows 7, but not in Windows XP.
In Windows XP, Rational Robot records the following script.
|
Under Windows 7, the recording results in the following script.
|
Cause
The cause is unknown.
Resolving The Problem
WORKAROUND
- Make the following change in your script manually.
Window OpenIcon, "Caption=<Title of the applicaion>", ""
- Add MSTaskListWClass to the object class list as follows.
- Click Tools > General Options.... .
- Click the Mapping tab.
- Select Object Type as ListView.
- Click the Add button and enter class name MSTaskListWClass. Then click OK.

Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21600406