RVL Editor

rvl editor

Purpose

Rapise Visual Language Editor

How to Open

Use the RVL button on the main toolbar to open an RVL (.rvl.xlsx) file. The file will be opened by the RVL Editor in the Content View.

Features

Editor has support for all RVL statements including

statements.

RVL is a recordable language. Rapise recorder is translates captured actions to objects stored in the object repository and a set of actions. Each recorded chunk may be inserted into desired place in the selected sheet:

Recording

Usually recording is with together with scripting and, maybe, some JavaScript for advanced tasks.

RVL Scripting

In addition to recording one may use RVL editor for authoring scripts. You may drag&drop actions from the Object Tree into the RVL. Also RVL editor is both keyboard and mouse friendly. You may either type whole or parts of commands and rely on auto-completion OR simply select a dropdown in each cell of the row.

When writing or modifying a script it is recommended to go left-to-right for script creation.

Auto Completion

RVL Editor supports Auto completions. For example, if you type I in the flow column:

Flow I

And hit Tab key the whole If statement is created:

Flow If

Note: Tab is a trigger for auto-completion. If you use cursor keys or mouse to leave the cell then auto completion will not be executed.

If you go to last line and change End with ElseIf

Flow If

then alternative branch is appended:

Flow If

Similar logic works for Params, Conditions, Maps, Loops, Assertions and so on.

Action Params

When you select an action from the list RVL Edtior automatically fills default action params. For example, if we choose:

DoLaunch

And press Tab after DoLaunch RVL Editor fills default param:

DoLaunch

DoLaunch has one required parameter cmdLine. Also it has a number of optional parameters. They are not added by default to make script more concise. However, you may need all or some of them. So you may add them by pressing Params button on RVL Toolbar:

DoLaunch

It is also possible to add params one-by-one using the dropdown in the ParamName column:

DoLaunch

Full Line Comments

Anything typed into the Type cell of the commented line is expanded to as many cells as needed to show the text. This is similar to the way Excel extends cell text across sibling empty cells:

DoLaunch

Context Menu

RVL Context Menu

Sheet Tab Context Menu

Tab Context Menu

Functions Object

Suppose we have some functions defined in the User.js file:

User functions

Calling JavaScript from RVL is done via the Functions Object. It is not available in the object repository and is only shown in RVL Objects dropdown:

User functions

Once selected it shows all user defined functions from the User.js file:

User functions

File Extensions

RVL has following file extensions:

RVL is designed to be a simple grid language and it may be edited in any spreadsheet editor supporting .xls or .xlsx files (i.e. Microsoft Excel)

See Also