← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #200768]: Matchin Screen Shots

 

Question #200768 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/200768

Description changed to:
Hi Team

                I am trying to match screenshots by find()  function in java program
ScreenShot1- Taken Manually 
ScreenShot2-Taken by piece of code

Finder IEFinder = new Finder(imgPathName);
              if (IEFinder!=null) {
                     IEFinder.find("path of screenshot",0.96);
                     if (IEFinder.hasNext()){
                           LOGGER.info("Header is Same as Expected in  "+ browserName + ", as per our Functional specification.  - Pass!");
                     }else {
                           LOGGER.info("Error: Header is NOT Same as expected in  "+ browserName + "  Browser  - Fail");
                     }

Here I am getting some uneven results sometimes fail and some time pass

Please help me out as-- I want to match GUI of webpage for different
browsers.

Approach--What we are doing is-We are matching screenshots taken
manually with the screen shots taken at run time ,What we have analyzed
is there is a difference between resolutions of screen shots (manually
taken and taken at run time).

Please help me it is very urgent

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.