Test results XML sample

DevOps admin permissions are required.

This sample XML shows the format required when sending automated test results to ALM Octane using the Test Result Collection tool.

Download this tool from ALM Octane CI Servers settings page.

<?xml version="1.0" encoding="UTF-8"?>

<Data xsi:noNamespace 
SchemaLocation="file:///D:/TDG/TestDataImport.xsd" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TestCases>
    <TestCase>
        <TestPlanPath>\TDGTest\Folder_9\Folder_9.1\</TestPlanPath>
        <Name>TC-9-1</Name>
        <InternalTCID>90000000-0001- 0000-0000-000000000000</InternalTCID>
        <Type>Manual</Type>
        <State>In Work</State>
        <Author>JohnWong</Author>
        <CreationDate>2014-05-02T00:00:00.0+01:00</CreationDate>
        <Reviewer>EthelBrew</Reviewer>
        <Description>TC-9-1 - Test Goal</Description>
        <Steps>
            <Step>
                <Name>Step 1</Name>
                <Description>TC-9-1 - SETUP</Description>
                <Expected>Test Step Passes</Expected>
            </Step>
            <Step>
                 <Name>Step 2</Name>
                 <Description>TC-9-1 - Step 2</Description>
                 <Expected>Test Step Passes</Expected>
            </Step>
            <Step>
                <Name>Step 3</Name>
                <Description>TC-9-1 - Step 3</Description>
                <Expected>Test Step Passes</Expected>
            </Step>
        </Steps>
    </TestCase>
</TestCases>
<TestSets>
    <TestSet>
        <TestLabPath>TDG\Run_9\Run_9.1</TestLabPath>
        <Name>TestSet-9-1</Name>
        <Description>TestSet-9-1 - Description</Description>
        <State>Preliminary Tests performed</State>
        <TestRuns>
            <TestRun>
                <InternalTCID>90000000-0001-0000-0000-000000000000</InternalTCID>
                <Executor>EthelBrew</Executor>
                <ExecutionDate>2014-10-22T06:08:39+01:00</ExecutionDate>
                <State>Passed</State>
                <Environment>TestEnv01</Environment>
                <Host>TestHost01</Host>
                <Steps>
                    <Step>
                        <Name>Step 1</Name>
                        <Description>TC-9-1 - SETUP</Description>
                        <Expected>Test Step Passes</Expected>
                        <Actual>TC-9-1 - Actual</Actual>
                        <State>Passed</State>
                    </Step>
                    <Step>
                        <Name>Step 2</Name>
                        <Description>TC-9-1 - Step 2</Description>
                        <Expected>Test Step Passes</Expected>
                        <Actual>TC-9-1 - Actual</Actual>
                        <State>Passed</State>
                    </Step>
                    <Step>
                        <Name>Step 3</Name>
                        <Description>TC-9-1 - Step 3</Description>
                        <Expected>Test Step Passes</Expected>
                        <Actual>TC-9-1 - Actual</Actual>
                        <State>Passed</State>
                    </Step>
                </Steps>
            </TestRun>
        </TestRuns>
    </TestSet>
</TestSets>
</Data>

Back to top