Working with Test Scripts |
All of your test script editing is done inside of your IDE. You can open a test script directly from your IDE or from TestManager. If Visual Basic is installed anywhere other than in the default location, make sure the location of the resource compiler is specified in the path.
To open a test script in TestManager, click File > Open Test Script > type, where type is one of the following:
Then select the script you want to open. TestManager checks the Windows Registry to find the IDE associated with the test script.
When you save a test script, the location where you store the script and any accompanying source files varies:
ProjectName\DatastoreName\DefaultTestScriptDatastore\TMS_Scripts
Any future scripts that you create for this project are stored in the same test script source folder. This location cannot be changed once it is defined.
Only script files and any related source files can be stored outside of the Rational project. TestManager stores other related files, such as any datapool and log files, as well as references to the script files, within the current Rational project.
When you generate a test script with Robot, .vbp, .cls, and .rc files are created for the script. The file name is assigned by the Robot user during the recording operation.
When the test script is compiled in TestManager, a prefix is affixed to the name. For information, see Name of the Compiled File.
The maximum name length of scripts stored inside the Rational datastore is 40 characters. Script names cannot contain spaces.
The maximum name length of scripts stored outside of the Rational datastore is limited only by the constraints of the operating system.
Rational Test Script Services for Visual Basic | Rational Software Corporation |
Copyright (c) 2003, Rational Software Corporation | http://www.rational.com support@rational.com info@rational.com |