We use captureBitmap method for the same, however file name extension should be .png or .bmp.
this is the syntex for capturing the snap shot and display into the result summary. Please let me know if any question/ suggestion
MyFile="ErrorFile.png"
Browser("").Page("").CaptureBitmap MyFile,True
Reporter.ReportEvent micPass,"Out of Sequence Endorsement Snap","The Step Description is",MyFile
No comments:
Post a Comment