New languages in RoutineBot

Starting version 2.0 RoutineBot supports two additional script languages – JScript (language with javascript-like syntax) and BasicScript (language with basic-like syntax) and the Pascal syntax supported from the very beginning of the project.

All old function (e.g. MouseFocuse,EnterKeys) are available under all three languages.

You can change  used language from combobox above script source.

Language selection
Default language is PascalScript.
Below are showed script in different languages, that works identically.
#language PascalScript
i := 2;
while i > 0 do
begin
MsgBox('i = ' + i);
i := i - 1;
end;

#language JScript
i = 2;
while (i > 0)
{
MsgBox("i = " + i);
i = i - 1;
}

#language BasicScript
i = 2
while (i > 0)
MsgBox("i = " + i)
i = i - 1
wend

And now you can automatically convert numerical values to string values. E.g. expression

'Image # ' + 1

return string value

'Image # 1'

Posted in Official
Tags: , , , , ,

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Example: GUI test with RoutineBot

RoutineBot is testing GUI, trying to enter various values into the text fields and processing warning messages that tested program shows.

Gui Test Automation

GUI Testing TipsCheck out our GUI Test Automation tips.
Test Automation Step-by-Step
Learn more than 99% users know about test automation! Subscribe to maillist now! Learn how to create scripts that will do routine job for you.

Email: