Specifications

Event Actions
{
event "Event1" Windows SetFocus { Title=contains:"Purchase Order" }
event "Event2" Windows MenuCommand { Text="Purchase order- >Change" }
event "Event3" Windows StatusMessage { Title="Purchase Order Updated" }
}
Windows SetTitle Event Action
The Windows SetTitle event action indicates that the title of an application
window changed.
SetTitle 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 new title of the affected window
ObjectID. Application- wide unique identifier of the affected window
Example
transaction "RecordOrder"
module "RecordOrder"
{
event "RO1" Windows SetTitle { Title="Confirm Changes" }
event "RO2" Windows ButtonPress { Text="OK" }
event "RO3" Windows StatusMessage { Text="Order Updated" }
}
Windows Start Event Action
The Windows Start event action indicates that the associated windowing
process initialized. The Start event supports the following parameter:
ExecutableName. The name of the process
Note: You cannot use the IgnoreEvents clause for a Windows Start event.
Example
transaction "IEstart"
module "IEstart"
{
event "Start1" Windows Start { ExecutableName="IEXPLORE" }
event "Start2" Web Start { ExecutableName="IEXPLORE" }
event "Start3" Web BeginLoad { ExecutableName="IEXPLORE" }
event "Start4" Windows SetTitle { }
BT Language Reference 161