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
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