IBM Support

Error in Rational Robot GUI playback: Script not Exists

Troubleshooting


Problem

When you start an IBM Rational Robot script with a CallScript statement, you get error "Unable to find script file".

Symptom

The full error message is as follows:


    Script Not Exists

You also get the following message and a script command failure:


    Unable to find script file


Cause



Cause #1


One or more characters in the CallScript argument mismatches the case. For example:

    CallScript("myScript")

does not open MyScript. Note the upper case M.

Possible causes why the argument is case-sensitive are:

  1. The operating system is case-sensitive.

  2. The database is case-sensitive.
    DB 8.2 and 9.1 are case-sensitive databases.



The case-sensitivity, when you use a DB2 database was been identified as a product defect under APAR PK70690 and has been resolved in Rational Robot version 7.0.2.



Cause #2

The parameter of CallScript contains something else than the script name without extension. You can think of a mispelled script name or a script name with extension.


EXAMPLES

CallScript("MyScrip")

CallScript("MyScript.rec")

Diagnosing The Problem

Cause #1

To see if the operating system is case-sensitive, you verify the following registry key:

HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\kernel\
dword:ObCaseInsensitive

If the value equals 1, the operating system is case-insensitive.

To see if the database causes the problem, verify if CallScript is case sensitive in:

  1. Robot stand alone mode.
  2. a TestManager Microsoft Access based project.

Resolving The Problem

Cause #1


  1. Verify the value of the registry setting to 1 and change, if necessary.

  2. Upgrade to Rational Robot 7.0.2 or newer.



Cause #2

Correct the CallScript parameter. In this example, the right syntax is:

CallScript("MyScript")

[{"Product":{"code":"SSSHDX","label":"Rational Robot"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Scripting","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.15;2003.06.16;7.0;7.0.0.1;7.0.0.2;7.0.0.3;7.0.0.4;7.0.1;7.0.1.1;7.0.1.2;7.0.1.3;7.0.2","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21319428