Previous Topic Next topic Print topic


Modeling GUI-Level Test Scripts Based on Silk Test Classic Test Cases

  1. If you have already set up a GUI-Level Testing/Silk Test Classic project, click Model Script on the Silk Performer workflow bar and proceed to step 3.
  2. If you have not yet set up a GUI-Level Testing/Silk Test Classic project, click File in the menu bar and click New Project. In the tree, click GUI-Level Testing and click Silk Test Classic. Enter a Name and a Description and click Next.
  3. Select the appropriate Silk Test option button, then browse to and select the package (.stp) or script (.t) file using the Browse button next to the field.
    • Select the Open a Silk Test package file option button if a test case file you intend to work with is located within a Silk Test package file.
    • If you plan to create a test case directly from a test case file, select the Open a Silk Test script file option button. Then, manually edit the file’s BDL code to meet your needs.
  4. In Testcase, select a specific test case within the test case file by selecting it in the list box.
  5. (optional) You can add Silk Test Classic test data to the selected test case, if required. Enter test data into the Test Data field using the format "<test case name>",<test data> (For example, "test", 10).
  6. Click Add. The selected test case appears below in the Testcase field.
  7. Add more test cases to your project as required by repeating this procedure.
  8. Select the Use project attributes for session login check box to have username/password strings taken from Silk Performer’s pre-configured project attributes (available at Project > Project Attributes ) to enable login for remote desktop sessions. These credentials will be added to your script’s TInit transaction.
  9. Click OK.
  10. Give the test case a File name.
  11. Click Save to save the test case.
  12. Click Yes on the confirmation dialog to save the test case (.bdf) to your project. A BDL file that includes your newly created test case will be generated for your project.
Previous Topic Next topic Print topic