Solution to warning in Quality Center shows FAIL
I am sure a lot of QTP users who run their tests from quality center must have noticed that a test passes with warning , but when the test set is closed it turns into fail.
Solution: The best way is to modify the registry setting or use the below code: WshShell.RegWrite"HKEY_LOCAL_MACHINE\SOFTWARE\Mercury Interactive\QuickTest Professional\"&_ "Logger\Media\TD\TreatWarningAs","TREAT_AS_PASS","REG_SZ"
If the tests are failing the key (TreatWarningAs)would have "TREAT_AS_FAIL" change this to TREAT_AS_PASS and you would be relieved for sure ;)
Hope this helps,
Happy Testing!
Software Testing plays an important role in Software Development lifecycle. Doing manual testing is not enough. We should go for Automation Testing also. "To Error is Human" is the fact which drives the need for automation testing.
ReplyDelete