Record Testcase on the
Basic Workflow bar.
Record Testcase dialog box opens.
Type the name of your test case in the
Testcase name field.
For example, type
Test case names are not case sensitive; they can be any length and consist of any combination of alphabetic characters, numerals,
and underscore characters.
Application State list box, select
DefaultBaseState to have the built-in recovery system restore the default base state before the test case begins executing. If you choose
DefaultBaseState as the application state, the test case is recorded in the script file as:
testcase testcase_name ().
If you do not want
Silk Test Classic to display the status window during playback when driving the application to the specified base state, uncheck the
Show AppState status window check box.
Typically, you check this check box. However, in some circumstances it is necessary to hide the status window. For instance,
the status bar might obscure a critical control in the application you are testing.
Silk Test Classic:
- Closes the
Record Testcase dialog box.
- Starts your application, if it is not already running
- Removes the editor window from the display.
- Displays the
- Waits for you to take further action.
In the insurance company web site, perform the following steps:
An action that corresponds with each step is recorded.
Select a Service or login list box, select
Automobile Instant Quote page opens.
Type a zip code and email address in the appropriate fields, click an automobile type, and then click
Specify an age, click a gender and driving record type, and then click
Specify a year, make, and model, click the financial info type, and then click
A summary of the information you specified displays.
Point to the Zip Code that you specified and press
Ctrl+Alt to add a verification to the script.
You can add a verification for any of the information that displays.
Verify Properties dialog box opens.
textContents check box and then click
A verification action is added to the script for the zip code text.
To review what you have recorded, click
Stop in the
Silk Test Classic displays the
Record Testcase dialog box, which contains the code that has been recorded for you.
Paste to Editor.
Replay the test to ensure that it works as expected. You can modify the test to make changes if necessary.