Specifications
Event Actions
LoseFocus events support the following parameters.
(BT Studio displays these values in the events pane.)
ExecutableName. The name of the process
Class. The class of the affected window
Title. The title of the affected window
ObjectID. Application- wide unique identifier of the affected window
Example
transaction "Reply"
module "Reply"
{
event "1" Windows MouseClick {Title="Reply"}
event "2" Windows LoseFocus {Title=contains:"New Memo"}
last
{
event "3a" connection request { }
event "3b" connection response { }
}
}
Windows MenuCommand Event Action
The Windows MenuCommand event action indicates that the user selected a
menu command in the application. MenuCommand events support the
following parameters.
(BT Studio displays these values in the events pane.)
ExecutableName. The name of the process
ParentClass. The class of the menu’s parent window
ParentTitle. The title of the menu’s parent window
ParentObjectID. Application-wide unique identifier of menu’s parent
window
Text. The name of the menu item selected
Item. The internal ID of the menu item (numeric)
Example
transaction "ChangePO"
module "ChangePO"
{
event "Event1" Windows SetFocus { Title=contains:"Purchase Order" }
event "Event2" Windows MenuCommand { Text="Purchase order- >Change" }
event "Event3" Windows StatusMessage { Title="Purchase Order Updated" }
}
BT Language Reference 159