Forms/HTML screenshots Follow
Forms or HTML services save a screenshot upon failure, and they may also save a screenshot after every step. Use these screenshots to understand better why your scenario failed or bahaved the way it did.
Enabling screenshots afer each step
Open your Forms/HTML service -> Edit, and add a screenshots=true in the input parameters table:
(you may also send screenshots=true to the API call if you don't want to turn it on for all runs)
Running your service via ServiceTester
After you ran your service, use the following buttons to access the screenshot:
- Latest Screenshot: available if the service failed, regardless of screenshots=true/false setting.
- All Screenshots: opens the screenshots folder, if you had screenshots=true.
Running your service via API
If you ran your service via API, access the screenshots on your file system in the ServiceManager's data folder: /ServiceManager/temp/<Forms|HTML>_<serviceName>_<serviceRunId>
For example: /Users/myuser/ServiceManager/temp/Forms_EBS_getCustomerDetails_S160620
Statistics: screenshots for failure runs
In the Statistics screen, locate your service run in the "Service Runs" / "Failures" table -> Details -> Click on the Screenshot button.
We only save a screenshot for failure runs.
Comments
0 comments
Please sign in to leave a comment.