Cool Tool Guide for Attachmate API Testing |
The Cool Tool records the sequence of API calls and function arguments the user -- a customer or tester -- specifies. The resulting script can be attached to a bug report so someone in Product Management or Development can duplicate interesting behavior. The script can also be used to generate a test script, which is nearly identical to the recording except that when it is generated as the test script plays, the return code is added. The new test script can then be played back later as a regression test and, as each line is executed the return code is checked with the value returned when it was originally recorded. The Cool Tool can open an Extra! API trace and convert it to the Cool Tool's standard scripting format so that it can be replayed, which is another way to capture the user's or tester's observation that can be played back in a debugging session. The Cool Tool playback and test dialog. |
The Cool Tool script recording dialog. |
The Cool Tool script editor dialog. |
The Cool Tool script playback scheduler dialog. |
One more important Cool Tool feature is its recording scripts can also be translated to C++, JavaScript, or VBScript source code. Cool Tool users can generate programs based on scripts recorded in the Cool Tool recorder or from Extra! API traces. With that, a user can regenerate lost code, translate an API client from one programming language to another, and translate for use on a different Attachmate product. The Cool Tool script playback scheduler dialog. |
Feature Summary | |
File\Open recording
Open a recording file that was created by the Function Runner, the Script Editor, or with a text editor. |
|
File\Append recording
Add a file to the end of the one present in the view. |
|
File\Open test
Open a test file created in the test generator, test editor, or any text editor. |
|
File\Open results
Open a test output file (not available in this build). |
|
File\Open API trace
Read the inward/outward bound API calls that were saved into a myExtra! API trace file and list them in the CooHLL TooHLL view (not available in this build). |
|
Edit\Options
Set the values for options that control various tests. |
|
View\Filter
Filter all functions from the view window except for the one specified. |
|
View\Clear
Clear all entries from the view window. |
|
View\Find string
Find a specified string in the current view (not available in this build) |
|
Tools\Recording editor
Open an existing recording and change or add values as desired. |
|
Tools\Test editor
Open an existing test and change or add values as desired. |
|
Tools\Translator
Open a recording file and translate its sequence of commands into a different language for a specified target (not available in this build). |
|
Tools\Test scheduler
Specify the time and date that the loaded test is to be run (not available in this build). |
|
Run\Recording generator
Generate a recording file that contains a pre-programmed set of calls. |
|
Run\Playback recording
Playback the currently loaded recording. No return values will be compared, and no regression analysis will be performed on the results.. |
|
Run\Test generator
Convert the now-open recording to a test file by replaying the recording. |
|
Run\Functions
Enter and perform a sequence of API calls. Choose whether or not you want to record the session to a recording or test file. |
|
Run\Regression test
Playback a recording file and perform a checksum comparison of the results. |
|
Run\Functional test
Run the currently open test file. |
|
Run\Repetition test
Run the currently opened recording the number of times specified within the Edit\Options dialog. |
|
Run\Stress test
Run the currently opened recording concurrently on several different threads to test the load capabilities of the myExtra! terminal and connection tools, as well as the API's remote process call mechanisms (not available in this build). |
|
Run\Performance test
The currently opened recording will be run and the start and return times will be logged (not available in this build). |
|
Run\File transfer test
Perform an exhaustive set of file transfers that involve all combinations of file transfer options (not available in this build). |
|
Run\Event handler test
Interactive test of status, screen, and keyboard events (not available in this build). |
|
Help\About CooHLL TooHLL
Read about the product language, version, and copyright. |
Feature Detail |
Function: Connect FuncNumber: 1 String: a Length: 1 RetCode: Function: SendKeys FuncNumber: 3 String: disconnect@E Length: 12 RetCode: Function: Disconnect FuncNumber: 2 String: a Length: 1 RetCode:
Function: Connect FuncNumber: 1 String: a Length: 1 RetCode: 0 StringExp: a LengthExp: 1 RetCodeExp: 1 Function: SendKeys FuncNumber: 3 String: disconnect@E Length: 12 RetCode: 0 StringExp: disconnect@E LengthExp: 12 RetCodeExp: 1 Function: Disconnect FuncNumber: 2 String: a Length: 1 RetCode: 0 StringExp: a LengthExp: 1 RetCodeExp: 1