Thursday, 21 July 2011

How to capture the bitmap and save all into one folder ?

Example:-
For i=1 to 10
 SystemUtil.Run "iexplore.exe","www.google.com",,,3
 a= "D:\vel\" & i &".bmp"
Browser("Google").Page("Google").WebEdit("q").Set a
Browser("Google").Page("Google").WebButton("Google Search").Click
Browser("Google").Page("Google").CaptureBitmap a,False
Browser("Google").Close
Next

No comments:

Post a Comment