Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to generate QTP report in a new file(html)?
#4
Solved: 11 Years, 3 Months, 3 Weeks ago
Try the below

Code:
TS = replace(replace(replace(now() , "/" , "_") , ":" , "_") , " " , "_")
Set objFileSystemObject = CreateObject("Scripting.FileSystemObject")
path1="D:\QTP_R22\DDF\Report\gsReportFile_"&TS& ".html"
Set objTextFileObject= objFileSystemObject.CreateTextFile(path1,True)
Reply


Messages In This Thread
RE: How to generate QTP report in a new file(html)? - by ssvali - 10-19-2012, 11:37 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Customized HTML reports in QTP azeem 11 49,434 12-31-2016, 02:57 PM
Last Post: chevronneraji
  [UFT] Get text into DIV through HTML tag robertosalemi 2 5,517 03-29-2016, 09:43 PM
Last Post: robertosalemi
  Report Viewer showing hundreds of WebElement.Exists? themoon 1 2,335 03-09-2016, 02:43 PM
Last Post: vinod123
  How to attach HTML file to Email Naresh 0 3,063 04-06-2015, 02:04 PM
Last Post: Naresh
  Unable to generate Scripts using QTP11 Divya Roopa 1 2,078 03-05-2014, 09:07 AM
Last Post: basanth27

Forum Jump:


Users browsing this thread: 1 Guest(s)