Forum Discussion

RobertDAltman's avatar
RobertDAltman
Occasional Contributor
8 years ago
Solved

How do I wait for a user to perform an action?

In a Script test, how do I prompt the user to perform some action, then continue the script after the user indicates the action is complete?  For example, I need to interact with a CAPTCHA on a form, so I need to tell the user to satisfy the CAPTCHA then click on something to continue the automated test.

9 Replies

  • MarioRe's avatar
    MarioRe
    New Contributor

    I'm pretty sure you could do something along of

    @Content(schema = @Schema(implementation = fileaandfileb.class))

     while fileaandfileb has filea and fileb as members

    • sgh's avatar
      sgh
      New Contributor

      Hi. Thanks for the hint. I am aware of this possibility. I would consider this a "workaround" not a real solution.

       

      OpenAPI reference https://swagger.io/docs/specification/describing-request-body/ describes the multipart upload as stated in the post above.

       

      So I would assume, that the swagger annotation would allow me in some way to declare something that results in a correct openapi JSON ?