New Rule pane
Enables you to define a new custom rule.
To access |
Record > Recording Options > Correlation > Rules > New Rule
|
Important information |
This pane is available only for specific protocols. For a complete list of protocols and their associated nodes, see the Protocol compatibility table.
|
User interface elements are described below:
UI Element
|
Description
|
---|---|
Advanced |
Opens the Advanced Correlation Properties dialog box.
|
Action |
Specify the type of action for the rule from the following options:
|
Scan Type | The scan type: Regular Expression, Boundary Based, XPath query, or JSON query. |
RegExp String | A regular expression to which this rule will apply. This element only applies to a Regular Expression scan type. |
Left boundary |
The left-most boundary where the rule will apply. This element only applies to Boundary Based scan type.
|
Right boundary |
The right-most boundary where the rule will apply. Use the drop-down menu to define this boundary as either the end of a string, a newline character, or a user-defined text. The element only applies to Boundary Based scan type.
|
XPath query | An XPath expression to which this rule will apply. This element only applies to a XPath query scan type. When VuGen detects a value that matches this expression, it creates a web_reg_save_param_xpath function. |
JSON query | A JSON query expression to which this rule will apply. This element only applies to a JSON query scan type. When VuGen detects a value that matches this expression, it creates a web_reg_save_param_json function. For details about creating a JSON query, see Internet resources on JSONPath expressions. |
Parameter prefix |
Uses a prefix in all automatically generated parameters based on this rule. Prefixes prevent you from overwriting existing user parameters. In addition, prefixes allow you to recognize the parameter in your script. For example, in Siebel Web, one of the built-in rules searches for the Siebel_row_id prefix.
|
Match Case |
Matches the case when looking for boundaries.
|
Use '#' for any digit |
Replaces all digits with a hash sign. The hash signs serve as wildcard, allowing you to find text strings with any digit.
Example: If you enable this option and specify ABC### as the left boundary,ABC193 and ABC284 are valid matches.
This element only applies to boundary based scan type.
|