The mailing list has been closed since July 2022, but continues to serve as an archive of information about QF-Test.
But if you want to stay informed about news about QF-Test, you can simply
Subscribe to Newsletter
To get up-to-date information about each release - including minor releases - you can
subscribe to the RSS feed or follow us on social media.
Alternatively, QF-Test also provides release information itself.
Another source of information is our blog, where there are current articles on general topics, on the company QFS and also various "how-tos"
subscribe to blog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[QF-Test] WG: Running Maven Script in QF-Test > Failes Irregulary
Hi Gregor, thank you for your answer! Actually the problem was in my test-script. Using too many variables (making the script unclear) I accidentally run a wrong (not-working) script. Sorry that I took your time, without needing actually help. Best Regards Lukas -----Ursprüngliche Nachricht----- Von: Gregor Schmid [mailto:Gregor.Schmid@?.de] Gesendet: Mittwoch, 12. August 2015 16:34 An: qftest-list@?.de Cc: Eichner Lukas VIB-AZ311 Betreff: Re: [QF-Test] Running Maven Script in QF-Test > Failes Irregulary Hi Lukas, QF-Test should not interfere with maven but maybe maven doesn't like QF-Test's agent. Please try the following: Insert a 'Server script' node with rc.setOption(Options.OPT_PLAY_CONNECT_VIA_AGENT, false) rc.setOption(Options.OPT_PLAY_IMPLICIT_INSTRUMENTATION, false) before starting maven. After the respective 'Wait for process to terminate' node, insert the following script: rc.unsetOption(Options.OPT_PLAY_CONNECT_VIA_AGENT) rc.unsetOption(Options.OPT_PLAY_IMPLICIT_INSTRUMENTATION) Does that improve your success rate? Otherwise we'll need to dig deeper. In that case please get in touch directly with our support. Best regards, Greg Eichner Lukas VIB-AZ311 <Eichner.Lukas@?.de> writes: > Hi QF-Test-Experts, > > in my GUI-Test it is necessary to run a maven script, which setups (or resets) a database. > > I run the Maven-Script like this: > > Start Process > Client: BuildDB > Executable: C:/Windows/System32/cmd.exe > Directory: $(builddb.directory) > Executable Parameters: /C "call mvn clean install" > > In ~50% this Script-Execution works, but in ~50% the build failes. > If failed or not seems very random, mostly you just have to rerun the script (manually) and the > build succeeds. > > If I run the Script in the actual cmd (same command: mvn clean install) it works in 100% of the > times, so I guess it's a problem of QF-Test. > > Does anyone know a solution for my problem, or had similar problems? > Or are there other (possibly better) ways to run a maven command? > > Thank you & best regards > > Lukas -- Gregor Schmid E: gregor.schmid@?.de T: +49 8171 38648-11 F: +49 8171 38648-16 Quality First Software GmbH | www.qfs.de Tulpenstr. 41 | 82538 Geretsried | Germany GF Gregor Schmid, Dr. Martina Schmid, Karlheinz Kellerer HRB München 140833