Found 1 automated test cases in TestLink. Sorting automated test cases by TestLink test plan execution order. Executing single Build Steps. Executing iterative Build Steps. Merging build environment variables with data retrieved from TestLink. [workspace] $ /bin/sh -xe /tmp/hudson8139571206764439847.sh + pybot --variable BROWSER:chrome --variable URL:<hidden> ./TestCases/01_LoginTest.txt ============================================================================== 01 LoginTest ============================================================================== Prihlas sa do aplikacie ako <hidden> s heslom <hidden> | PASS | ------------------------------------------------------------------------------ 01 LoginTest | PASS | 1 critical test, 1 passed, 0 failed 1 test total, 1 passed, 0 failed ============================================================================== Output: /var/lib/jenkins/jobs/FullRegression/workspace/output.xml Log: /var/lib/jenkins/jobs/FullRegression/workspace/log.html Report: /var/lib/jenkins/jobs/FullRegression/workspace/report.html Looking for the test results of TestLink test cases. Found 1 test result(s). Xvfb stopping
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at http://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
To post to this group, send email to robotframe...@googlegroups.com.
Visit this group at https://groups.google.com/group/robotframework-users.
For more options, visit https://groups.google.com/d/optout.
DEL TREE run.robot || True
ECHO "*** Test Cases ***" > run.robot
ECHO "sip-001" >> run.robot
ECHO " Log sip 01" >> run.robot
ECHO "sip-002" >> run.robot
ECHO " Log sip 02" >> run.robot
2) Added pybot -x junit.xml run.robot
# this will run run.robot file and creates also junit.xml as junit result file.Building in workspace C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace[workspace] $ cmd /c call C:\Windows\TEMP\hudson2927018926311170411.bat C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace>DEL TREE run.robot || True C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace>ECHO "*** Test Cases ***" 1>run.robot C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace>ECHO "sip-001" 1>>run.robot C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace>ECHO " Log sip 01" 1>>run.robot C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace>ECHO "sip-002" 1>>run.robot C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace>ECHO " Log sip 02" 1>>run.robot C:\Program Files (x86)\Jenkins\jobs\Integration-test\workspace>exit 0 Preparing TestLink client API.Using TestLink URL: http://localhost:81/testlink/lib/api/xmlrpc/v1/xmlrpc.php Found 2 automated test cases in TestLink. Sorting automated test cases by TestLink test plan execution order. Executing single Build Steps. Executing iterative Build Steps. Looking for the test results of TestLink test cases. Looking for test results in JUnit test cases by its name. FATAL: hudson.AbortException: No test report files were found. Configuration error?hudson.plugins.testlink.result.ResultSeekerException: hudson.AbortException: No test report files were found. Configuration error? at hudson.plugins.testlink.result.JUnitCaseNameResultSeeker.seek(JUnitCaseNameResultSeeker.java:110) at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:236) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.build(Build.java:205) at hudson.model.Build$BuildExecution.doRun(Build.java:162) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1738) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:410)Caused by: hudson.AbortException: No test report files were found. Configuration error? at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:116) at hudson.tasks.junit.JUnitParser$ParseResultCallable.invoke(JUnitParser.java:92) at hudson.FilePath.act(FilePath.java:990) at hudson.FilePath.act(FilePath.java:968) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:89) at hudson.tasks.junit.JUnitParser.parseResult(JUnitParser.java:43) at hudson.tasks.test.TestResultParser.parse(TestResultParser.java:145) at hudson.tasks.junit.JUnitParser.parse(JUnitParser.java:74) at hudson.plugins.testlink.result.JUnitCaseNameResultSeeker.seek(JUnitCaseNameResultSeeker.java:88) ... 10 moreERROR: An error occured while trying to retrieve the test results: hudson.AbortException: No test report files were found. Configuration error?Recording test resultsERROR: Step ‘Publish JUnit test result report’ failed: No test report files were found. Configuration error?Finished:
FAILURE>> email to robotframework-users+unsub...@googlegroups.com.
>> To post to this group, send email to
>> robotframe...@googlegroups.com.
>> Visit this group at https://groups.google.com/group/robotframework-users.
>> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "robotframework-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to robotframework-users+unsub...@googlegroups.com.
Preparing TestLink client API.Using TestLink URL: http://localhost:81/testlink/lib/api/xmlrpc/v1/xmlrpc.phpFound 2 automated test cases in TestLink.Sorting automated test cases by TestLink test plan execution order.Executing single Build Steps.
2) Added pybot -x junit.xml run.robot
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-u...@googlegroups.com.
Hello,If you added pybot -x junit.xml run.robot into build step then the final junit xml output is named junit.xml.From your post (and jenkins log) there is no 'pybot' build step execution. This means that no xml is created.After that you are trying to publish xml named Test-Report.xml.(Publish JUnit test result report given as "Test-Report.xml" But getting error with "no matching as Test-Report.xml".. Pls guide me for correct syntax to follow < Quote from your post)This means if you don't run that robot framework (pybot) execution step, you don't have report at all. Try to add pybot -x junit.xml run.robot as next step after 'Echo-ing' test. After that in your workspace there should be file called junit.xml . This file you want to publish as result and use for testlink. (Not Test-Report.xml mentioned above. Or you can just pybot -x Test-Report.xml run.robot )
On Tue, Apr 5, 2016 at 4:34 PM, Hélio Guilherme <heliox...@gmail.com> wrote:
terça-feira, 5 de Abril de 2016 às 14:35:03 UTC+1, Ellendula Sainath escreveu:(...)Preparing TestLink client API.Using TestLink URL: http://localhost:81/testlink/lib/api/xmlrpc/v1/xmlrpc.phpFound 2 automated test cases in TestLink.Sorting automated test cases by TestLink test plan execution order.Executing single Build Steps.I think you forgot to add this step in Jenkins!2) Added pybot -x junit.xml run.robot
# this will run run.robot file and creates also junit.xml as junit result file.
If you look at the output in the tutorial, there is the Robot Framework output there.
--
You received this message because you are subscribed to the Google Groups "robotframework-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to robotframework-users+unsub...@googlegroups.com.