SystemUtil.Run "C:\Program Files\Internet Explorer\IEXPLORE.EXE", "www.gmail.com"
wait(2)
path = "C:\Documents and Settings\qa\Desktop\screenn.png"
Browser("Title:=.*").page("Title:=.*").CaptureBitmap path
Reporter.ReportEvent micPass, "Screenshot", "Captured screen shot", path
wait(2)
path = "C:\Documents and Settings\qa\Desktop\screenn.png"
Browser("Title:=.*").page("Title:=.*").CaptureBitmap path
Reporter.ReportEvent micPass, "Screenshot", "Captured screen shot", path
No comments:
Post a Comment