← Back to team overview

sikuli-driver team mailing list archive

[Question #200768]: Matchin Screen Shots

 

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

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.


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