Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Answered = Solved
Atul Mirvankar confirmed that the question is solved:
I found the issue and my issue is resolved :-)
Thanks for your help Raiman. You are very helpful and instant
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar confirmed that the question is solved:
Thanks RaiMan, that solved my question.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Answered = Open
Atul Mirvankar is still having a problem:
I am still getting an error message as:
[error] TextRecognizer: init: tessdata folder not found at C:/SikuliX/libs/
[error]
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Answered = Open
Atul Mirvankar is still having a problem:
Yes it helped and the script executed properly.
Now the only problem is regResult.text() is showing --No Text--
Hence, it goes to
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar gave more information on the question:
Found out the cause, actually it is not finding and highlighting the
right side of calculator screen (where we get the numbers) that's why it
is showing
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Answered
RaiMan proposed the following answer:
This is an alternative to evaluate the result area:
App(Calculator).focus()
Region regResult = App.focusedWindow().grow(-22, -22, -70,
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
RaiMan proposed the following answer:
… but the --no text-- returned value means, that you still do not have
your text feature ready.
at the beginning of your code put:
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar posted a new comment:
Hey got the height and width but I am getting error as [error]
TextRecognizer: init: tessdata folder not found at C:/SikuliX/libs/
Hence, String txtResult =
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Needs information
RaiMan requested more information:
… height and width of image
of what image?
you have
Match m = s.getLastMatch()
and m is a Region that has m.w and m.h which
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Needs information = Answered
RaiMan proposed the following answer:
ok.
Did you run setup with the text option?
If you did, then just delete the libs folder once and start all over
with your
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Answered = Open
Atul Mirvankar is still having a problem:
Hi RaiMan,
Thanks for the code. I am able to execute the code successfully after
making some changes. However, I am getting error
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Answered
RaiMan proposed the following answer:
Region regResult = Region.create(s.getLastMatch().getTarget(), 69, -77);
// get the result field
not really clear what you want to say with
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar posted a new comment:
Ok!! 69 and -77 is x and y for target :-(
I dont know how to calculate or get the width and height.
--
You received this question notification because you are a member
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Answered = Open
Atul Mirvankar is still having a problem:
Your suggestions are helping but I am still not able to read the value.
I have written below code to read the value:
if
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
RaiMan proposed the following answer:
ok, you have to convert this to Java ;-)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar posted a new comment:
Well that's the problem. I have to convert it in JAVA and I am
stuck with IF condition. :-(
--
You received this question notification because you are a member
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
RaiMan proposed the following answer:
ok, in Java:
Screen s = new Screen();
Pattern imgRechner = new Pattern(titleOn.png).exact().targetOffset(-38,38);
// window title activated
if null =
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Answered = Open
Atul Mirvankar is still having a problem:
Hi RaiMan,
I was able to follow the instruction properly and I got the below error
when i tried to execute the script:
[error]
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Answered
RaiMan proposed the following answer:
As clearly mentioned in the docs and infos about how to setup 1.0.1+:
Do not use a folder in the program folder. Put the Sikuli stuff into
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar posted a new comment:
Hi RaiMan, any update or solution to my problem?
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Answered
RaiMan proposed the following answer:
still you did not answer my questions in comment #3
You have to use the Sikuli API correctly.
--
You received this question notification
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
RaiMan proposed the following answer:
repeating things does not make it clearer.
the mentioned link shoes how to access sikuli-script.jar in a Java
program, but does not talk about specific API features
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Answered = Open
Atul Mirvankar is still having a problem:
Thanks, I will go through it.
Can you tell me the solution for which I am trying for How to verify
the value (200) from calculator. I
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Answered
RaiMan proposed the following answer:
SikuliX has the OCR feature Region.text()
see docs
about problems and advices you find many entries here.
--
You received this question
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar posted a new comment:
I have downloaded Sikuli X from the link you have provided but after
installing it I didn't find sikuli-java.jar in the folder. I have
already added sikuli-script.jar in
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar posted a new comment:
I am unable to import import org.sikuli.basics.SikuliXforJython; in
eclipse.
--
You received this question notification because you are a member of
Sikuli Drivers,
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
RaiMan proposed the following answer:
so you did not have run setup accordingly.
If you want the IDE + sikuli-java.jar select option 3
If you only want only sikuli-java.jar select option 4
This is clearly
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
RaiMan proposed the following answer:
… and if you decide to try 1.0.1, purge anything from your system and
environment, that belongs to RC3.
--
You received this question notification because you are a
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Needs information = Open
Atul Mirvankar gave more information on the question:
I have downloaded Sikuli-r930-win32 from Sikuli website. And then
added .jar files from downloaded version to my
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Needs information
RaiMan requested more information:
what is sikuli 1.6
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Needs information = Open
Atul Mirvankar gave more information on the question:
i installed sikuli 1.6
i have added sikuli .jar api to my selenium library and then i wrote
this code.
does that
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Atul Mirvankar posted a new comment:
if u want we can have a screeshare session. just mail it to me so that
you will get more idea on it.
--
You received this question notification because you are a member
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Needs information = Open
Atul Mirvankar gave more information on the question:
As I have mentioned in the description deskIcon is the location where
I have kept all the images.
I am able to
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Needs information
RaiMan requested more information:
what you wanted to do is clear - its somehow obvious.
... but you did not answer the question:
So where did you get your
New question #246694 on Sikuli:
https://answers.launchpad.net/sikuli/+question/246694
I have successfully able to configure Sikuli with Selenium Web Driver. When I
tried to automate calculator I was properly able to open calculator and click
on the buttons.
However, when I am not able to
Question #246694 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/246694
Status: Open = Needs information
RaiMan requested more information:
The API you are using is not SikuliX.
The imports seem to reference some RC3 stuff (sikuli-script.jar ??).
Version 1.0.1 does not
36 matches
Mail list logo