Record a test case into a testplan automatically
How record a test case into a testplan automatically?
Â
Test cases can recorded First without a testplan, then included into a testplan later. Test cases can also be recorded into a testplan directly:
1. Make sure your testplan is open.
2. Enter a test description into your testplan. For example, “Test change password”.
3. Select this test description.
4. Click Record/Testcase menu.
5. Enter a name for the script file.
6. Click open. the Record Testcase dialog box shows up.
7. Enter a testcase name in the Testcase Name field.
8. Select defaultbasestate in the application state dropdown list.
9. Click start recording button. The record Testcase dialog box closes. Your web application will be automatically sarted by silk test, based on the information in test frame file. Silk test editor window cloases. the record status dialog box shows up.
10. Continue to use your web application. Silk test records everything you did on your application.
11. Click the “Done” button on the Recording status dialog box to stop recording. The recording status dialog box closes. The record testcase dialog box shows up again.
12. Click Paste to Editor. Silk test will insert the recorded activities as 4Test statements into a script file. The record Testcase dialog closes.
13. Click File/Save menu to save the script file. You can enter a script file name. For example, changePaswordTest.t.