Syntax Notations

Language independent syntax line notations are given for each method and property in formats resembling those that describe C and C++ API functions and methods.

For example, the syntax line for the OpenEntity method of the AbtEntity class looks like this:

AbtEntity OpenEntity(string Entity, [Boolean Refresh], [integer Seconds = -1])

This is similar to a Visual Basic declaration like:

Function OpenEntity(Entity As String, Optional Refresh As Boolean, Optional Seconds As Long = -1) As AbtEntity

This means that the method OpenEntity takes a minimum of one and maximum of three parameters. The respective types of the parameters are string, Boolean and integer (32 bits; in Visual Basic 6 this is the type Long , not Integer ).

The default value for Seconds is -1, in this case meaning not specified. For the Refresh parameter no default value is given (in the case of a Boolean parameter this means a default value of False).

The return value is an object of the class AbtEntity.

If an argument describes a menu choice, its value can consist of multiple items, separated by -> . For example, in the Windows Paint application, this argument could look like: view->zoom->large size. This means select the item zoom in the view, which in turn brings up a submenu of which the ITEM large size is to be selected.

Notes: 
TestArchitect ignores the following when interpreting a menu selection argument:

To illustrate this with the example of the menu selection in Paint, the menu item text above will select:


Copyright © 2024 LogiGear Corporation. All rights reserved. LogiGear is a registered trademark, and Action Based Testing and TestArchitect are trademarks of LogiGear Corporation. All other trademarks contained herein are the property of their respective owners.

LogiGear Corporation

1730 S. Amphlett Blvd. Suite 200, San Mateo, CA 94402

Tel: +1 (650) 572-1400