Hi ,
Am a newbie in robot and am trying to automate the GUI install of our product
but the robotframework does not connect to it using the swing library
java version - 1.7
OS - linux x64
robotframework-2.8.1.jar
swinglibrary-1.9.1.jar
The txt file that i am using is as below
-------------------------------------------------------------------------
*** Settings ***
Library RemoteApplications
*** Variables ***
${MYVAR} <full path to the exe>/runInstaller
${LIB DIRECTORY} ${CURDIR}
*** Test Cases ***
Demonstration
Start Web Start Application Demo Application
Use Application
Close Application
*** Keywords ***
Start Web Start Application
[Arguments] ${name}
Start Application ${name} ${MYVAR} 2 > error.txt 120 seconds ${LIB DIRECTORY}
Take Library Into Use SwingLibrary
Use Application
Select From Main Menu Test Menu|Show Dialog
selectDialog Message
pushButton OK
--------------------------------------------------------------------------
Command used to run it -
java -cp robotframework-2.8.1.jar:jvmconnector-1.1-jar-with-dependencies.jar:remoteapplications-2.0.jar:swinglibrary-1.9.1.jar org.robotframework.RobotFramework p.txt
The application seems to have gotten launched as i see relevant process running
in backgroud,though the UI did not come up.
Also seen it if i set up the JAVA_TOOLS_OPTION
as JAVA_TOOL_OPTIONS=-javaagent:<cur dir where all other jars are
presen>/jvmconnector-1.1-jar-with-dependencies.jar=<cur dir where all other
jars are present> , it hangs.
Could any one please help ?
Regards.
Original issue reported on code.google.com by pushkar....@gmail.com on 9 Jul 2014 at 2:08
Original issue reported on code.google.com by
pushkar....@gmail.com
on 9 Jul 2014 at 2:08Attachments: