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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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.