Display results as :

Rechercher Advanced Search

Latest topics
» how to connect DB in selenium webriver
Fri Oct 06, 2017 4:09 pm by anbarasi

» How find any text in browser screen and click on it?
Thu Oct 05, 2017 2:02 pm by sandeepkommineni

» Selenium Webdriver
Tue Oct 03, 2017 1:35 pm by PiyushBiswas

» GRID setup tutorial.
Wed Sep 27, 2017 4:29 pm by johnyapp

» Drag & Drop Between Windows Using Selenium Driver
Wed Sep 27, 2017 2:10 pm by 26rondel

» Check if window is closed / verify input
Sat Sep 23, 2017 10:21 pm by brainstir

» How to work on pages with AJAX in selenium?
Mon Sep 18, 2017 6:08 pm by azharuddin

» pause test until user press a key like F2
Wed Aug 09, 2017 11:10 pm by djnforce

» Selecting the input for auto populating element
Sat Jul 29, 2017 7:53 pm by kdabbara


Image capture and Comparison

View previous topic View next topic Go down

Image capture and Comparison

Post by Sujatha B on Thu Jun 23, 2011 1:57 pm


How to capture the screen shots in the selenium? how to do image comparison in the Selenium. Please help me

Thanks in advance

Sujatha B

Sujatha B
Active particpant
Active particpant

Posts : 12
Join date : 2011-06-20

Back to top Go down

Re: Image capture and Comparison

Post by bmuralirao on Fri Sep 02, 2011 12:31 am

You can capture Screen shot using this selenium.captureEntirePageScreenshot("c:\\test.png","");


Posts : 4
Join date : 2011-07-23

Back to top Go down

Re: Image capture and Comparison

Post by yuvasakthip on Fri Sep 02, 2011 12:18 pm

Hi ,

I need to capture more than 1000 Screen Shots from a particular website so will this command helpful ?
Is there any other Tool which Capture and Compare Screen Shots Automatically and gives the Difference in Image in a separate folder ??

Please help me and give some ideas ASAP.

Yuva Sakthi


Posts : 3
Join date : 2011-06-23

Back to top Go down

Re: Image capture and Comparison

Post by selftechy on Thu Sep 15, 2011 6:50 pm

using captureScreenShot API of Selenium we can capture the screenshot. I think for the task you needed to accomplish, it is good write a Java method which compares the images bit by bit and gives you the result. That is possible. Search google for image comparison in Java. Use the technique with Selenium tests.


Posts : 9
Join date : 2011-09-14
Location : Bangalore, India

Back to top Go down

Re: Image capture and Comparison

Post by Sponsored content

Sponsored content

Back to top Go down

View previous topic View next topic Back to top

Permissions in this forum:
You cannot reply to topics in this forum