Unable to import testcase from xml/xls file

1.8 related questions and discussions.
Please upgrade to LATEST 1.9.x.
No more fixes for 1.8.

Moderators: Amaradana, TurboPT, TL Developers

Locked
ssdp
TestLink user
Posts: 1
Joined: Thu Feb 12, 2009 2:43 pm

Unable to import testcase from xml/xls file

Post by ssdp »

Hi All,
Please help me to import testcase to testlink1.8 RC4/RC3.

Getting error "page not found" in "Import Test Cases" once i click on upload file, progress bar shows Testcases/tcImport.php & then error page.

Also trying to import testcases from xls using script which is working properly in Testlink1.7, in Testlink 1.8 after import using script getting error "Your search delivered no results!" when clicked on testcase in left pane.

Regards,
Shiv
jeepmac
TestLink user
Posts: 4
Joined: Sat Feb 21, 2009 12:15 am

Post by jeepmac »

Same error on 1.8_RC4. The Event is:

Code: Select all

E_WARNING require_once(DOMDocument.class.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory - in /var/www/html/testlink/lib/functions/common.php - Line 109
jeepmac
TestLink user
Posts: 4
Joined: Sat Feb 21, 2009 12:15 am

Post by jeepmac »

I think I found the reason. My Fedora 10 php didn't build with php-xml. I'll try install later and tell the result.

So if that's right, testlink installation should check this module installed or not. At presend, the 1.8 RC4 installer doesn't warn me about php-xml.
jeepmac
TestLink user
Posts: 4
Joined: Sat Feb 21, 2009 12:15 am

Post by jeepmac »

Should be domxml. Fedora does not include domxml in default php.
satyendrasen
Advanced user
Posts: 15
Joined: Tue Mar 10, 2009 9:44 am

Import .xls file on Testlink

Post by satyendrasen »

How to import test case (.xls) file directly on testlink..


satyendra
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

Check in the Docs folder of your testlink you will get the sample templete
satyendrasen
Advanced user
Posts: 15
Joined: Tue Mar 10, 2009 9:44 am

Import Test case

Post by satyendrasen »

I am asking about import test case (.xls) file.

Thanks
Satyendra
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

This is possible by .XLS please look in the testlink > Docs > file_examples folder in test link folder. you can find the sample excel sheet. for importing.
satyendrasen
Advanced user
Posts: 15
Joined: Tue Mar 10, 2009 9:44 am

Import Test case

Post by satyendrasen »

This functionality implenented for Testlink v1.8 ?

Thanks
Satyendra
satyendrasen
Advanced user
Posts: 15
Joined: Tue Mar 10, 2009 9:44 am

Import Test case

Post by satyendrasen »

Release 1.7.4:- I cannot import test case directly on testlink. Convert file on XML format then export on testlink.

Release 1.8:- can I directly import test cases on testlink, no need to convert xml file. ??

Thanks

Satyendra
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

Yes no need to convert your xml file into excel and then again saving it to your xml. This can be overdone, by 1.8 release you can import directly using excel sheet, but only hurdle is while importing via excel, custom fields cannot be imported. if you want cistom fields to be imported then you need to use xml again
satyendrasen
Advanced user
Posts: 15
Joined: Tue Mar 10, 2009 9:44 am

Import Test case

Post by satyendrasen »

Thanks, it's really helpful for us..


Thanks
Satyendra
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Post by Amaradana »

your welcome
Locked