[Sikuli-driver] [Question #676032]: Is it possible to run sikulix-setup with local copy of maven-metadata.xml

2018-11-08 Thread John Verber
New question #676032 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676032

I've spent most of the day downloading RPM packages for sikulix-1.1.3.  We 
tried 1.1.4 but couldn't figure out the whole opencv_java missing issue.  1.1.3 
will work fine.  I have all packages installed locally and have tested using 
yum localinstall *.rpm.  Problem arises when I get to the part of the setup 
that goes out and gets a copy of maven-metadata.xml.  Is there a way to run 
this locally?  Our system cannot be hooked up to a network so that part of 
setup fails for us.  I attempted to just save the page as maven-metadata.xml 
but that didn't work.  Any thoughts or suggestions on this? 

-- 
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 #676000]: masked part is not ignored

2018-11-08 Thread BOCHENG YIN
Question #676000 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676000

Status: Answered => Open

BOCHENG YIN is still having a problem:
Thanks!

On Thu, Nov 8, 2018 at 3:57 PM masuo 
wrote:

> Your question #676000 on Sikuli changed:
> https://answers.launchpad.net/sikuli/+question/676000
>
> Status: Open => Answered
>
> masuo proposed the following answer:
> reg=Pattern("1541610697055.png").mask()
> r1 = find(reg).highlight(1,"green")
> r1 is a match object, not "1541610697055.png".
>
> If you want to search "1541610784910.png" in "1541610697055.png", use
> Finder().
> https://sikulix-2014.readthedocs.io/en/latest/finder.html
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/sikuli/+question/676000/+confirm?answer_id=4
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/sikuli/+question/676000
>
> You received this question notification because you asked the question.
>

-- 
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 #676029]: unsatisfied link error: no opencv_java in java.library.path

2018-11-08 Thread Desire
New question #676029 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676029

I'm trying to use sikulix on my Centos 7 machine. We are trying to embark on 
the endeavor at my job to start automating some test procedures. 

I installed OpenCV and Tesseract. And installed all necessary rpms that i found 
on this page and other blog posts and I'm trying to use the newest version of 
sikuli which is 1.1.4. 

additional rpms that i installed prior:

yum install gcc
yum install cmake
yum install git (should already have this installed)
yum install gtk2-devel
yum install pkgconfig
yum install python-pip
yum install numpy
yum install python-devel
yum install ant
libpng-devel libjpeg-turbo-devel jasper-devel openexr-devel libtiff-devel 
libwebp-devel (for various image files)
yum install python devel python-nose python-setuptools gcc gcc-gfortran gcc-c++ 
blas-devel lapack-devel atlas-devel

There was even opencv rpms which i also installed to see if it got rid of the 
error but still had same error. 


When i try to run java -jar sikulix.jar i get the error:

[error] RunTimeIDE: loadLib: opencv_java not usable: 
java.lang.UnsatisfiedLinkError: no opencv_java in java.library.path
[error] RunTimeIDE:  *** terminating: problem with native library: opencv_java

But from everything I read after building Opencv i should have 
libopencv_java343.so library which was generated under my 
/usr/local/share/OpenCV/java/ folder. 

So my question is what is this opencv_java library that it's asking for? None 
of the information I have found even mention this library. Any help will be 
appreciated. 

-- 
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 #676023]: Scroll down drop-down menu and select country

2018-11-08 Thread masuo
Question #676023 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676023

Status: Open => Answered

masuo proposed the following answer:
set timeout =0 for exists(), it will be faster than it is now.
https://raiman.github.io/SikuliX1/javadocs/org/sikuli/script/Region.html#exists(PSI,double)

But if it takes 600 seconds now, even if it gets faster it will be 200
seconds.

-- 
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 #676000]: masked part is not ignored

2018-11-08 Thread masuo
Question #676000 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676000

Status: Open => Answered

masuo proposed the following answer:
reg=Pattern("1541610697055.png").mask()
r1 = find(reg).highlight(1,"green")
r1 is a match object, not "1541610697055.png".

If you want to search "1541610784910.png" in "1541610697055.png", use Finder().
https://sikulix-2014.readthedocs.io/en/latest/finder.html

-- 
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 #676000]: masked part is not ignored

2018-11-08 Thread BOCHENG YIN
Question #676000 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676000

Status: Answered => Open

BOCHENG YIN is still having a problem:
Hi, Masuo, 
I am confused! I do read the tutorial you pushed before I posted the question. 
The masked image is the same in total size with the image when the black mask 
is taken off. 
What do you mean about the size? 
Do you mean the masked part must be on the edge as a frame? Can it be in the 
center? 
Thanks!

-- 
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 #676023]: Scroll down drop-down menu and select country

2018-11-08 Thread monicar
Question #676023 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676023

monicar posted a new comment:
  Match header = screen.find(country);
region =header.below(150).left(5).left(1).right(1000);
do {
if (region.exists(country) != null)//
{
region.click(country);
Flag = 1;
break;
} else {
region.type(Key.DOWN);
}
} while (Flag != 1);

Above code is working but to select United States it taking more than 10 mins  
by type Enter on each value and checking if that value exists
Please help

-- 
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 #676008]: API in Java, running JAR displays API::JavaScriptRunner 1.1.4

2018-11-08 Thread Dado
Question #676008 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676008

Status: Answered => Open

Dado is still having a problem:
in the end I was able to fix it someway, but it's a workaround not a real 
solution.
I don't have experience in Java nor in Intellij Idea so probably is something 
stupid that I'm making wrong, 
the problem is that in the final JAR that I'm producing (using JAR Artifact in 
the IDE) I have a META-INF folder that is coming from the sikulixapi.jar 
library, and inside that folder there is this manifest:

Manifest-Version: 1.0
Archiver-Version: Plexus Archiver
Created-By: Apache Maven 3.5.2
Built-By: travis
Build-Jdk: 11.0.1
Main-Class: org.sikuli.script.Sikulix

as you can see the main class is "org.sikuli.script.Sikulix" that I
suspect is what is running now.

The problem so is that in my final JAR I don't find the Manifest I have
in the IDE that is correct and point to my class as Main-Class , but
there is Sikulixapi Manifest.

As a workaround I solved opening the sikulixapi.jar file and changed the
manifest to point to my class but this is more a workaround than a
solution, very dirty!

any suggestion please?

thanks
bye
Dado

-- 
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 #676023]: Scroll down drop-down menu and select country

2018-11-08 Thread monicar
Question #676023 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676023

monicar posted a new comment:
I tried the following code:

 do {
if (region.exists("UNITED STATES") != null)//
{
region.click("UNITED STATES");
Flag = 1;
break;
} else {
region.type(Key.DOWN);
}
} while (Flag != 1);

No luck. Let me know what i am missing

-- 
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 #676023]: Scroll down drop-down menu and select country

2018-11-08 Thread monicar
New question #676023 on Sikuli:
https://answers.launchpad.net/sikuli/+question/676023

I am automating Flash application using Sikuli ,IntelliJ and Selenium 
WebDriver. I am trying to select a country from drop down menu. Using the 
following code:

 while(screen.exists(country)!=null){
screen.type(Key.DOWN);
screen.click(country);

}

Instead of clicking United states, it's selecting the first value that is 
Afghanistan.



-- 
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 #676008]: API in Java, running JAR displays API::JavaScriptRunner 1.1.4

2018-11-08 Thread RaiMan
Question #676008 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/676008

Status: Open => Answered

RaiMan proposed the following answer:
Select the right main function 
Cannot be that from the sikulixapi.jar

-- 
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 #675470]: Images not recognized 1.1.4

2018-11-08 Thread Launchpad Janitor
Question #675470 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/675470

Status: Needs information => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Needs information'
state without activity for the last 15 days.

-- 
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