Assert response in HTML log after test run

Assert response in HTML log after test run

Home Forums Ask Expert Assert response in HTML log after test run

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #32362
    Alan Carr
    Participant

      I am using the free zap test, is there anyway of customising the response from an assert to make it more readable to a layman. My assert requires the use of regular expression and this then gets reported as such in the html logfile it would be best if these were easier to read

      #32363
      Valentin ZAP
      Keymaster

        Hello Alan.Carr!

        Could you describe in detail your assertion, probably we can suggest you some ideas. Basically, ZAPTEST generates an XML file which is very strict. This XML file could be converted into HTML or PDF formats.

        I think something wrong with concreete method reporting, right?

        Thank you,
        ZAPTEST Team

        #32364
        Alan Carr
        Participant

          Enclosed my assertion along with the HTML results, its the results that I want to make clearer to someone who doesn’t understand the regular expression

          #32365
          Valentin ZAP
          Keymaster

            Hello Alan.Carr!

            You cannot change this input in the current version. But you could add If statement where you put some “clear” information about this checking (probably describes something). Please, check the custom report method.

            As the best solution, I think it could be great to have some description column which will be reported to the result in case of error, right? If yes, I’ll send this information to our RnD team.

            Does it help?

            Thank you,
            ZAPTEST Team

            #32369
            Alan Carr
            Participant

              I’m struggling with your if suggestion and a custom report (the custom report video appears to only have a scripted version even if you select scriptless.

              Are you able to give me an example for the IF and custom using scriptless ?

              #32370
              Valentin ZAP
              Keymaster

                Hello Alan.Carr!

                Please, check out the attached script.

                Thank you,
                ZAPTEST Team

                Attachments:
              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.

              Virtual Expert

              ZAPTEST

              ZAPTEST Logo