Hi,
Today I was trying to run eggPlant from command line and hit into this issue.
LogMessage = “Remote Connection Unavailable”; OtherButton = “”; ScriptError = “Runtime Error at line 15: No Remote Connection - typetext Error - Remote Connection Unavailable”;
}
When I run the same script from eggPlant GUI, the test succeeds.
Do I have to run any other command to enable remote connection from command line?
Note: The intent to run this from command line is to execute tests from Jenkins continuous integration tool which takes in shell/ bash commands.
Thanks,
Pavan
Here is the full console output:
C:\Program Files (x86)\Eggplant>runscript.bat “C:\eggPlant\main.suite\Scripts est.script” -CommandLineOutput=Yes -host="[Actual SUT IP]" -port= 5900 -password = [SUT Password] -ReportFailures = yes
2011-11-18 13:20:25.091 Eggplant[2252] ABBYY path: C:\Program Files (x86)/Eggpla
nt/Eggplant.app/Resources/ABBYY
2011-11-18 13:20:26.732 Eggplant[2252] FineReader non-expiring license. Unlimite
d Usage
2011-11-18 13:20:31.044 Eggplant[2252] Approved License: Name = xyz, R
emark = , Serial = 11111, Users = 8
Eggplant (11.03-1110092140) running in CLI mode on Host:0.
2011-11-18 13:20:31.747 Eggplant[2252] reported exception - NAME:Script Failed REASON:No Remote Connection:
typetext Error - Remote Connection Unavailable INFO:{CallStack = ("(Handler:“te
st”, Line:“41”, MeObjectID:“C:/eggPlant/main.suite/Script
s/test.script”, MessageName:“on_test”, MessageType:“Command”, objectType:"
SenseTalkFrame", RepeatIndex:“0”, ScriptObjectID:“C:/eggPlant/main.suite/Scripts/test.script”, TryDepth:“0”)", “(Handler:“openurl”,
HandlerOffset:“0”, Line:“15”, MeObjectID:“C:/eggPlant/helper.suite/S
cripts/OpenURL.script”, MessageName:“on_openurl”, MessageType:“Command”, ob
jectType:“SenseTalkFrame”, RepeatIndex:“0”, ScriptObjectID:“C:/eggPlant/helper.suite/Scripts/OpenURL.script”, TargetObjectID:“C:/eggtPlant/main.suite/Scripts/test.script”, TryDepth:“0”)”); LogMessage = “Re
mote Connection Unavailable”; OtherButton = “”; ScriptError = “Runtime Error at
line 15: No Remote Connection - typetext Error - Remote Connection Unavailable”;
}
2011-11-18 13:20:32.263 Eggplant[2252] Completed EggplantTestScript main.suite - test.script
C:\Program Files (x86)\Eggplant>