-
Place the cursor at the end of a test description or a group description.
-
Choose
.
Silk Test Classic prompts you to name a script file to contain the test case.
Silk Test Classic does not prompt you for a script file if there is a script defined at a higher level and inherited by the test case you are
recording. If that script exists,
Silk Test Classic puts the test case in that script.
-
If prompted, select an existing script from the list or enter the name of a new script in the
File Name text box, then click
OK.
-
On the
Record Testcase dialog box, type the name for the test case and optionally select an application state to be run before the recording starts.
-
Click
Start Recording.
Silk Test Classic displays the
Recording Status dialog box. The dialog box flashes the word
Recording for the duration of the session.
-
When you are finished recording the actions that comprise the test case, click
Done in the
Recording Status dialog box.
-
On the
Record Testcase dialog box, click
Paste to Editor.
Silk Test Classic closes the
Record Testcase dialog box and inserts the test case into the script file. It also adds the script and test case statements to the test plan
on a new line and indents them appropriately.
If the script file is inherited by the test case you are recording, only the
testcase statement is pasted.