If you have an existing test automation framework consisting of
Silk4J or
Silk4NET keyword-driven tests and you want to execute them from
Silk Central, you can do this by using
Silk Central's JUnit and test package functionality. To do so, follow the steps below:
-
Create a source control profile that points to the artifacts of your
Silk Test project (see
Source Control Profiles).
-
Create a test container that uses this source control profile (see
Adding Test Containers).
-
Create a JUnit test (see
Creating Tests) and configure the following:
- For keyword-driven tests that are implemented in
Silk4J:
- Specify the classpath. If you are using the default Silk Test build structure, specify
.\output.
- The
.kdt files need to be in the folder that you specified as classpath, either packaged into a
.jar file or within a folder in the classpath.
- For keyword-driven tests that are implemented in
Silk4NET:
-
Assign the test to an execution plan (see
Assigned Tests).
-
Optional: Once executed, you can right-click the test and select
Convert to Test Package to get a package structure (see
Creating a Test Package).