Friday

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!

2 comments:

  1. 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
  2. Hi,

    Technology Specific Guide for QTP is a new book that has got great feedback from all the readers. It will get you started on the path of automation, introducing solutions, roadblocks, patches and ideas that will give you a solid foundation in the field of automation. Everyone from a novice user to an automation expert will have something they would have never heard of or used.

    http://bluemagic-automation.blogspot.in/

    Best Regards,
    Aditya.

    ReplyDelete