I'm having trouble with running QTP using just VBScript and generating the results.

When running the test set from vb, the Results.xml file is not being generated unless I run the script from QTP itself.

I have a script to convert the xml to html but the test results do not update so it just connects to the results for the previous test.

I'm using the QC OTA

Is there a way of forcing the Results.xml file to update at any stage of the run, i.e. whether its cancelled or completed or failed.