Re: [Sikuli-driver] [Question #658320]: compare two highcharts images doesn't work

2017-09-19 Thread jessica xu
Question #658320 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/658320

Summary changed to:
compare two highcharts images doesn't work

-- 
You received this question notification because your team Sikuli Drivers
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 #658320]: compare two images doesn't work

2017-09-19 Thread jessica xu
Question #658320 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/658320

Description changed to:
I want to compare a local image with the current screenshot.
Here is my code:
BufferedImage bf = screen.capture().getImage();
Finder comp = new Finder(bf);
comp.findAll(new Pattern("localimagepath"));
 if(comp.hasNext()){
description("match found");
}
else{
 description("no match");
}

I have a dashboard which contains Highcharts. My purpose is to test
whether the linechart is correct or not. So the local image is the
screenshot of the correct chart and I want to take a screenshot of the
chart in dashboard and check if it matches the local image.

 but the result is always 'no match'.  Besides charts, dashboard has one
dropdown . The weird thing is Sikuli is able to find the match between a
dropdown image and screenshot, but not between charts and screenshot.

Does sikuli is incompatible with Highcharts?  What's the difference
between dropdown image and charts image? Why sikuli is able to match
dropdown, but not the charts?

-- 
You received this question notification because your team Sikuli Drivers
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 #658320]: compare two images doesn't work

2017-09-19 Thread jessica xu
New question #658320 on Sikuli:
https://answers.launchpad.net/sikuli/+question/658320

I want to compare a local image with the current screenshot.
Here are my code:
BufferedImage bf = screen.capture().getImage();
Finder comp = new Finder(bf);
comp.findAll(new Pattern("localimagepath"));
 if(comp.hasNext()){
description("match found");
}
else{
 description("no match");
}

I have a dashboard which contains Highcharts. My purpose is to test whether the 
linechart is correct or not. So the local image is the screenshot of the 
correct chart and I want to take a screenshot of the chart in dashboard and 
check if it matches the local image.

 but the result is always 'no match'.  Besides charts, dashboard has one 
dropdown . The weird thing is Sikuli is able to find the match between a 
dropdown image and screenshot, but not between charts and screenshot.

Does sikuli is incompatible with Highcharts?  What's the difference between 
dropdown image and charts image? Why sikuli is able to match dropdown, but not 
the charts?

-- 
You received this question notification because your team Sikuli Drivers
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 #658320]: compare two images doesn't work

2017-09-19 Thread jessica xu
Question #658320 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/658320

Description changed to:
I want to compare a local image with the current screenshot.
Here is my code:
BufferedImage bf = screen.capture().getImage();
Finder comp = new Finder(bf);
comp.findAll(new Pattern("localimagepath"));
 if(comp.hasNext()){
description("match found");
}
else{
 description("no match");
}

I have a dashboard which contains Highcharts. My purpose is to test
whether the linechart is correct or not. So the local image is the
screenshot of the correct chart and I want to take a screenshot of the
chart in dashboard and check if it matches the local image.

 but the result is always 'no match'.  Besides charts, dashboard has one
dropdown . The weird thing is Sikuli is able to find the match between a
dropdown image and screenshot, but not between charts and screenshot.

Is sikuli  incompatible with Highcharts?  What's the difference between
dropdown image and charts image? Why sikuli is able to match dropdown,
but not the charts?

-- 
You received this question notification because your team Sikuli Drivers
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 #657940]: Help me automate my video game process

2017-09-19 Thread DAVID MASTROIANNI
Question #657940 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/657940

Summary changed to:
Help me automate my video game process

Description changed to:
First issue: typing text

LINE 11: wait("image", FOREVER)
LINE 12: type(494692200)

error shown below:
[error] script [ Star Wars 1st try ] stopped with error in line 12
[error] TypeError ( type(): 1st arg can't be coerced to String )

-- 
You received this question notification because your team Sikuli Drivers
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 #658038]: [1.1.1] subprocess.Popen does not seem to work on macOS 10.12+

2017-09-19 Thread Ryan
Question #658038 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/658038

Ryan posted a new comment:
Hrmmm ok, I will have a look at my setup - I might not have fully
cleared out the old version.

-- 
You received this question notification because your team Sikuli Drivers
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