Page 1 of 1

Unable to import testcase from xml/xls file

PostPosted: Thu Feb 12, 2009 2:51 pm
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

PostPosted: Sat Feb 21, 2009 12:17 am
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

PostPosted: Sat Feb 21, 2009 11:59 pm
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.

PostPosted: Sun Feb 22, 2009 1:26 pm
by jeepmac
Should be domxml. Fedora does not include domxml in default php.

Import .xls file on Testlink

PostPosted: Tue Mar 10, 2009 10:13 am
by satyendrasen
How to import test case (.xls) file directly on testlink..


satyendra

PostPosted: Mon Mar 16, 2009 6:49 am
by Amaradana
Check in the Docs folder of your testlink you will get the sample templete

Import Test case

PostPosted: Mon Mar 16, 2009 7:04 am
by satyendrasen
I am asking about import test case (.xls) file.

Thanks
Satyendra

PostPosted: Mon Mar 16, 2009 7:07 am
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.

Import Test case

PostPosted: Mon Mar 16, 2009 7:18 am
by satyendrasen
This functionality implenented for Testlink v1.8 ?

Thanks
Satyendra

Import Test case

PostPosted: Mon Mar 16, 2009 7:28 am
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

PostPosted: Mon Mar 16, 2009 8:01 am
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

Import Test case

PostPosted: Mon Mar 16, 2009 9:17 am
by satyendrasen
Thanks, it's really helpful for us..


Thanks
Satyendra

PostPosted: Mon Mar 16, 2009 9:19 am
by Amaradana
your welcome