Re: [Sikuli-driver] [Question #383018]: Connection refused error.

2016-09-21 Thread Launchpad Janitor
Question #383018 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/383018

Status: Open => Expired

Launchpad Janitor expired the question:
This question was expired because it remained in the 'Open' 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


[Sikuli-driver] [Question #383018]: Connection refused error.

2016-09-06 Thread Raghavender
New question #383018 on Sikuli:
https://answers.launchpad.net/sikuli/+question/383018

Hi ,

I have installed robotframework(3.0) and sikulilibrary in a linux server. I, 
when i run a robot script it throws following error


bash# jybot nex_passivea.txt
==
Nex Passive :: Sikuli Library Demo
==
launch NEX application| FAIL |
Connection to remote server broken: [Errno 111] Connection refused
--
Nex Passive :: Sikuli Library Demo| FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==
Output:  /tmp/robot_scripts/output.xml
Log: /tmp/robot_scripts/log.html
Report:  /tmp/robot_scripts/report.html


the same setup Robotframework(3.0) and SikuliLibrary is working in another 
Linux server.

Here is my script:

*** Settings ***
Documentation Sikuli Library Demo
Test SetupAdd Needed Image Path
Library SikuliLibrary 


*** Variables ***

*** Test Cases ***
launch NEX application
launch VNC
Start citrix client
launch application
Exit NEX


*** Keywords ***
Add Needed Image Path
Add Image Path  /tmp/robot_scripts/img/ 

launch VNC
Wait Until Screen Contain   login.png   60
Input Text  login.png   ep1
click   login_ok.png
Wait Until Screen Contain   ep1_verify.png  30
Input Text  login.png   spd20st2
Sleep   2s
Click   login_ok.png
Wait Until Screen Contain   cex_citrix_farm.png 60


Start citrix client
${passed}=  Run keyword and return status   screen should contain   
opload.png
Sleep   5s
Run keyword if  ${passed}   double clickopload.png  
Sleep   5s

launch application
Input Text  username.pngnex2au1 
Sleep   2s
click inpassword.pngpassword1.png
Input Text  pass.pngAFhl2016!   
Sleep   2s
Click   ok
Wait Until Screen Contain   nex_header.png  180

Exit NEX
:FOR${index}IN RANGE700  
\   Click   nex_header.png
\   Sleep   120s
Sleep   3s
Click   nex_header.png
Click   network.png
Sleep   2s
Click   nex_exit.png



Documentation:  

here is the output from log.html file


Start / End / Elapsed:  20160906 09:59:36.941 / 20160906 09:59:37.248 / 
00:00:00.307
09:59:36.944TRACE   Arguments: [ 'login.png' | '60' ]   
09:59:37.245FAILConnection to remote server broken: [Errno 111] 
Connection refused  
09:59:37.247DEBUG   Traceback (most recent call last): File 
"/usr/jython/Lib/site-packages/SikuliLibrary/sikuli.py", line 167, in 
run_keyword return self.remote.run_keyword(name, arguments, kwargs) File 
"/usr/jython/Lib/site-packages/robotframework-3.0-py2.7.egg/robot/libraries/Remote.py",
 line 90, in run_keyword result = RemoteResult(self._client.run_keyword(name, 
args, kwargs)) File 
"/usr/jython/Lib/site-packages/robotframework-3.0-py2.7.egg/robot/libraries/Remote.py",
 line 227, in run_keyword raise RuntimeError(message)
09:59:36.924TRACE   Arguments: [ ]


Regards,
Raghu

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