Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Number of TestCases in a TestSuite dynamically

daruna1
daruna1 Posts: 8

Is there a Parasoft API that can retrieve or obtain the number of Testcases, dynamically, given the tst file.

Comments

  • jakubiak
    jakubiak Posts: 813 admin

    No, there is not. What would you like to do with that information?

  • benken_parasoft
    benken_parasoft Posts: 1,302 ✭✭✭

    SOAtest Server has a REST API that can query various things, including children of test suites. High level, you could write a script to query a tst file hosted on a SOAtest server, counting the children that are returned in the response.
    About the REST API