Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
Established Member.. RStimy
Established Member..
763 views

Tracking data-driven tests in QC/ALM - Best Practice

Hi,

I work for a large corporation and we run UFT for automation and HPQC for QA execution and tracking.  In certain cases, we may have to run a script against 100, 1000, or even many thousands of data combinations.  Creating thousands of test cases for each data combination seemed teadeous and inefficient so we added some custom fields and recorded the number of "autoTests" (rows in Excel data table) to those fields to give an idea of how many tests are actually being covered and how many have been executed by the one test case in QC.  Logic at first execution counts the rows with data and updates the "autoTest Total" field.  As the test proceeds, "autoTest Executed" and "autoTest Passed" are also updated.  Then we have logic built into reporting to look for and count those fields for accurate coverage stats.   This is fraught with problems as it requires and relies a lot on the automation engineer and tester to comply and be diligent with the scripting and the process.  So my question is, as data-driven tests are the big attration of automation, what other ways have people used/developed to have one or few scripts run many scenarios of data while having accurate reporting in QC/ALM.

Thanks,

Rob.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.