expected and actual result in qc using qtp code
I am using QTP 8.2 and QC. Some of my queries are as follows:-
1.)I have to write the Expected and Actual Result in QC using QTP code. Its working fine for Checkpoints but it does not work for all the conditions I want to write Expected and Actual result and display it in the Test Run.
2.)I have to report a defect automatically in QC if any step fails in QTP Test Script. I have tested it for checkpoints its working fine but it does not work for all the conditions. Along with that if I want to all the details regarding that Defect How can I do that?
Please have a look. If you can send me some help file for the same that will a great help.