Forum Discussion

kbysrn's avatar
kbysrn
New Contributor
3 years ago

POST custom field of test script in Test Case by API

Hi, everyone

 

Could we post/put custom field in a step-by-step Test Script by using API?

We could post/put default field "STEP", "TEST DATA", "EXPECTED RESULT", but we could not post/put custom field.

We referred the following pages:

- https://support.smartbear.com/zephyr-scale-server/api-docs/v1/

 

if you know the solution, let me know.

Thanks

4 Replies

  • josh42's avatar
    josh42
    Community Hero

    Hi kbysrn ,

     

    where exactly do you want to create a custom field? On test case level or on test step level?

     

    Cheers

    Josh

    • kbysrn's avatar
      kbysrn
      New Contributor

      Hi, josh42 

      Thank you for your reply.

       

      where exactly do you want to create a custom field? On test case level or on test step level?

      We created a custom field on test step level.
      Please refer the below.
      *orange part is the created custom field.

      And then we want to post in this field using api.

      We don't want to create custom field, but want to input the custom field of test step level.

      Does it make sense?

      I apologize to my explain is not good.

      If you know the solution, let me know.

      Thank you.

  • josh42's avatar
    josh42
    Community Hero

    Ah, right, that makes sense. 🙂

     

    The public API doesn't provide this feature. You could probably do this using the internal API, but I wouldn't recommend this. Also at first glance it looks to be quite complicated in this case.

     

    Cheers

    Josh

    • kbysrn's avatar
      kbysrn
      New Contributor

      Hi,josh42

      Thank you for reply.
      It was very helpful.

      We gave up input custom field of test step level using API.ğŸ˜ž

       

      Regards,

      Rina