Modeling GUI-Level Test Scripts Based on
Silk Test Classic Test Cases
-
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.
-
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.
-
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.
-
In
Testcase, select a specific test case within the test case file by selecting it in the list box.
-
(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).
-
Click
Add. The selected test case appears below in the
Testcase field.
-
Add more test cases to your project as required by repeating this procedure.
-
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
) to enable login for remote desktop sessions. These credentials will be added to your script’s
TInit transaction.
-
Click
OK.
-
Give the test case a
File name.
-
Click
Save to save the test case.
-
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.