ListItem function in RoutineBot

Syntax

ListItem( List:String, Index:String )

Parameters

List:String

String, that contains comma separated handles. You can get this string as result of function FindWindows.

Index:String

Index of item in string.

Return value

Return  the item located at the specified Index within List. If Index parameter is less than zero or greater than number of items in the string you get an exception. To obtain the number of items in string use function ListSize.

Example
s:='1,2,3';
a:=ListItem(s,0);
MsgBox(a);

Download example ListItem

Posted in Articles
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: