Specifications

Event Actions
Note: You cannot use the IgnoreEvents clause for a Web Stop event.
Example
transaction "IEstop"
module "IEstop"
{
event "Stop1" Windows SetFocus { ExecutableName="IEXPLORE" }
event "Stop2" Windows Destroy { ExecutableName="IEXPLORE" }
event "Stop3" Process Stop { ExecutableName="IEXPLORE" }
event "Stop4" Windows Stop { ExecutableName="IEXPLORE" }
event "Stop5" Web Stop { ExecutableName="IEXPLORE" }
}
Windows ButtonPress Event Action
The Windows ButtonPress event action indicates that the user clicked a button
in an application dialog.
ButtonPress 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 button’s parent window
ParentTitle. The title of the button’s parent window
ParentObjectID. Application-wide unique identifier of the button’s parent
window
Text. The label of the button
Item. The internal item ID of the button (numeric)
ObjectID. Application- wide unique identifier of the button
Example
transaction "Logon"
module "Logon"
{
event "LogonOKBtn" Windows ButtonPress {ParentTitle="Enter Password" Text="OK"}
event "DstryLogin" Windows Destroy {Title="Enter Password"}
last
{
event "A" Connection Request { }
event "B" Connection Response { }
}
}
156 BTStudio Administration Guide