Specifications

Parameter List
Parameter List
A parameter is a name with an associated value that qualifies an instance of a
resource or an application event. For example, Application Response
recognizes a Process resource by an executable name. In a parameter-list,
each parameter entry is usually comprised of a simple name and value (string
or numeric) separated by an equality operator (‘=’). If the associated value
can vary (such as a window title that includes an employee ID number), use a
comparison-qualifier (contains or regexp) to qualify the instance.
Syntax
parameter-name = parameter-value
or
parameter-name = comparison-qualifier : parameter-value
When specifying a parameter-value, you must enclose string values (for
example, text and numerals) in quotation marks. The comparison- qualifier
can be any of the values listed below. If you do not include a qualifier in a
parameter specification, BT Studio assumes the exact qualifier.
Note: Use a backslash ( \ ) to escape embedded quotes and backslashes in
the parameter value.
exact
Default qualifier. The actual parameter value from the resource or event must
exactly match the specified value (without sensitivity to case).
Example:
event "Event2" Windows StatusMessage { Text="New employee record created." }
or
event "Event2" Windows StatusMessage { Text=exact:"New employee record
created." }
contains
The actual parameter value must contain (as a sub-string) the specified value
(without sensitivity to case).
Example:
event "Event4" Windows StatusMessage { Text=contains:"record updated." }
BT Language Reference 163