Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to programmatically export/save the result to html
#5
Solved: 10 Years, 9 Months, 3 Weeks ago
Brother i assume you are able to run test with the help of external script, if so then do the following, it will do all what you required. If you could not run the test through script uptill now then tell me I can help you from scratch.

"hkey_local_machine\software\mercury interactive/quicktest progessional/logger/media/log" there will be a ACTIVE key, set the value to 1. Now if you navigate to your test result folder you will find a log folder in it(run a test and check it). Here will lie the html version of your TEST result. Now in the second step force the qtp to save the result at a specified location, you can do it by doing the following:

Code:
Set qtResultsOpt = CreateObject("QuickTest.RunResultsOptions")
qtResultsOpt.ResultsLocation ="give the path of the folder where you want to save this test result"
qtResultsOpt.test.run

Always Ready and happy to help!!!
Reply


Messages In This Thread
RE: How to programmatically export/save the result to html - by Usman Muzaffar - 02-25-2009, 01:20 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Not able to click the save button in Save As window while downloading from SAP kathirvelnagaraj 0 2,308 08-25-2015, 07:37 PM
Last Post: kathirvelnagaraj
  Dynamic obj rep - get text in the class (html) marcio cravo moreira 0 2,055 05-26-2015, 06:58 PM
Last Post: marcio cravo moreira
  regular expression in html sujaravi123 0 2,213 12-31-2013, 03:00 PM
Last Post: sujaravi123
  Excel to HTML results keerthi286 1 2,585 04-19-2013, 08:21 AM
Last Post: basanth27
  Save File1.xls as Text File1.txt with save as type - Text(Tab Delimited) Rupesh Singh 0 2,416 03-13-2013, 09:54 AM
Last Post: Rupesh Singh

Forum Jump:


Users browsing this thread: 1 Guest(s)