Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Hi RaiMan,
I am suspecting issue in pathonpath in my robottest.bat . I have
installed python in C:\Python27. Should I refer this is python
installation path?
@echo off
set
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Hi RaiMan,
Could you please look into the above error.
I am new to RFW and Sikuli. I am unable to fix this error.
Please guide me on this.
Thanks,
Balu
--
You received
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Hi RaiMan,
I tried the example given in
http://stackoverflow.com/questions/27039016/how-to-create-custom-
python-code-library-for-robot-framework using my robottest.bat. Its
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Thanks Raiman,
I am following-up in my own question in :
https://answers.launchpad.net/sikuli/+question/261208
Thanks,
Balu
--
You received this question notification
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
RaiMan posted a new comment:
seems to be some combined problem of Windows7 32bit +
robotframework-2.5.5 + jython2.5.4rc1
So as a first step you should try with the latest robot framework
If this does not
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Hi RaiMan,
I have used robotframework-2.8.5.jar now.
Its throwing following erro:
C:\Users\symbol\Desktop\Projects\Sikuli Projects\calc.sikulirobottest.bat verif
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
RaiMan posted a new comment:
ok, fine, then now it principally works.
It seems you have to revise your project structure and either adapt this
or the Library setting in verify_operations.txt.
… but this is
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Hi RaiMan,
Thanks for your reply.
Followed this steps that Tset suggested. But still I am getting some
errors. Could you please help me to fix this.
Below is my current
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Hi Raiman,
Thanks for your reply.
I tried to use both the following one by one in verify_operations.txt:
Library calc.Calculator WITH NAME Calculator
Library
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
balu posted a new comment:
Hi Greg/Raiman,
We are also seeing the same issues that you have seen while running
robot test. From last three days We are trying to fix those errors.
But we are unable to
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
RaiMan posted a new comment:
@balu
the current discussion takes place in the original post
http://blog.mykhailo.com/2011/02/how-to-sikuli-and-robot-framework.html
--
You received this question notification
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Solved
Greg 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,
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Greg posted a new comment:
Thank you Raiman for your precious help and your very good support.
I'm now ready to test with Sikuli and RobotFRW
See you later for a new question :)
Greg
--
You received this
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
RaiMan posted a new comment:
Thank you also:
you finally convinced me, to add some support for RFW into Sikuli.
It fits very well as some testing framework and on the JRuby side, I will add
support for
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
Hi RaiMan,
I try with your modifications but it is failed again. But maybe I have
more information to give you due to Debug mode.
Just one thing
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
ok, nearly there:
--- I don't understand why I have this line :
This is standard behavior, just ignore it (it is no problem, if it does not
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
Yes sorry, I've just been thinking to log out/ log in and it is better ...
So with robotframework-2.8.5.jar here is now the result :
[debug]
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
ok, then you should now switch off the logging and try to run your test:
in calc you only need the 2 lines at the beginning
import
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
Ok I modified as you said.
I think now that a resource is missing :
C:\work\calc_step1robottest.bat
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
ok, now you have to bring back Mike's content to calc.py.
--
You received this question notification because you are a member of
Sikuli
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
in calc.py it is the Mike's content but what I don't understand is the
following:
in calc.py I see :
def startApp(self):
calcApp =
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
This is RFW specific how to deal with such strings.
As far as I understood, you have some freedom about what you write and RFW will
try to
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
RaiMan proposed the following answer:
this test.txt works for me
*** Settings ***
Library stuff/calc.sikuli/calc.py
*** Test Cases ***
Verify that 2 + 2 = 4
Start App
Verify App
Perform
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
RaiMan proposed the following answer:
uups it has stollen the additional blanks:
one dot means one blank (as far as I remember: at least 2 blanks proceed
to the next column
*** Test Cases ***
Verify that 2
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Greg gave more information on the question:
in calc.py I modified this :
class Calculator(object):replaced byclass calc(object):
...
...
...
if __name__ == __main__:
calc = Calculator()
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
ok, now I got the secret behind all this:
- if you want to use a class inside a module, then the class name has to
be the same as the
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
I'm a little lost,
So I come back to robottest.bat.
I removed sikuli-script.jar and put sikuli-java.jar instead
I got the Lib library from
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Greg gave more information on the question:
I 'm currently trying something else.
From robotsuite_verifyoperations.txt the library was called like this :
*** Settings ***
Library calc.Calculator
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
according to the RFW docs this should do the job:
java -Xbootclasspath/a:path-to-…sikuli-java.jar -jar
robotframework-2.8.5.jar run
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
Now in my robottest.bat, I put this :
@echo off
java -Xbootclasspath/a:C:\work\calc_step1\sikuli-java.jar -jar
robotframework-2.5.5.jar run
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
--- May I need to put in comment all lines begining by Debug.log(3, in
sikuli.py and __init__.py
surely not!!!
I will test now myself
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
I added -Dsikuli.Debug=3 to have more information when I run with
robotframework 2.8.1 or 2.8.5
and I got the following message
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
Ok, this works for me (using variables to make it better readable:
the general java command is:
java -cp sikuli-java.jar:robotframework.jar
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Answered = Open
Greg is still having a problem:
I setup again 1.0.1 and got sikuli-java.jar
But now when i run testrun.bat I got the folowing message : no main manifest
attribute, in
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Greg gave more information on the question:
I added 'Main-Class: org.sikuli.script.SikuliX' in 'MANIFEST.MF', and
then run 'java -jar sikuli-java.jar -r test.sikuli' from cmd.
and I got the following
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Status: Open = Answered
RaiMan proposed the following answer:
sikuli-java.jar is not runnable and cannot run scripts, because it does
not contain Jython. But that's the intention ;-)
To run your
Question #252490 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/252490
Summary changed to:
[1.0.1] Sikuli integration Robot framework --- use sikuli-java.jar
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for
37 matches
Mail list logo