Hi Nagappan, Thanks for your answer, but may be I have not explain exactly my problem.
I want to write a python script to test an application which itself is written in Java (Swing). I tried with success to access to the OS and to run the installer (InstallShield) to install this application I can also lauch the application, but when I ask for the component list with getobjectlist(), I only received this: >>> getobjectlist('frmNEM Login') ['ukn0', 'mnuSystem', 'mnuSystem1', 'btnMinimize', 'btnMaximize', 'btnClose'] >>> So, I'm asking how to start this Java application so that CobraWinLDTP recognize the components. Do I have I to use the Ldtp.jar provide in your distribution? Do I have to modify the command line "java -cp ... com.keymile.nms.unem.Main" to start? Or do I use the accessibility.properties in my jre distribution? Thanks & Regards Yves-Alain From: Nagappan Alagappan [mailto:nagap...@gmail.com] Sent: Tuesday, February 04, 2014 5:59 AM To: Paroz, Yves-Alain Cc: ldtp-dev@lists.freedesktop.org Subject: Re: [LDTP-Dev] How to start Java app with Ldtp Hi Yves-Alain, Try this example - https://github.com/ldtp/cobra/blob/master/Example/Java/LdtpTest.java and see if that helps. Thanks Nagappan On Wed, Jan 29, 2014 at 4:35 AM, Paroz, Yves-Alain <yves-alain.pa...@keymile.com<mailto:yves-alain.pa...@keymile.com>> wrote: Hi, I'm trying to use CobraWinLDTP to test a Java application using Swing. I'm also new with Java. I could not found how to bind/start the Ldtp.jar with the Java application to test. I was using previously SilkTest and know about the accessibility.properties. Can you give me a example how to start a java application from the command line. Man thanks, Yves-Alain _______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org<mailto:LDTP-dev@lists.freedesktop.org> http://lists.freedesktop.org/mailman/listinfo/ldtp-dev -- Cross platform GUI testing Linux Desktop (GUI Application) Testing Project - http://ldtp.freedesktop.org Cobra - Windows GUI Automation tool - https://github.com/ldtp/cobra ATOMac - Mac GUI Automation tool - https://github.com/pyatom/pyatom http://nagappanal.blogspot.com
_______________________________________________ LDTP-dev mailing list LDTP-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/ldtp-dev