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

Unable to import testcase from xml/xls file

Postby ssdp » Thu Feb 12, 2009 2:51 pm

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
ssdp
TestLink user
 
Posts: 1
Joined: Thu Feb 12, 2009 2:43 pm

Postby jeepmac » Sat Feb 21, 2009 12:17 am

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

Postby jeepmac » Sat Feb 21, 2009 11:59 pm

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

Postby jeepmac » Sun Feb 22, 2009 1:26 pm

Should be domxml. Fedora does not include domxml in default php.
jeepmac
TestLink user
 
Posts: 4
Joined: Sat Feb 21, 2009 12:15 am

Import .xls file on Testlink

Postby satyendrasen » Tue Mar 10, 2009 10:13 am

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


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

Postby Amaradana » Mon Mar 16, 2009 6:49 am

Check in the Docs folder of your testlink you will get the sample templete
Amaradana
Member of TestLink Community
 
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am

Import Test case

Postby satyendrasen » Mon Mar 16, 2009 7:04 am

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

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

Postby Amaradana » Mon Mar 16, 2009 7:07 am

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.
Amaradana
Member of TestLink Community
 
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am

Import Test case

Postby satyendrasen » Mon Mar 16, 2009 7:18 am

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

Postby satyendrasen » Mon Mar 16, 2009 7:28 am

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
satyendrasen
Advanced user
 
Posts: 15
Joined: Tue Mar 10, 2009 9:44 am

Postby Amaradana » Mon Mar 16, 2009 8:01 am

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
Amaradana
Member of TestLink Community
 
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am

Import Test case

Postby satyendrasen » Mon Mar 16, 2009 9:17 am

Thanks, it's really helpful for us..


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

Postby Amaradana » Mon Mar 16, 2009 9:19 am

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


Return to TestLink 1.8 (OBSOLETE => EOL)[LOCKED]



Who is online

Users browsing this forum: No registered users and 0 guests

cron