Skip to the content.

Since around Feb/Mar 2020, we started getting a number of tickets where there was some inconsistency between:

  1. Charts and Execute tab
  2. Progress Report and Charts
  3. Execute tab and Progress Report

Possible reason for the sudden increase in the number of data discrepancy issues:

Most of the cases that we observed were reported only by a few customers. However, the first type of discrepancy, i.e., between Charts and Execute tab/Progress report, was reported by many users. So, this is something we needed to figure out as to why it started happening suddenly.

Opening and closing of the web-runner:

Before discussing all the scenarios and their fixes in details, let us first understand the major functions carried out from the opening of the web-runner to its closing.

End API flow

Now, let us discuss every scenario in detail and understand how they were fixed:

Scenario 1: Discrepancy between Charts and Execute tab/Progress Report

Reason:

This issue came up for users when the retention period for keeping test results (default 365 days) completed. The problem was due to the results getting cleaned from TCM due to retention kicking in but staying as it is in TFS. This causes discrepancy between progress report(gets data from TFS) and charts(gets data from TCM). In addition to that, though execute tab fetches outcome data from TCM, when it receives NULL results from TCM, it used to send outcomes returned from TFS in API responses, causing execute tab to also show TFS data.

Discrepancy scenario 1

Fix:

This was fixed in two steps.

Drawbacks of our approach:

Scenario 2: Discrepancy between Progress Report and Charts/Execute tab

Case 1

Reason:

When the web-runner fails to launch due to some reasons like blocked popups, etc. or was closed before it was completely loaded -

Fix:

In the abort function, a change was made to fetch the latest results from TCM, if they were not provided.

This ensures that we get the valid outcome copied to TFS table too.

Case 2

Reason:

Update result analysis flow (result summary page)-

Fix:

Case 3

Reason:

When a manual outcome is marked for a test point whose automated run is in progress -

Fix:

Case 4

Reason:

When a point has simultaneously executed runs

Fix:

Currently working on fix for this scenario. The issue arises since TFS contains last received outcome, while TCM returns the outcome for a points based last executed run. Working towards ensuring TCM also returns outcome based on completed time stamp.

Scenario 3: Discrepancy between Execute tab and Progress Report/Charts

Reason:

When the web-runner is opened and closed for a test point previously reset to active state -

Fix:

Discrepancy Scenario 3