Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to open IE when QTP is already launched
#3
Solved: 11 Years, 4 Months ago
Hi,

U can generate the screenshots in the QTP generated report itself. Just follow the below code:
'just give the relative path
filename="C:\Documents and Settings\kspl601\Desktop\Sample\RFC-Screenshot1.bmp"
Browser("Browser").Page("Cool").CaptureBitmap filename,True
Reporter.ReportEvent micPass,"image","&lt;<img src='" & filename & "'>"

'this will store ur screenshot in the QTP generated report as well as in ur desired location where u stored ur file
Reply


Messages In This Thread
RE: Capture Screen Shots in the Results - by sankati praveen - 10-05-2009, 06:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP does not record the first step of open filight reservation application. Blossoms 9 17,740 07-20-2015, 05:50 PM
Last Post: AJAJ
  When QTP is open am not able to open my AUT. chetan3987 2 3,099 02-12-2014, 01:18 AM
Last Post: supputuri
  How to enter values into excel which is already open using QTP Narayanan 1 4,392 12-11-2013, 07:30 AM
Last Post: basanth27
  cannot open QTP tests learnasugo 8 9,263 10-18-2012, 11:28 AM
Last Post: Ankesh
  How to open html file and update values in particular cell of a table in QTP? yogesh kancherla 2 6,079 10-11-2012, 05:59 PM
Last Post: yogesh kancherla

Forum Jump:


Users browsing this thread: 1 Guest(s)