Problem to Import from xls

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

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
dgonzalez
TestLink user
Posts: 1
Joined: Tue Jan 11, 2011 6:47 pm

Problem to Import from xls

Post by dgonzalez »

Hi
How can i to import a test case from xls with "preconditions" ???
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Re: Problem to Import from xls

Post by Amaradana »

Please refer help files.
Thanks,
TesterWorld
Http://amartester.blogspot.com
pelletd
TestLink user
Posts: 1
Joined: Mon Jan 17, 2011 8:08 pm

Re: Problem to Import from xls

Post by pelletd »

Hello,
The problem with TestLink 1.9 Testcase import tool is that Name and Summary are imported fine, but not the Steps and Expected results column.
The workaround is to follow "2.9 Import Test Cases from Excel via XML" in document "http://172.20.22.84/testlink//docs/tl-file-formats.pdf" but adapting it for 1.9 as follows. Save this as testcase_template.xml. Then open with Excel as XML table, drag the bottom-right corner of the table to create the required number of rows according to the number of testcases in your testplan, and paste the columns from your .xls testplans and Save As XML. Then import into TestLink. As a trial, import this testcase_template.xml into TestLink to see which data ends up where.

testcase_template.xml:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<testcases xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<testcase name="ID1">
<summary>Summary</summary>
<preconditions>Provided (Pre-conditions)</preconditions>
<steps>
<step>
<step_number>1</step_number>
<actions>When (Trigger)</actions>
<expectedresults>Then (Expected results)</expectedresults>
</step>
</steps>
</testcase>
<testcase name="ID2">
<summary>Summary</summary>
<preconditions>Provided (Pre-conditions)</preconditions>
<steps>
<step>
<step_number>1</step_number>
<actions>When (Trigger)</actions>
<expectedresults>Then (Expected results)</expectedresults>
</step>
</steps>
</testcase>
</testcases>

Best regards,
:Danielle
Matt
Advanced user
Posts: 19
Joined: Thu Jun 24, 2010 10:49 am

Re: Problem to Import from xls

Post by Matt »

Is this going to be fixed? Because all the documentation indicates that .xls is supported in 1.9 as per 1.8.

We are looking to upgrade to 1.9 from 1.8 and have been planning to do so for a while. We have been creating test cases using .xls spreadsheets following the convention required for TestLink imports (due to the nature of testing required we have been unable to move our whole operation into 1.8) and the removal of .xls support will be a big blow, requiring a fair amount of effort to work around
asgzl
Advanced user
Posts: 19
Joined: Fri May 28, 2010 3:22 am

Re: Problem to Import from xls

Post by asgzl »

I support Matt, import testcase from excel is very convenient and I believe it's needed for most of the users. Can this issue be treated with high prioirty and fixed in next 1.9.2.
minimalromoy
TestLink user
Posts: 2
Joined: Fri Jan 21, 2011 9:30 am

Re: Problem to Import from xls

Post by minimalromoy »

"There is always a reason to smile."
Post Reply