Search code examples
testingautomated-testsworkbenchgui-testingsilktest

How to pass random parameters to SilkTest Workbench or Classic Record&Play Scenario


I am new to SilkTest and I don't have any scripting background. What I need to do is to record some test cases and then play them to check my system. After getting used to it, I plan to learn scripting and dive into it, but first things first.

What I need is to pass random generated (or randomly read from a text file or pre-defined) parameters into the recordins so that every time I run the tests, different parameters are used. For example, there is a component in which I write some letters and the component filters the results based on the text. Then, I select one of the results. Now, instead of recording the same letters everytime, how can I use random given parameters?

Thanks


Solution

  • What you are looking for is called Active Data in Silk Test.

    It allows enhancing your visual tests with external data, for example from an Excel file.

    ActiveData testing enables you to leverage existing data in external files as input for powerful, comprehensive application testing solutions. ActiveData testing enables you to perform multiple transactions against test applications using a different set of data for each transaction without writing complicated code or compromising existing data.

    You can find an introduction to Active Data in the online documentation or in the tutorial video.