June 7th, 2017 by inflectra
rapise rvl scriptless testing test automation
In this short blog post, our test automation guru - Denis Markovtsev explains the ideas and principles behind the design of Inflectra's new Rapise Visual Language (RVL) introduced in Rapise 5.1. RVL is a spreadsheet-based approach to UI test automation implemented in Rapise to help domain specialists and test analysts, who are not programmers, participate in test automation projects.
Since the beginning of computer era, programmers divided code and static data. Let's briefly trace history starting with x86 assembler:
.model small
.stack 128
.code
start: mov ax, @data
mov ds, ax
mov ah, 9
lea dx, msg
int 21h
mov ah, 4ch
int 21h
.data
msg byte 'Hello World!', 13, 10, '$'
end start
Notice those .code
, .data
segments and msg
variable containing Hello World!
string.
In C
language the example turns into.
#include <stdio.h>
static const char* msg = "Hello World!\r\n";
int main()
{
printf(msg);
return 0;
}
And here is the one of the most modern successors of C
- C#
.
using System;
namespace CSharpConsoleApplication
{
class Program
{
private static string msg = "Hello World!";
static void Main(string[] args)
{
Console.WriteLine(msg);
}
}
}
Separation of code and data is a natural approach providing many benefits.
Notice that writing Hello World!
example in any of the languages mentioned above requires knowledge of
.model
, .stack
, char
, main
, namespace
, public
).{
, }
, (
, )
, [
, ]
.At Inflectra we kept in mind all these considerations while designing Maps feature for RVL and tried to simplify syntax as much as possible. Here is how Hello World!
looks like in RVL:
Actually, this example does a more complex thing than printing Hello World!
to a report. It has a loop that iterates through a data set (map) and prints all defined values. Adding more values
and see the execution result:
Let's iterate through a list of great capabilities expressed by RVL in this example:
Want to place data values in rows rather than columns. Excellent:
Now imagine you want to work with a particular row in the map. Just put this
on a desired row and the loop will execute just one iteration for it.
Easy and simple.
RVL is an effort to easy life for non-programmers and enable them to participate in UI test automation projects more effectively. RVL is based on many proven concepts developed for programming languages since assembler birth times and is build around simple spreadsheet-inspired notation.
Ask an Inflectra expert:
And if you have any questions, please email or call us at +1 (202) 558-6885
To ensure your satisfaction, we provide product support free with every subscription purchase, which guarantees you unlimited access to our knowledge base, customer forums and helpdesk. Review our support policy.
The Inflectra knowledge base includes a wide variety of helpful support articles written by Inflectra's customer support specialists.
Discover great tips, discussions, and technical solutions from fellow customers and Inflectra's technical experts.
If you can't find the answer you're looking for, please get in touch with us: over email, phone, or online.