Can the test cases in the test project be merged into one document?

Hi,

I have a test project with test cases in VSTS. Is there any way or work around to put them together and have one document to contain all of the test cases I want

Thanks,

Leon




Answer this question

Can the test cases in the test project be merged into one document?

  • IfulConsultant

    Hi Leon,

    For example, if you want view the test case which "Severity" is 1, you can set the query is:

    And/or |Field |Operator |Value
    ----------------------------------------------------------------------
    Team Project = @Project
    And [Severity] = 1

    *note: [Severity] stand the name of the "Severity" defined in work item's template. And "@Project" stand the team project you selected currently.

    Thanks,

    Ed



  • lmb

    Ed,

    I am also curious how it works if I use your way to input test case.

    In solution explorer, I select to add a work item, and choose the Manual Test(text format). After check-in, I run the query to list all the work items, but I cannot find the text-format test case. What work item type should the test case (text format) belong to

    Thanks,

    Leon



  • markse

    Hi Ed,

    In solution window, I add a manual test (word format) to add a test case.

    Regards,

    Leon



  • ndo

    Hi Leon,

    How do you record test case Using work item template or Manual Test (Word format)

    Thanks,

    Ed



  • Shail29301

    Hi Edward,

    I am sorry. I do not know how to create a query to add the test cases I want. What the clause would be Use "Test Name = xxx" What the clause could be if I want to ALL the test cases under a test project

    Thanks,

    Leon



  • TerriM

    Ed and David,

    I am sorry, I still cannot find a test case's area attribute value. Supposing I have a manual test case test1.mht, would you pls. tell me how I can know the test case's area information

    Thanks,

    Leon



  • Arete

    Hi Ed,

    I am sorry I feel a little confusion. Is "Severity" one of test case's attribute Sounds not. [Severity] sounds to be one attribute of bug. I cannot find any test case when I run query with Severity clause.

    Regards,

    Leon



  • Dwayne Schaffarz

    So, to be clear... you guys are talking about storing test cases as work items in Team Foundation Server

    This is NOT about using Visual Studio Team System Test with Test Projects and tests like Unit Test, Manual Test, etc... right

    Thanks,

    David



  • LOUIS P G BANCHE

    Hi Leon,

    If you not use the work item template to record test case you can not use my way. I am sorry.

    Thanks,

    Ed



  • DavideB

    1.You can add a Query to selcet all test cases what you want put them into one doncument from your Team Project.

    2.Then select all and click "View -> Open Selection in Microsoft Excel".

    After step 2 you will get an excel file and you can save it.



  • nocti

    Hi Leon,

    That is the example i want to explain how to set specify query.

    And what attributes for test case based the test case template's definition. If the test case template owner define a field named "severity" and it's refname is "System.Severity", this test case own the "severity" attribute.

    Another example for set specify query is:

    To select all test case under the "Area Path" is "[Team Project name]\[Area 1]".

    And/or   |Field               |Operator    |Value
    ----------------------------------------------------------------------
                 Team Project     =              @Project
    And       Area Path          Under        [Team Project name]\[Area 1]

    When you run this query, system will list all test cases which "Area Path" = "[Team Project name]\[Area 1]".

    Thanks,

    Ed



  • Robert Wakeland

    Ed,thanks!

  • Rik78

    hi leon,

    In vsts, the system allow people to customize new work item template to tracking work item. So we can define a new work item template to record test case.

    If you create a new work item template and import into the team project to record this project's test case, then you can use my way.

    Thanks,

    Ed



  • Can the test cases in the test project be merged into one document?