Silk Test Workbench enables you to pass data between visual tests. This lets you leverage data created in your existing
Silk Test Workbenchvisual test base, as well as allowing you to use the most efficient testing assets and still retain data integrity within a testing solution. Pass data between visual tests using visual test parameters.
Note: To pass data between visual tests, one visual test must be embedded and played back from within the other visual test. To pass data, the visual tests must be in the same project, or the embedded visual test must be in the Common project.
With visual test parameters, you can:
- Create data in a visual test and use it in another visual test.
- Create data in a visual test, pass it to another visual test, modify the data in the second visual test, and pass it back to the initial visual test.
The process is as follows:
- Add input and output parameters to a visual test.
- Insert the visual test into another visual test.
- Pass data from the embedded visual test to the embedding visual test by editing the value of the input parameter in the embedding visual test.
Note: The value that you send from the embedded visual test is not saved in the embedding visual test, but it can be used in computations in the embedding visual test.
- In the embedding visual test, create a local variable to store the data passed from the output parameter of the embedded visual test, and then use the local variable within the embedding visual test.
Note: For a detailed example of how to create input and output parameters and use them in a visual test, refer to
Playing Back Scripts From Visual Tests in the
Welcome to the SilkTest Workbench Visual Test Tutorial.