05-22-2008, 09:10 PM
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.
With Space:
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.
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.", " <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.", " <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.