Record Testcase Dialog Box

Use the Record Testcase dialog box to record an entire test case, specifying the application state of your choice and including verification statements.

To open the dialog box, click Record > Testcase in the Silk Test Classic menu.

Silk Test Classic will compile the currently active script file or test plan, if not already compiled, before opening the Record Testcase dialog box. If the current window is not a script file or test plan, Silk Test Classic prompts you to open a script file or create a new script file before opening the dialog box.

Testcase name
Specifies the name of the test case you are going to record. Type the name of the test case or accept the default. The test case name must be less than 128 characters.
Application state
Specifies an application state on which this test case is based. Select an application state from the list. The default is the last application state you specified in this field.
Testcase code
Once you have completed recording the test case, this area displays the 4Test code captured during recording.
Start Recording
Click to close the dialog box. Silk Test Classic displays a message box indicating that the base state is being set and displays one of the following:
  • If you are using the Classic Agent, Silk Test Classic displays the Record Status for the Classic Agent window.
  • If you are using the Open Agent, Silk Test Classic displays the Recorder window.
Paste to Editor
Click to close the dialog box and place the 4Test code, if any, in the associated file.
Set Recovery System
Displays the Set Recovery System dialog box. This button is only available when wMainWindow has not been set. For instance, if you have an include file referenced that does not contain constwMainWindow = MyWin, then the button is available. Once Silk Test Classic sees that wMainWin = Something, the button is disabled.