Zephyr Squad Cloud

Search, vote, comment and create ideas for Zephyr Squad Cloud improvements. Please visit our Support Center if you have to report a bug or submit a ticket with our Support Team.

Screen shot data from cucumber.json needs to be uploaded as an attachement for test execution When i execute through automation task

This gives a good value add.

  • Guest
  • Mar 3 2022
  • New
As a... QA/Tester
I would like... to upload screen shot data from "cucumber.json" result file to test execution as an attachment When i execute through automation task
So that I... can see screen shot get attached to test execution automatically
  • Attach files
  • Guest commented
    8 Mar 05:27am

    Thanks. This worked. I am able to upload the screen shot.

  • Admin
    Sanjeev Pande commented
    3 Mar 10:44am

    Zephyr Squad does support this behaviour today for the failed executions. If the cucumber results file contains the screenshot binary under the field data, it is processed and attachment is added to the failed execution.

    E.g.,

    "result": {

    "duration": 1430585,

    "status": "failed",

    "error_message": "com.TestException: Match not found\r\n\tat com.test.folder.TestStepDefinitions.Something_opens(TestStepDefinitions.java:32)\r\n\tat ?.Then Something opens(com\\test\\test.feature:5)\r\n"

    },

    "embeddings": [

    {

    "mime_type": "image\/jpeg",

    "data": "<image_binary>"

    }

    ],


    Attaching sample file for reference.


  • Guest commented
    3 Mar 06:02am
    This is a great idea and completes the usage of Zephyr as a test management tool. Currently because of this limitation, Zephyr capabilities as a full fledged test management tool is not leveraged. I am very much optimistic that smartbear will take this on priority and bring this new feature