RedHatQE / polarize

GNU General Public License v3.0
2 stars 2 forks source link

Workaround for PJA-99 #21

Closed rarebreed closed 7 years ago

rarebreed commented 7 years ago

In order for data driven methods to properly report results to Polarion, the TestCase must have in the TestSteps field the parameters defined. If you do this manually, you can go to the TestSteps field, and then with the mouse, click in the step. You should see a box pop up asking if you want to add a parameter.

The automation does this by adding to the XML something like below:

        <test-step>
            <test-step-column id="step">
                <parameter name="blockedByBug" scope="local"/>
                <parameter name="keyName" scope="local"/>
                <parameter name="jsonPool" scope="local"/>
            </test-step-column>
        </test-step>

The TestCase that belongs to this will have the parameters added. The problem is that the TestCase importer replaces everything, so we need to know what the original values of all fields are, not just the ones we want to change

rarebreed commented 7 years ago

No longer need this workaround. The TestCase importer will accept an xml file with only the elements that change.