how to export test results from QTP to QC - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others) +--- Thread: how to export test results from QTP to QC (/Thread-how-to-export-test-results-from-QTP-to-QC) |
how to export test results from QTP to QC - uma87 - 09-16-2011 Hi , I'm new to QC, can anyone help me how can i export test results after every run from qtp to qc. I want all mytest results as attachments (either as PDF, word or excel formats) at one place. I run all my test scripts from QC. After Run, instead of going to each test script and launch report , is there any option to save the test results as attachment in QC or save them in a specific folder? Any work arounds for this isssue? RE: how to export test results from QTP to QC - vIns - 09-17-2011 Hi, The results would have got already stored as an attachment if you are running it from QC. Plz check. RE: how to export test results from QTP to QC - uma87 - 09-21-2011 yes In QC, I can see the result when I launch report, but i want that report in a separate folder. is there any method that result after every Run can be saved in a specific folder either from QTP or QC RE: how to export test results from QTP to QC - guin.anirban - 09-27-2011 Hey for this you need to use filesystem objects and prepare some functions to store report in html or xls format. RE: how to export test results from QTP to QC - jyotikrushna - 09-27-2011 Hi, I have one logic to do that: 1. First define the environment in-built variable "ResultDir" under File->Settings in QTP script. 2. Then assign the value into a variable like: Test_Result_Path=Environment("ResultDir"), now the variable "Test_Result_Path" should contain the qtp test result location. 3. Now using file scripting object go to the result folder whose path contained by the variable "Test_Result_Path". 4. Now copy the Result folder from that path and paste at any location in QC or QTP RE: how to export test results from QTP to QC - uma87 - 09-29-2011 Thanks for the reply, but i did not get the last point copy the result folder from that path and paste in QC, QTP? i dont know where to paste ? also Can we define or change the in built environmnet variables , i did not find any option to do so. |