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

I have removed that space on the variable and tried many times.
Even now my result sheet is not displaying the captured bitmap
I have tried by modifing the last line with and without space.

Code:
errorpath = "C:\Rajesh Training\Exportedmlm\CompilationWarning.bmp"
JavaWindow("MainWindow").CaptureBitmap errorpath,True
Reporter.ReportEvent micFail,"Compilation error is displayed.", "&nbsp<img src='"&errorpath&"'>"

With Space:

Code:
errorpath = "C:\Rajesh Training\Exportedmlm\CompilationWarning.bmp"
JavaWindow("MainWindow").CaptureBitmap errorpath,True
Reporter.ReportEvent micFail,"Compilation error is displayed.", "&nbsp<img src='" & errorpath &"'>"

I am geting just a text result as how it is written in the report.

If possible could you please attach your result sheet so that i can see that once.
My application is a Java based application, Is a this a reason I am not geting the expected result ? I am not sure.
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,274 02-07-2018, 10:06 PM
Last Post: balamurali

Forum Jump:


Users browsing this thread: 1 Guest(s)