Well, If the SUT is a web application I could infer that RFT is wrapping the test project and launching websphere or something like that... probably you won't have much problems if all step classes are in same project... but I think that the problems could arise when you have to share step classes from other projects :)
but without details it is a kind difficult to figure out a way to help others that could have the same issues... good luck and regards, Cristiano 2013/4/17 Andreas Ebbert-Karroum <andreas.ebbert-karr...@codecentric.de> > Hi, > > The system under test is a web based application. Hence RFT to interact > with the UI. I cannot share details about he configuration, but it s > absolutely standard. Nothing extraordinary. The most extraordinary item is > the classloading line :) > > -- > Andreas Ebbert-Karroum (mobil) > Am 17.04.2013 17:10 schrieb "Cristiano Gavião" <cvgav...@gmail.com>: > > Hi, >> So, could you tell me if the system under test is a RCP ? >> I don't know RFT but the normal Eclipse contains two types of Junit >> launchers one for normal classes and one for plugins that has the same >> behavior that you are describing and used to test RCP applications. >> >> Are you using Junit based test classes ? Could you send me the way you >> are configuring the Jbehave execution? >> >> regards, >> >> Cristiano >> >> On 17/04/13 08:09, Andreas Ebbert-Karroum wrote: >> >> Hi, >> >> the use case is quite simple. For that customer, we're using Rational >> Functional Tester for GUI automation. And in order to use RFT, we have to >> launch JBehave from within RFT. RFT is based on Eclipse, and apparently, >> when launching a Testing-Script in RFT, it launches a headless version of >> itself, which is of course an OSGi environment. All stories and steps live >> in a simple testing project inside RFT, nothing fancy there. >> >> Kind Regards, >> Andreas >> >> Am Mittwoch, 17. April 2013 schrieb Cristiano Gavião : >> >>> Hello Andreas, >>> I got curious. Could you explain me your use case? Are you trying to run >>> just stories inside bundles? the system under test is OSGi based too? and >>> the Step classes are inside bundles? >>> >>> regards, >>> >>> Cristiano >>> >>> On 15/04/13 09:44, Andreas Ebbert-Karroum wrote: >>> >>> Hi, >>> >>> I'd like to use JBehave in combination with Rational Functional >>> Tester. So far, we did not use the jbehave-osgi library [1]. Even without >>> the library, most things work. Our major pain at the moment is, that >>> givenStories don't work, because the ContextLoader cannot find the >>> resources for story files, when it's accessed from the ExecutorService. >>> >>> We hope that we can eliminate that problem with the jbehave-osgi >>> library. But, that library requires OSGi 4.3, while RFT is based on Eclipse >>> with Osgi 3.6.2. So before we invest time trying to make the jbehave-osgi >>> library work with OSGi 3.6.2, I'd love to hear a quick opinion >>> >>> * if the above described problem can potentially be solved by using >>> the jbehave-osgi library >>> * if you have any idea what it takes to make the jbehave-osgi library >>> compatible with an older OSGi version. (I already raised an issue for that >>> [2]) >>> >>> >>> [1] https://github.com/jbehave/jbehave-osgi >>> [2] https://github.com/jbehave/jbehave-osgi/issues/1 >>> >>> -- >>> Mit freundlichen Grüßen / Best regards >>> >>> *Event: Bald findet das erste Agile Code Camp 2013 statt. Jetzt >>> anmelden unter: www.agilecodecamp.de* >>> >>> Andreas Ebbert-Karroum | Agile Principal Consultant >>> >>> codecentric AG | Merscheider Straße 1 | 42699 Solingen | Deutschland >>> tel: +49 (0) 212.23362825 | fax: +49 (0) 212.23362879 | mobil: +49 (0) >>> 175.2664109 >>> www.codecentric.de | blog.codecentric.de | www.meettheexperts.de | >>> www.more4fi.de >>> >>> Sitz der Gesellschaft: Düsseldorf | HRB 63043 >>> Vorstand: Klaus Jäger (Vorsitzender) | Mirko Novakovic . Rainer Vehns >>> Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Bernd Klinkmann . Jürgen >>> Schütz >>> >>> Diese E-Mail einschließlich evtl. beigefügter Dateien enthält >>> vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht >>> der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, >>> informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail und >>> evtl. beigefügter Dateien umgehend. Das unerlaubte Kopieren, Nutzen oder >>> Öffnen evtl. beigefügter Dateien sowie die unbefugte Weitergabe dieser >>> E-Mail ist nicht gestattet. >>> >>> >>> >> >> -- >> Mit freundlichen Grüßen / Best regards >> >> *Event: Bald findet das erste Agile Code Camp 2013 statt. Jetzt anmelden >> unter: www.agilecodecamp.de* >> >> Andreas Ebbert-Karroum | Agile Principal Consultant >> >> codecentric AG | Merscheider Straße 1 | 42699 Solingen | Deutschland >> tel: +49 (0) 212.23362825 | fax: +49 (0) 212.23362879 | mobil: +49 (0) >> 175.2664109 >> www.codecentric.de | blog.codecentric.de | www.meettheexperts.de | >> www.more4fi.de >> >> Sitz der Gesellschaft: Düsseldorf | HRB 63043 >> Vorstand: Klaus Jäger (Vorsitzender) | Mirko Novakovic . Rainer Vehns >> Aufsichtsrat: Patric Fedlmeier (Vorsitzender) . Bernd Klinkmann . Jürgen >> Schütz >> >> Diese E-Mail einschließlich evtl. beigefügter Dateien enthält >> vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht >> der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, >> informieren Sie bitte sofort den Absender und löschen Sie diese E-Mail und >> evtl. beigefügter Dateien umgehend. Das unerlaubte Kopieren, Nutzen oder >> Öffnen evtl. beigefügter Dateien sowie die unbefugte Weitergabe dieser >> E-Mail ist nicht gestattet. >> >> >> -- "Tudo vale a pena se a alma não é pequena..."