Rapise Visual Language (RVL)¶
This section gives an overview of the Rapise Visual Language (RVL) option and why you would use it.
For more information on RVL's syntax and constructs, please refer to the separate RVL section of this user manual.
What is Scriptless Testing¶
Let's imagine we're recording a simple automated web test against the sample http://www.libraryinformationsystem.org website that comes with Rapise:
Now in this script, we'll perform the following actions to verify that you can login correctly (the happy path):
Click on the login button
Enter your username and password
Click on the submit button
Once the home page loads, verify the name of the logged in user at the top-right
So to make automated testing and the power of Rapise's object based testing easier and more accessible, you can use the alternative RVL methodology.
Let's imagine that we perform the exact same set of steps, recording the test script using the Rapise Visual Language approach. As a result we get:
What you'll notice is that each of the recorded actions has now become a series of rows in the grid.
The Type column sets the type of a row (perform an action, comment, make an assertion that a value matches what was expected, set a variable, be a parameter or output to the current test report):
The Object column is used to select the object from the object tree:
This dropdown shows all the objects from the object tree, global utility objects as well as
The Action column defines what to do with the selected object.
Finally, the remaining columns (ParamName, ParamType, ParamValue) contain any parameter values, with subsequent rows being used if necessary:
This means that once you have learned the objects during testing, anyone can compose the test just by adding rows to the grid and then just picking the appropriate objects and actions.
Power of Dropdowns¶
RVL dropdowns help you spend less time on editing test steps. When you expand the Object dropdown you see available objects. When an object is selected the Action dropdown shows applicable actions. If a selected action accepts parameters then parameter names and types are generated automatically.