I'm capturing the data from the session.Storage and I would like to fail the step if the data for the item that I am returning is null. Is there a way to make the step fail within the custom action?
Thank you,
Mike
Answer by Victor F. ·
Hello Michael, You can make it so if it finds the validation or object it will skip a particular action(s).
This is done by doing custom code script.steps[index].actions[index].type = 'do not execute';
The index's start at 0, so for step 2 it would be 1.
Answer by Michael P. ·
I've found the way to fail the step but I now have a support ticket to see if I can mark the step as failed and continue with the other steps as they are not dependent of the failed step and then I don't have to create multiple scripts just to test the individual pieces that load with this site.
DECEMBER 12, 10:00 AM GMT / 2:00 PM ET
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here
Learn how Dynatrace Real User Monitoring automatically detects errors that impact your end users caused by erroneous 3rd party or CDNs.
December 10, 4:00 pm CET / 10:00 am ET
Register here