background image
<< Test Cases - Recording from within a QA Organizer testplan | Test Cases - How recorded commands uniquely identify GUI objects >>
Test Cases - a script file
<< Test Cases - Recording from within a QA Organizer testplan | Test Cases - How recorded commands uniquely identify GUI objects >>
User's Guide
137
5 D
ESIGNING
AND
R
ECORDING
T
ESTCASES
Recording from within a QA Organizer testplan
2
Select Record/Testcase.
The Record Testcase Script dialog prompts you to name a script file to
contain the testcase.
Note You won't be prompted for a script file if there is a script
defined at a higher level and inherited by the testcase you are now
recording. If there is, the testcase will be put in that script.
3
If prompted, select an existing script from the list or enter the name of a
new script in the File Name field, then click OK.
SilkTest displays the Record Testcase dialog.
4
Enter the name for the testcase and optionally select an application state
to be run before the recording starts.
5
Click the Start Recording pushbutton.
The Recording Status dialog displays. The dialog flashes the word
Recording
for the duration of the session.
6
When finished recording the actions that comprise the testcase, click the
Done pushbutton in the Recording Status dialog.
The status dialog closes, and the Record Testcase dialog reappears.
7
Click the Paste to Editor pushbutton.
The Record Testcase dialog closes, the testcase is inserted into the script
file, and the script and testcase statements are added to the testplan on a
new line and are indented appropriately.
Note If the script file is inherited by the testcase you are
recording, only the testcase statement is pasted.