Incorrect status in QC test set.

Question ID: 105317

We are having an issue in QC, when we run a QTP test and the test cannot find an object in the object repository the test fails in the Automatic Runner and when we close the automatic runner in QC the test is actually passed in the test set. Why do we get a different status in the Automatic Runner than in the actual test results in the test set? We have noticed that this only happens when we set "reporter.filter = rfdisableall" in the QTP script. What can we do to fix this?

Marked as spam
Posted by (Questions: 98, Answers: 0)
Asked on February 21, 2014 7:42 pm
Answers (1)
Private answer

This is expected behavior, you are telling QC/QTP to ignore all of the errors and warnings in the QTP script such as the object not being found in the object repository. I would suggest setting the option to ''reporter.filter=rfEnableErrorsAndWarnings'' instead so that you don't see the discrepancy when the status is reported back to QC.

Marked as spam
Posted by (Questions: 0, Answers: 364)
Answered on February 21, 2014 7:46 pm