String exists and does not exist checkpoints verify that a substring does or does not exist in a text string. String exists checkpoints fail if the substring is not found. String does not exist checkpoints fail if the substring is found.
Note: These are the only checkpoints you can add to load test scripts. They are typically used to verify data returned from WebGet and WebPost statements. See Load Testing.
1. Select the script line above where to add the statement.
2. Choose Script > Add Statement.
The Add Statement dialog box opens.
3. Select Checkpoint String Exists or Checkpoint String Not Exists in the Checkpoint category.
4. The Application/version field is automatically set with the context. This information is used to populate the Window and Control fields on the Add Statement dialog box with values from the application repository.
If QA Wizard Pro cannot identify the context, None is selected. This usually occurs when you add statements to a utility script that is only called by other scripts because the context is set in the script that calls it. If an application/version is required, select it from the list.
5. Enter the Full string to search in. You can use a text string (default), expression, datasheet column value, variable, or function that returns the value.
6. Enter the Substring to seek. You can use a text string (default), expression, datasheet column value, variable, or function that returns the value.
Note: The search is case sensitive.
7. Enter an optional Comment, such as the purpose of the statement.
8. Click OK to add the statement to the script.