test execution result bulk update

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

test execution result bulk update

Post by angelagu93 »

When you execute a test case in TL, you have to manually select from the radio buttons (passed, failed, etc). But is there a way to do a bulk update so it's a lot easier? Like either being select multiple test cases and changing the status, or importing an XML file? We have thousands of test cases and it would be really tedious to click on each one and not to mention we have to do it for each build too.

Thanks,


Angela
fman
Member of TestLink Community
Posts: 3108
Joined: Tue Nov 15, 2005 7:19 am

Re: test execution result bulk update

Post by fman »

please give a look to
1. config* files
2. do some searches on mantis
3. read user manual
4. do searches on forum

before asking for help, on things that with a minimun effort from your side you can solve.
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

Re: test execution result bulk update

Post by angelagu93 »

Yes thank you. I found tl-file-formats.pdf in the documentation section.

2 questions:

1. It's not clear that if I want to import the results of an entire test suite, where I would go to do that. I would've assumed the test suite clicking on the test suite doesn't do anything. Do I click on the "Import XML Results" button on the FIRST test case of the test suite or any test case?
2. Can you suggest a way to get the external or internal ids of a test suite without having to manually input it? Maybe there's a way to export a test suite in that format?

Thanks.
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

Re: test execution result bulk update

Post by angelagu93 »

Another thing, I'm running into an error. Here's my XML

Code: Select all

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<results xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
	<testcase external_id="MDE-1009">
		<tester>agu</tester>
		<timestamp>2008-09-08 14:00:00</timestamp>
		<result>p</result>
		<notes>functionality works great</notes>
	</testcase>
	<testcase external_id="MDE-1010">
		<tester>agu</tester>
		<timestamp>2008-09-08 14:00:01</timestamp>
		<result>f</result>
		<notes>functionality works great KIMI</notes>
	</testcase>
	<testcase external_id="MDE-1011">
		<tester>agu</tester>
		<timestamp>2008-09-08 14:00:02</timestamp>
		<result>f</result>
		<notes>Using INTERNAL ID as link</notes>
	</testcase>
</results>
MDE-1009 and etc. is the ID that prefixes the name of the test case in my project. When I tried to import the above, I got an error saying:
Import TestCase data : Test Case MDE-1009 not found in test plan- results are not imported!
when that test case is in the test plan. What am I doing wrong?
fman
Member of TestLink Community
Posts: 3108
Joined: Tue Nov 15, 2005 7:19 am

Re: test execution result bulk update

Post by fman »

If you got an errror you have to proceed as requested:
you need to create an issue on mantis (not on forum), providing detailed information,
the kind of info you have provided on your post is insufficient


regarding
>> . It's not clear that if I want to import the results of an entire test suite, where I would go to do that. I would've assumed the test suite >> clicking on the test suite doesn't do anything. Do I click on the "Import XML Results" button on the FIRST test case of the test suite or any >> test case?
You have to have a test or playground installation of testlink and do some tests, is best way to go.
In addition you can analise the examples we provide with testlink.
Because results are related to test cases, test suite is irrellevant

>> Can you suggest a way to get the external or internal ids of a test suite without having to manually input it? Maybe there's a way to
>> export a test suite in that format?
test suites do not have external ID.
have you tried all kind of export available ? Again use some of your time experimenting, before start posting
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

Re: test execution result bulk update

Post by angelagu93 »

Ok thx raised issue on Mantis.
fman
Member of TestLink Community
Posts: 3108
Joined: Tue Nov 15, 2005 7:19 am

Re: test execution result bulk update

Post by fman »

please when someone ask you a question, be kindly enough to provide an answer.
Again
Q1.have you tried all kind of export available ?


give a look to this image for one type of export
https://docs.google.com/file/d/0B-hNfKQ ... sp=sharing

If you create an issue then add here a reference.
(anyway info you have provided do not conform our guidelines, guidelines that are clearly explained on this forum)
angelagu93
TestLink user
Posts: 14
Joined: Sat Jun 01, 2013 6:59 am

Re: test execution result bulk update

Post by angelagu93 »

yes I experimented with a few kinds of export. IMO the easiest one is to export all the test cases from the test suite, import the XML into Excel, and do some manual work in Excel using the XML format given in the documentation, and then export it as XML.

Mantis issue here:

http://mantis.testlink.org/view.php?id=5842
Post Reply