I am having some trouble using the RemoteApplications library and the SwingLibrary. I am trying to run the test below, which should open TestAPP and enter admin into to the username text field:
*** Settings ***
Library RemoteApplications
Library SwingLibrary
*** Variables ***
${LOGINNAME} admin
*** Test Cases ***
Test Launch Application
RemoteApplications.Start Application TestAPP java -cp $CLASSPATH com.testapp.Main 60
RemoteApplications.Take Library Into Use SwingLibrary
Sleep 30
RemoteApplications.Select Dialog LoginWindow
RemoteApplications.Insert Into Text Field UserNameField ${LOGINNAME}
However I am getting this error:
BeanCreationException: Error creating bean with name 'robotRmiService' defined in class path resource [org/robotframework/remoteapplications/client/clientContext.xml]: Invocation of init method failed; nested exception is org.robotframework.remoteapplications.org.springframework.remoting.RemoteLookupFailureException: Lookup of RMI stub failed; nested exception is java.rmi.ConnectException: Connection refused to host: localhost; nested exception is:
java.net.ConnectException: Connection refused
Any suggestions on what would be causing this?
Thanks,
Eleanor