googleid_111025New Contributor12 years agoTaking screenshot and save image into a given folderHi ,I just writing VB scripts which wil take an screen of the web page and save image in give folder.Currenlty I am using following script which save image in log floder.Function Take_Screenshot(myurl002,comment)Call Log.Picture(Sys.Browser("iexplore").Page(myurl002).Picture, comment, "")End Function
googleid_111025New Contributor12 years agoHi,Found the solution.Following VB funtion will do the work.Dim FilePathFilePath = "C:\Foldername\test.jpg"Function Take_Screenshot(FilePath)Sys.Desktop.Picture.SaveToFile FilePathEnd Function
googleid_111025New Contributor12 years agoHi,Found the solution.Following VB funtion will do the work.Dim FilePathFilePath = "C:\Foldername\test.jpg"Function Take_Screenshot(FilePath)Sys.Desktop.Picture.SaveToFile FilePathEnd Function
Recent DiscussionsTestExexute sometimes not recognizing objectKeys method sometimes adds period(.) in the middle of textHow to fully automate test complete UI test cases flow
Related ContentDisable taking screenshot with On-Screen ActionTestLeft is not taking screenshots when events occurs.Take a region screenshot of the right click menu?