Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bitmap Image
#1
Solved: 8 Years, 2 Months, 3 Weeks ago
Hi Ankur,


Is it possible to capture the bitmap image of our application and place the same in to the report sheet.

My application is a jave based application, in certain place i might get an expected negative result. In such case I need to capture the bitmap image and put the same in to the report sheet (report warning).

What I tried is
RV = JavaWindow("Project").CaptureBitmap("C:\Rajesh Training\Exported mlm\Compilation Error.bmp")
Reporter.ReportEvent micWarning, "MLM has a compilation error, please see the error message in the location C:\Rajesh Training\Exported mlm\Compilation Warning.bmp.", RV


Here RV is a variable which is storing the bitmap image in the above location but it is not displaying the image in the report sheet.

It is displaying RV = Empty.

Please let me know your comments.
Reply


Messages In This Thread
Bitmap Image - by Rajesh - 05-15-2008, 12:15 AM
RE: Bitmap Image - by Ankur - 05-21-2008, 12:44 AM
RE: Bitmap Image - by Rajesh - 05-22-2008, 11:37 AM
RE: Bitmap Image - by Rajesh - 05-22-2008, 12:22 PM
RE: Bitmap Image - by Ankur - 05-22-2008, 12:38 PM
RE: Bitmap Image - by Rajesh - 05-22-2008, 09:10 PM
RE: Bitmap Image - by Rajesh - 05-25-2008, 05:10 PM
RE: Bitmap Image - by Ankur - 05-26-2008, 04:14 PM
RE: Bitmap Image - by Rajesh - 05-26-2008, 04:51 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  QTP - each step screenshot bitmap in to word balamurali 0 2,265 02-07-2018, 10:06 PM
Last Post: balamurali

Forum Jump:


Users browsing this thread: 1 Guest(s)