How to take screenshots and paste it in a word /excel file using selenium web-driver?

863 views
Skip to first unread message

VenS

unread,
Jul 18, 2013, 7:48:54 AM7/18/13
to webd...@googlegroups.com
Hi Group members,

How to take screenshots and paste it in a word /excel file using selenium web-driver?

Please let me if any approach


Regards
-VenS

darrell

unread,
Jul 19, 2013, 2:43:34 PM7/19/13
to webd...@googlegroups.com
Language? If you are using the Java bindings, most implementations of WebDriver also implement TakesScreenshot. Read the APIs for WebDriver and it will show you how to use the getScreenshotAs() method. Once you have the screenshot, find a library which will take the screenshot you have and save it to a Word or Excel file. Follow the instructions for the Word or Excel library.
Reply all
Reply to author
Forward
0 new messages