Skip to main content
Specialist
Dec 14, 2023 4:48 PM UTC
Question

How to count number of test steps in a test case with TQL

How to count number of test steps in a  test case with TQL

    4 replies

    nissyan
    Dec 15, 2023 11:43 AM UTC

    maybe like this

    =>SUBPARTS:XTestStep

     

     

    raghunadhAuthor
    Specialist
    Dec 17, 2023 6:14 PM UTC

    Yes, Thanks but I want to specify the particular testcase and fetch the teststeps from that will there be any tql for that or need to directly take tql on the required test case?

    nissyan
    Dec 18, 2023 8:20 AM UTC

    In that example I selected one test case and executed that TQL on it. 

    But I think you are also looking for something like this

    =>SUBPARTS:TestCase[(Name=="The test I like most")]=>SUBPARTS:XTestStep

     

    raghunadhAuthor
    Specialist
    Dec 18, 2023 8:34 AM UTC

    Great!! Thanks