Why there is “Iterations” in test reports
- This topic has 1 reply, 2 voices, and was last updated 1 year, 9 months ago by
Airat ZAP.
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Ask Expert › Why there is “Iterations” in test reports
Hello, Brian
Iteration basically represent each raw that you have in the datable by default there will be just Iteration numbers in the reports.
But you can change this behavior by using zap.reports namespace methods, please check our documentation: https://www.zaptest.com/documentation
Here is some example imagine you have login names in datable like this:
You can use this method to name current iteration with login name from Datatable:
zap.Report.SetIterationName “Starting test using login name: ” & Datatable.Value(“Login name”)
After doing this your ZapTest report will look like this:
Also you can use this methods to create logical subsections in the reports, for example:
Zap.Report.StartSection “Open Website”
Application(“zap”).Launch “chrome”, “www.zaptest.com”
Application(“zap”).View(“Homepage”).Object(“ZAPTEST”).Exist
Zap.Report.EndSection “Open Website”
Already have an account? Login
Check you SPAM folder if you do not see the email.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checkbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checkbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |