07-11-2010, 12:31 PM
Hi Kartik,
FYI, myImage is a 'Variable' not a 'Value' and hence you need to use Concatenation Operators such as '&' while passing a variable.
Go with the below way:
FYI, myImage is a 'Variable' not a 'Value' and hence you need to use Concatenation Operators such as '&' while passing a variable.
Go with the below way:
Code:
browser("title:=.* ").page("title:=.*").Image("file name:="&myImage).CaptureBitmap "c:\a.bmp"