Now the eclipse.finder.test runs.

By the way, I needed to pass os, ws and arch vmargs to the Ant scripts. 
Otherwise the target "setRuntimeArchive" does not set the property.


--- On Fri, 7/25/08, Hans Schwaebli <[EMAIL PROTECTED]> wrote:
From: Hans Schwaebli <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users] Automated testing with Ant, SWTBot and RCP
To: swtbot-users@lists.sourceforge.net
Date: Friday, July 25, 2008, 4:40 AM

Well, its not so easy to just atart the eclipse.finder.tests or to run the 
built at all. I needed to change some properties, copy eclipse to a folder 
inside the SWTBot builder and so on.

Starting ordinary SWT tests is easy, but I need to see how RCP testing is 
started.

I am still struggeling to just run the RCP test for the eclipse.finder plugin. 
If I just run that, it complains about a wrong path to library.xml. When I 
correct that path, it quits a java task with error code 13 and no further 
logging to see what the actual reason for the error is. This is my current 
state.



--- On Thu, 7/24/08, Somesh Sasalatti <[EMAIL PROTECTED]> wrote:
From: Somesh Sasalatti <[EMAIL PROTECTED]>
Subject:
 Re: [SWTBot-users] Automated testing with Ant, SWTBot and RCP
To: swtbot-users@lists.sourceforge.net
Date: Thursday, July 24, 2008, 7:07 PM

the way i solved it was to copy net.sf.swtbot.eclipse.headless folder and call 
the library.xml in that 

On Thu, Jul 24, 2008 at 12:28 PM, Hans Schwaebli <[EMAIL PROTECTED]> wrote:


Hello Ketan,

sorry for the wrong name, it was not intended.

I will check that, thank you very much!

I already tried to apply one PDE testing example on our RCP project for SWTBot: 
http://www.eclipse.org/articles/article.php?file=Article-PDEJUnitAntAutomation/index.html


It should have worked with the modifications for SWTBot and our RCP. But I got 
an IOExeption for some unknown reason. Thats why I asked my question. Another 
approach might help if one gets to an dead end. So I look forward to check your 
solution and apply it to our project.




--- On Thu, 7/24/08, Ketan Padegaonkar <[EMAIL PROTECTED]> wrote:

From: Ketan Padegaonkar <[EMAIL PROTECTED]>
Subject: Re: [SWTBot-users]
 Automated testing with Ant, SWTBot and RCP
To: swtbot-users@lists.sourceforge.net
Date: Thursday, July 24, 2008, 11:41 AM


A clarification: My name happens to be Ketan, not Kendar :)

The answer is that it's all checked in into trunk.

The flow is as follows: the run-core-tests in the main build.xml
invokes

https://swtbot.svn.sourceforge.net/svnroot/swtbot/trunk/net.sf.swtbot.build/test-sandbox/test.xml.


This then invokes all the test.xml, the one that would interest you
is:
http://swtbot.svn.sourceforge.net/svnroot/swtbot/trunk/net.sf.swtbot.eclipse.finder.test/test.xml


This invokes library.xml from org.eclipse.test plugin that is part of
https://swtbot.svn.sourceforge.net/svnroot/swtbot/trunk/net.sf.swtbot.build/test-sandbox/eclipse-test-framework-3.3.zip

(this is the modified version of eclipse's test-framework)

All that this does different is launch eclipse with the application
 id
of "net.sf.swtbot.eclipse.headless.swtbottestapplication"

-- Ketan

On Thu, Jul 24, 2008 at 8:57 PM, Hans Schwaebli
<[EMAIL PROTECTED]> wrote:

> Hello Kendar,
>
> you wrote that your coworkers use SWTBot with RCP applications. So I think
> they have automated builds and tests for this. Its very tricky to get the
> tests running automated from Ant.

>
> Can you post the Ant script which your coworkers use
 for automating RCP
> SWTBot tests from Ant?

-------------------------------------------------------------------------
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


      
-------------------------------------------------------------------------

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






-------------------------------------------------------------------------
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


      -------------------------------------------------------------------------
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


      
-------------------------------------------------------------------------
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