Friday, 26 September 2014

Capturing Screen shot and added to results

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

No comments:

Post a Comment