Why there is “Iterations” in test reports

Why there is “Iterations” in test reports

Home Forums Ask Expert Why there is “Iterations” in test reports

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #61794
    Airat ZAP
    Moderator

      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:
      Datatable
      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:
      Report example

      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”

    Viewing 1 post (of 1 total)
    • You must be logged in to reply to this topic.

    Virtual Expert

    ZAPTEST

    ZAPTEST Logo