The best way to export Test Cases with their Steps and Expected Results is via the CA Agile Central Add-in for Excel. Heres how:
- Launch Microsoft Excel with the CA Agile Central Add-in for Excel installed. Check here for help installing the add-in.
- Click the CA Agile Central tab, then click Connect to CA Agile Central
- Enter the login credentials and click Connect
- Make sure to click Export on the left side of the ribbon, then click Manage Queries
- Next to the Query dropdown, click New
- Specify a name for the new query and click OK
- From the Query Type dropdown, select Test Case Step
- In the Columns field, Type in (or copy & paste) the following columns for the information you are looking for: CreationDate,ExpectedResult,Input,StepIndex,TestCase,TestCase.FormattedID,TestCase.Type,TestCase.WorkProduct
*** one has to TYPE these fields into that column field as they are not currently available for selection ***
- In the Filter field, enter any limitations for the query results as needed
- Click OK to run the query
If, after attempting the export following this process, the query does not return any Test Case Steps, there may be confusion as to what exactly is a Test Step in CA Agile Central.
In CA Agile Central on the Test Case detail page, ensure that the steps are not just typed out in the "Validation Input" and "Validation Expected Results" fields. These fields are not Test Steps. These Validation fields export via the Excel Add-in using the Test Cases type.
In CA Agile Central, while viewing the Test Case detail page, there is an small icon that must be clicked to add Test Steps: ___ . The fields to enter a Test Step are "Input" and "Expected Result" for each step.
To add a step:
- On the Test Case detail page, click Actions, then Edit.
- In the Steps section of the Edit Test Case editor, click the Add a Step Icon to specify the number of steps.
- Enter each step that must be executed to achieve the state of the system as detailed in the related requirement.
- Input: Enter the action step of the test.
- Expected Result: List the expected system response to the action step.
- After all steps for the test case have been added, enter a validation step. This is the one step that evaluates the status of the execution of the test case and sets the local verdict of the test case.
- Validation Input: Enter the action step of the test. This is the activity that will produce the Expected Result.
- Validation Expected Result: List the response that must be obtained in order to verify the correct performance of the system. The Expected Result is the comparator that demonstrates that the system has accurately fulfilled the designed functionality.
- Click Save & Close