GUPTA I Steering controls
This chapter describes the Gupta Engine specific control steering.
The Tosca Gupta Engine supports Unicode characters when controls are steered with Input and Verify.
Control steering is described in detail in chapter "Steering Test Objects". |
Click operations
Click operations are specified via the Action row and the ActionMode Input.
The steering of simple controls requires click operations to be specified with curly brackets. Table steering does not need curly brackets since it is an action. Mouse commands are not case-sensitive.
The Tosca Gupta Engine supports the following click operations:
Control |
Table (TableRep) |
Description |
---|---|---|
{CLICK} or X |
CLICK |
Click with the left mouse button |
{RIGHTCLICK} |
RIGHTCLICK |
Click with the right mouse button |
{DOUBLECLICK} |
DOUBLECLICK |
Double-click with the left mouse button |
|
ROWHEADER<click operation> |
Click into the header of a table. This click operation can be combined with any click operations that are supported by Gupta, e.g. ROWHEADERALTRIGHTCLICK. |
All click operations can be modified by adding a leading SHIFT, CONTROL or ALT. As a result, the Shift, Ctrl or Alt keys are additionally pressed.
By using {SHIFTCLICK}, the left mouse button and the Shift key are pressed simultaneously. |
A right click is performed into the respective header column by specifying ROWHEADERRIGHTCLICK and the column. |
The following controls can be steered with click operations:
-
GuptaPicture
-
GuptaPushButton
-
GuptaRadioButton
-
GuptaTable
-
GuptaListBox
-
GuptaEditBox
-
GuptaLabel
- GuptaCheckBox
Notes regarding entering values
Values are always searched by using the wildcard *.
The search is performed by indicating an * at the end of each search string, i.e. insurance equals insurance*.
If the value *insurance is for instance specified, entries such as fire insurance or life insurance are found. |
To search exactly for the value insurance, this value must be specified with a delimiter, e.g. insurance<.
The delimiter character can be modified in the Settings dialog under Engine->String Comparison->Exact Match delimiter.
Under Engine->String Comparison->Case sensitivity, you can define whether comparisons should be case-sensitive.
Under Engine->String Comparison->Trim mode you can define whether spaces should be removed before and/or after a comparison.
Keyboard input actions
Input operations in EditBoxes, ComboEditBoxes and tables may use the following modifications.
The following commands can be used to simulate key inputs. It is mandatory that these commands are entered between curly brackets.
Key |
Syntax |
{ |
BRACKETOPEN |
} |
BRACKETCLOSE |
Backspace |
BS BKSP |
Caps lock |
CAPSLOCK |
Cursor Down |
DOWN |
Cursor Left |
LEFT |
Cursor Right |
RIGHT |
Cursor Up |
UP |
Delete |
DELETE DEL |
End |
END |
Enter |
ENTER RETURN ~ (exception: without parentheses) |
Esc |
ESC |
F1...F24 |
F1...F24 |
Help |
HELP |
Home/Pos1 |
HOME |
Ins |
INS INSERT |
NumLock |
NUMLOCK |
Page Down |
PGDOWN |
Page Up |
PGUP |
Pause |
BREAK |
Print Screen |
PRTSC |
Scroll Lock |
SCROLLLOCK |
Tab |
TAB |
So-called modifiers can be used in combination with the standard keyboard commands. These modifiers are: Shift, Ctrl, Alt and Alt Gr.
Modifier |
Syntax |
Shift |
+ |
Ctrl |
^ |
Alt |
% |
Alt Gr |
' |
Key events that should be modified using these commands must be entered between parentheses ().
The command +(6) simulates for instance the & sign. This character can also be entered directly. |
If you would like to enter modifier characters, these characters must be entered between curly brackets {}.
{+} enters the + sign. |
The syntax {<Key> <Number>} is used to press a key as often as specified by <Number>.
By specifying {LEFT 42}, the cursor left key is pressed 42 times. |
Color values
Some color values have static names in Gupta/Centura. These static names are used if these values are verified. All other values are displayed based on their hexadecimal value.
Hex value |
Color |
&H70000000 |
3DFace |
&H90000000 |
3DHighlight |
&H80000000 |
3DShadow |
&H30000000 |
Default |
&H60000000 |
None |
&H10000000 |
SysWindow |
&H50000000 |
SysWindowFrame |
&H20000000 |
SysWindowText |
&H0 |
Black |
&HFF0000 |
Blue |
&H50 |
Burgundy |
&H2000050 |
Burgundy Dithered |
&H404040 |
Charcoal |
&H2404040 |
Charcoal Dithered |
&H8080 |
Chartreuse |
&HFFFF00 |
Cyan |
&HBFBF25 |
DarkAqua |
&H2BFBF25 |
DarkAqua Dithered |
&H800000 |
DarkBlue |
&H808080 |
DarkGray |
&H8000 |
DarkGreen |
&H80 |
DarkRed |
&HC0C0C0 |
Gray |
&HFF00 |
Green |
&H404000 |
Jade |
&H2404000 |
Jade Dithered |
&HFFFF7F |
LightAqua |
&H2FFFF7FF |
LightAqua Dithered |
&HE2E2E2 |
LightGray |
&H2E2E2E2 |
LightGray Dithered |
&HBFFFBF |
LightGreen |
&H2BFFFBF |
LightGreen Dithered |
&HFFBFBF |
LightPeriwinkle |
&H2BBFFBF |
LightPeriwinkle Dithered |
&HFF00FF |
Magenta |
&H80FFFF |
Maize |
&H280FFFF |
Maize Dithered |
&H7F00FF |
Marigold |
&H27F00FF |
Marigold Dithered |
&H800000 |
MidnightBlue |
&H2800000 |
MidnightBlue Dithered |
&HFF7FFF |
Orchid |
&H2FF7FFF |
Orchid Dithered |
&HFF7F7F |
Periwinkle |
&H2FF7F7F |
Periwinkle Dithered |
&H800080 |
Purple |
&HFF |
Red |
&H5D0000 |
RoyalBlue |
&H25D0000 |
RoyalBlue Dithered |
&H7F7FFF |
Salmon |
&H27F7FFF |
Salmon Dithered |
&HFFFFBF |
Sky |
&H2FFFFBF |
Sky Dithered |
&H808000 |
Teal |
&HFFFFFF |
White |
&HFFFF |
Yellow |
Values without a name are specified by their hexadecimal value. The syntax is &H, followed by the hexadecimal number. Color values can be specified for the properties BackgroundColor and ForegroundColor.
Specific control steering
Parameter Steering
In the ObjectMap of a control you can specify the following additional properties for the Steering parameter:
Control |
Syntax |
Description |
---|---|---|
Tab Control |
bykey |
Allows individual tabs to be steered via hotkeys. As a result, if Gupta tabs are steered automated, the same controls are displayed like in the case of manual steering. |
Combo EditBox |
CheckValues=true |
This property must be specified if an entry should be selected from a Combo EditBox instead of being entered manually. |