|
Re: Runner.cmd [message #1735707 is a reply to message #1735599] |
Wed, 22 June 2016 07:57 |
|
RCPTT Test Runner is command-line tool for launching RCPTT tests.
It takes various options like path to RCPTT projects, application-under-test and other parameters, runs all tests and produces reports in HTML and JUnit XML formats.
Download RCPTT Test Runner
You need to create a runner.cmd as below
REM insert where application under test (AUT) is located.
SET AUT=D:\Client2
REM RUNNER insert below the runner path.
SET RUNNER=C:\Users\Administrator\Desktop\rcptt.runner-2.0.0\eclipse
REM insert where the application under test is located
SET PROJECT=C:\QA\workspace2\q
REM Path to directory with test results, default is C:\Users\User\results
SET RESULTS=C:\Users\Administrator\Desktop\results
REM Remove results dir if present
IF NOT EXIST %RESULTS% GOTO NORESULTS
RMDIR /S /Q %RESULTS%
:NORESULTS
md %RESULTS%
java -jar %RUNNER%/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar ^
-application org.eclipse.rcptt.runner.headless ^
-data %RESULTS%/runner-workspace/ ^
-aut %AUT% ^
-autWsPrefix %RESULTS%/aut-workspace ^
-autConsolePrefix %RESULTS%/aut-output ^
-htmlReport %RESULTS%/report.html ^
-junitReport %RESULTS%/report.xml ^
-import %PROJECT%
"Ce sont les petits désirs qui rendent un jeune homme hardi."
Giovanni Giacomo Casanova
|
|
|
Powered by
FUDForum. Page generated in 0.03269 seconds