Forum Discussion
dmiscannon
10 years agoFrequent Contributor
djadhav
10 years agoRegular Contributor
I have frequently used the PagePicture method effectively. Although it does not use coordinates, but takes shots of a particular application.
example:
PUBLIC FUNCTION LogPagePicture(ByVal picName)
DIM src_Path, dest_Path
src_Path = Log.Picture(Sys.Browser("*").Page("*").PagePicture,"Application Picture")
dest_Path = Project.Variables.WORKING_FOLDER_PATH & "\" picName & ".png"
'Copy file from src_Path to dest_Path
Log.Message(dest_Path)
END FUNCTION