Need help with StresStimulus? Start here.
Validate script
Unregistered User Posts: 514
6/1/2020
|
How to do “Test Automation” validations within Stresstimulus script execution? For example: Creating a task activity and check if the status column is set to “created”? I would record the SaveAndClose Activity and records also a Query of the newly task record created. Next, I would create an extraction rules on that column status. In case the extraction rule doesn’t find the value, how do I generate an error in the execution, so it could be recorded as an iteration in error ?
|
|
0
link
|
George @StresStimulus Administrator Posts: 568
6/2/2020
|
This requirement can be implemented with response validator described here http://support.stresstimulus.com/display/doc51/Response+Validators You do not need an extractor for that. Create a response validator with the following properties: • Set Text to search to a pattern for searching “Created” in the status column. For example, <td id=”col_status”>Created</td> • Set Fail If to Not Found • Set Action if failed to Abort or Continue • Set Description to Activity is not Created

An error will be generated if the status is not "Created”. The error “Activity is not Created” will be in the report in the error section.
|
|
0
link
|
Copyright © 2025 Stimulus Technology