Empty string during playback Rational Robot 7.0.3.9 script against .NET

Technote (troubleshooting)


Problem(Abstract)

Attempts to run an IBM Rational Robot script against a .NET application under 64-bit Windows result in a "script command failure on line ,,, "

Symptom

The full error message is as follows.

**** Script Command Failure on line n of 'MyScript' - Empty String

The script does playback error free under Windows 7 x86.

The Windows Task Manager displays the application's process without the *32 suffix.

Cause

The execution headers refer to 64-bits execution.

Environment

64-bits Windows
The .NET extension in the Extension Manager is enabled

Resolving the problem

Force the application to run in 32-bit mode only. For this, you can use CorFlags, a Microsoft tool.


Consider the following steps.


  1. Install your .NET application in the Program Files (x68) folder.

  2. Run the following command. You application name is MyApp.

    CorFlags.exe /32BIT+ <path>\Program Files (x86)\MyApp.exe

  3. Run the Robot script again.



NOTES

  • Observe that now the Task Manager displays the process with the *32 suffix,

  • CorFlags is part of the .NET Framework 2.0 Software Development Kit (SDK) (x64). You can download the latter from the Download Center on microsoft.com on the page .NET Framework 2.0 Software Development Kit (SDK) .(x64).

Rate this page:

(0 users)Average rating

Document information


More support for:

Rational Robot
Playback

Software version:

7.0.3.9

Operating system(s):

Windows

Reference #:

1641341

Modified date:

2013-07-25

Translate my page

Machine Translation

Content navigation