Move a mouse over highlighted areas on a screenshot below to get a documentation regarding UI elements
resourcePerspective, jira/PC-1352, windows-only
One of the most asked features for RCPTT is to execute a same test with different parameters.
I'm going to demonstrate how it is possible to achieve the same effect using Parameters Context.
As an example, let's test error messages in JDT New Class Wizard. We start with a Java project with a single class:
At first, let's record an initial script which launches new class wizard, sets package and class name and asserts an error message:
Now, what we really want is to type various values into
Package and Name fields and make sure that error message changes accordingly.
As a next step, let's parameterize a script using Parameters Context:
Next, let's place a Parameters Context into a Test Case and use $paramName in a script:
Please learn more about more efficient way of script parametrization by
using Super Context