The Ensure Result Set Contains Expression assertion verifies that a supplied expression matches at least one value in a specific column in a result set.
Complete the following fields:
Defines the name of the assertion.
Specifies the behavior of the assertion from the drop-down list.
Specifies the step to which to redirect if the assertion fires.
Identifies event text to print if the assertion fires.
Defines a column that contains the text to verify. This value can be a column name or an index.
The regular expression to match in the column.
Click Run Assertion to execute the assertion.
For example, to verify that at least one row that a query returned has a login value that starts with "wp", set the Column field to "login" and the Regular Expression field to "wp.*".
Copyright © 2014 CA Technologies.
All rights reserved.
|
|