The Conditions of Substitute String window is used to identify the substitute strings. This window appears when you click Add button or Edit button in the Substitute String page in the Conditions of Variable String window.
Figure 6-36 Conditions of Substitute String window
![[Figure]](figure/zuv06200.gif)
The following describes the displayed items.
- Step ID:
- Select the step ID. In the pull-down list, the step IDs of the recorded steps are listed. None is selected by default. You are required to select this item.
- Source of substitute string:
- Select the source of substitute string.
- To acquire the substitute string from HTML:
- Specify the From HTML. For details about the settings, see (1) Settings to acquire the substitute string from HTML.
- To acquire the substitute string from HTTP header:
- Specify the From HTTP header. For details about the settings, see (2) Settings to acquire the substitute string from HTTP header.
- The From HTML is specified by default.
- String to exclude from substitute string check box:
- Select this check box when there is a string to exclude from the acquired substitute string. This check box is not selected by default.
- When you select this check box, specify either or both String just before and/or String just after.
- String just before:
- Specify the String just before when there is a string to exclude before the acquired string. If there are multiple matched strings, first match from the top is excluded. Specify this item within the range from 1 to 255 bytes. Any spaces, tabs, or linefeed characters preceding or following the entered character string are deleted.
- If you specify the Attribute in the Where to include substitute string, you cannot specify double or single quotation marks (", '), because double or single quotation marks are the separators for attribute values.
- String just after:
- Specify the String just after when there is a string to exclude before the acquired string. If there are multiple matched strings, first match from the bottom is excluded. Specify this item within the range from 1 to 255 bytes. Any spaces, tabs, or linefeed characters preceding or following the entered character string are deleted.
- If you specify the Attribute in the Where to include substitute string, you cannot specify double or single quotation marks (", '), because double or single quotation marks are the separators for attribute values.
- Import button:
- Import the substitute string settings. You can import the substitute string setting of another step. When you click this button, the Select Source of Substitute String Settings window appears.
- Organization of this subsection
- (1) Settings to acquire the substitute string from HTML
- (2) Settings to acquire the substitute string from HTTP header