Forum Discussion

fchristian's avatar
fchristian
New Contributor
3 years ago

Search by test case number

How does one search for test cases via their associated test case numbers?

  • Hello Fchristian,

     

    In the Zephyr If you go to Advance search in the search section and type testcaseId = 123, you can search the test case by test case id.

     

    Thanks

    Govind

    • fchristian's avatar
      fchristian
      New Contributor

      Thanks, govinddrolia .  I tried that and was able to pull the test case to see where and when it was executed.  But, I also want to know where it is stored in the Repository.  Is there a way to find that?

  • Hello 

     

    Please find the API to find the patch where the test case is present 

    /flex/services/rest/v3/testcase/pathbyrelease?testcaseid=&releaseid=

     

    Thank

    Govind 

    • CB's avatar
      CB
      New Member

      Hi govinddrolia,


      fchristian was actually asking this question FOR me.  I don't know what you mean by your answer.  I know what an API is, so is this:

      /flex/services/rest/v3/testcase/pathbyrelease?testcaseid=&releaseid=

      - JQL I'm supposed to put some place to query?

      - It's not a web link, correct?

      - Is there a plug in or something I need to install to Zephyr Enterprise?


      Please explain more.


      Thx!

      CB

  • Hello 

     

    You could use this API in any API client or curl this you just need to know the test case id that is seen in the UI and the release id only to get the path of the test case

    No there is JQL Query 

    No it's not the web link

    No there is no plugin 

     

    If you still have the doubt please raise the support case so that Support could help you in this more detail 

    Link to raise the support case:- https://support.smartbear.com/zephyr-enterprise/message/ 

     

    Thanks

    Govind