Re: [Sikuli-driver] [Question #252744]: I have a problem while comparing the images in Sikuli

2014-08-11 Thread kumar
Question #252744 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252744

kumar posted a new comment:
As per your suggestion,I tried it for my desktop application but it is
not working.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252744]: I have a problem while comparing the images in Sikuli

2014-08-11 Thread kumar
Question #252744 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252744

kumar posted a new comment:
The following error message is displayed:

 text was disabled.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252744]: I have a problem while comparing the images in Sikuli

2014-08-11 Thread Eugene S
Question #252744 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252744

Eugene S requested more information:
Hi,

Can you please specify what's not working exactly?

Cheers,
Eugene

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #252744]: I have a problem while comparing the images in Sikuli

2014-08-07 Thread kumar
New question #252744 on Sikuli:
https://answers.launchpad.net/sikuli/+question/252744

I tried it with in the following way:

I stored my expected image in my local directory and I should compare with 
actual image which is displaying on my screen. 
To achieve this I tried with pattern feature but it is not showing any error 
when i pass different image which was not related to that actual image

Code:

Finder finder = new Finder(File Path);

finder.find(File Path);


Please any one can help me on this issue.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #252744]: I have a problem while comparing the images in Sikuli

2014-08-07 Thread RaiMan
Question #252744 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252744

Status: Open = Answered

RaiMan proposed the following answer:
if not exists(path-to-my-expected-image.png, 0):
print screen display not as expected
else:
print screen display is as expected

if it makes sense: you might restrict the region where you expect the image to 
be and use
expected_region.exists()

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp