Specifications

Event Actions
Java JInvokeApp Event Action
The Java JInvokeApp event action indicates that the Java application
initialized. The JInvokeApp event supports the following parameters:
Args. The arguments passed to the application class.
Class. The name of the application class.
Title. The title of the application.
Example
transaction "LTLogin"
module "LTLogin"
{
event "LTStarted" Java JInvokeApp { Class="com.concord.apps.liveTrend.LtApp"}
}
Java JKeyPress Event Action
The Java JKeyPress event action indicates a keystroke event on a Java
component. This event supports the following parameters:
Title. The title of the application window.
Key. The number that identifies the key that was pressed.
Example
transaction "LTLogin"
module "LTLogin"
{
event "LTStarted" Java JInvokeApp { Class="com.concord.apps.liveTrend.LtApp"}
choice
{
event "LoginStartedClick" Java JMouseReleased { Title="Login"
Class="javax.swing.JButton" Text="OK" }
event "LoginStartedKey" Java JKeyPress { Title="Login" Key=10 }
}
event "LoginFinished" Windows SetTitle { Title=contains:"eHealth Live Trend" }
}
Java JMouseClick Event Action
The Java JMouseClick event action indicates that the user clicked on a Java
component using the mouse. This event supports the following parameters:
Text. The text on the component activated by the mouse, if any.
140 BTStudio Administration Guide