sheetal singh a écrit :
Hi All, Can anybdy inform me that SWTBot Test run in UI or Non UI thread. A little desc on this will b a gr8 help for me.
You must launch SWTBot tests in a non UI thread, because the test execution is synchronous so it blocks itself, waiting for next step.
See how the user guide proceeds for launch:

 private static void startApplicationInAnotherThread() {
   new Thread(new Runnable() {
     public void run() {
       new MyApplication().main(new String[] { "some", "command", "line", "arguments 
for your application" });
     }
   }).start();
 }

--
[EMAIL PROTECTED]
Sheetal Singh
Member Technical Staff
Techblue Software Pvt. Ltd.
770,Udyog Vihar Ph 5,
Gurgaon-122016
INDIA

------------------------------------------------------------------------
View this message in context: SWTBot run in UI or Non UI Thread?? <http://www.nabble.com/SWTBot-run-in-UI-or-Non-UI-Thread---tp20125909p20125909.html> Sent from the SWTBot Users List mailing list archive <http://www.nabble.com/SWTBot-Users-List-f35572.html> at Nabble.com.
------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
------------------------------------------------------------------------

_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse



--
Cordialement

Vincent MAHÉ

Ingénieur Plate-forme OpenEmbeDD - http://openembedd.org
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 (0) 2 99 84 71 00, Fax: +33 (0) 2 99 84 71 71

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to