Rally - HP ALM - HP ALM Config Copy QC Tests and Steps to Rally
search cancel

Rally - HP ALM - HP ALM Config Copy QC Tests and Steps to Rally

book

Article ID: 125047

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally) CA Agile Central SaaS (Rally)

Issue/Introduction

A configuration file which will perform a one-time COPY (only) of QC Tests and TestSteps --to-- CA Agile Central TestCases and Steps.

Environment

Release: AGUE5099000-SAAS-Agile Central-Unlimited Edition SaaS-50 User Pack
Component:

Resolution

QC-config-test-steps-02.pxml

A configuration file which will perform a one-time COPY (only) of QC Tests and TestSteps --to-- CA Agile Central TestCases and Steps.

NOTE: UPDATE is not supported.

<!--
FILE:    QC-config-test-steps-02.pxml

PURPOSE: A configuration file which will perform a one-time COPY (only) of
         QC Tests and TestSteps --to-- Rally TestCases and Steps.
         NOTE: UPDATE is not supported.

SETUP - TO COPY QC TO RALLY:
         1) Create a "Test" in QC under "Test Plan" which has a "Step" under
            the "Design Steps" tab.
         2) Run the connector; a "TestCase" is created in Rally under the
            "Quality" > "Test Cases" tab. This new "TestCase" will have an
            entry under the "Steps" section.

NOTES ON USE:
         1) Only COPY is supported, not UPDATE.
         2) Only the "Tests" within the QC Test Plan folder specified in the
            <TestFolder> element will be copied, and not Tests that reside
            in a subfolder of the specified folder...  unless:
         3) To Copy the contents of an entire structure of a QC Test Plan folder
            (but not the structure itself) into a flat structure in Rally:
            a) Do not specify the <TestFolder> element mentioned above,
            b) Use a <CopySelector> to specify the full pathname to the
               QC folder from where you wish the copy to start.
            c) You must surround this pathname with carot symbols (^).
            d) This will copy all items from the specified QC folder and all
               items contained within subordinate (child) folders, into a flat
               structure on the Rally side.
            e) For Example:
                 <CopySelectors>
                     <CopySelector>TS_SUBJECT = (^Subject\XP\TPF^)</CopySelector>
                 </CopySelectors>

USAGE:   Replace all the "Your-..." strings below with values appropriate
         for your environment.
-->

<Config>
    <RallyConnection>
        <Url>rally1.rallydev.com</Url>
        <WorkspaceName>Your-Rally-Workspace</WorkspaceName>
        <Projects>
            <Project>Your-Rally-Project</Project>
        </Projects>
        <User>Your-Rally-Username</User>
        <Password>Your-Rally-Password</Password>
        <ArtifactType>TestCase</ArtifactType>
        <ExternalIDField>Your-Rally-ExternalID</ExternalIDField>
    </RallyConnection>

    <QCConnection>
        <Url>Your-QC-URL:port</Url>
        <Domain>Your-QC-Domain</Domain>
        <Project>Your-QC-Project</Project>
        <User>Your-QC-Username</User>
        <Password>Your-QC-Password</Password>
        <ArtifactType>TEST</ArtifactType>
        <TestFolder>Your-QC-TestFolder</TestFolder>
        <IDField>TS_TEST_ID</IDField>
        <ExternalIDField>Your-QC-ExternalID</ExternalIDField>
    </QCConnection>

    <Connector>
        <FieldMapping>
            <Field><Rally>Name</Rally>        <Other>TS_NAME</Other></Field>
            <Field><Rally>WorkProduct</Rally> <Other>TS_USER_03</Other></Field>
            <Field><Rally>Description</Rally> <Other>TS_DESCRIPTION</Other></Field>
        </FieldMapping>

        <RelatedObjectLinkers> 
            <QCToRallyTestStepLinker/> 
        </RelatedObjectLinkers> 

        <RallyFieldHandlers>
            <RallyReferenceFieldHandler>
                <FieldName>WorkProduct</FieldName>
                <ReferencedFieldLookupID>FormattedID</ReferencedFieldLookupID>
            </RallyReferenceFieldHandler>
        </RallyFieldHandlers>
    </Connector>

    <ConnectorRunner>
        <Preview>True</Preview>
        <LogLevel>Debug</LogLevel>
        <Services>COPY_QC_TO_RALLY</Services>
    </ConnectorRunner>
</Config>