Problem with test suite import in 1.8.4

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
gaudenzir
TestLink user
Posts: 14
Joined: Tue Oct 27, 2009 10:28 am

Problem with test suite import in 1.8.4

Post by gaudenzir »

Hi,
I've a problem in importing a test suite in TestLink 1.8.4
The feature simply doesn't work.
I haven't receive any error (in GUI or log files) but the test suite is not imported.
The same file is correctly imported in TestLink 1.8.3 (installed in a different server).
Do you know of any issue in this feature ?

Thanks

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

Post by Amaradana »

Please give some detail steps, I am not sure what is wrong. or please give the sml format here that your using.
Thanks,
TesterWorld
Http://amartester.blogspot.com
gaudenzir
TestLink user
Posts: 14
Joined: Tue Oct 27, 2009 10:28 am

Post by gaudenzir »

Hi Amaradana,
the exact steps are:
1) I've exported a test suites tree (180 test cases) using the "Export all test suites" function.
2) I've tried to import the XML in another Test Project using the "Import Test Suite" function.
I've tried a lot of different combination (with or without exporting the keywords, exporting only some test case and so on).
Every time the import function take less then a second and ends without any message (error or success).
I'm using Testlink 1.8.4 on a Win 2008 server with IIS 7

Thanks for your help

Roberto
gaudenzir
TestLink user
Posts: 14
Joined: Tue Oct 27, 2009 10:28 am

Post by gaudenzir »

Hi Amaradana,
I've tried to import the example files available in testlink/docs/file_examples/
but I got the same behaviour.
So it seems a bug or a problem in my installation.

Roberto
gaudenzir
TestLink user
Posts: 14
Joined: Tue Oct 27, 2009 10:28 am

Post by gaudenzir »

I've another hint.
It seems that is failing the check:
if (file_exists($fileName))
line 169 of tcImport.php.
The file exist because if I replace the previous check with:
if (true)
the file is correctly imported.
Does anybody have the same problem ?
Any idea of why the check fails ?
Some authorisation problem ?

Thanks

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

Post by Amaradana »

I will try doing that from 1.8.3 to 1.8.4, i knew that there is a design change in custom fields. But not sure how far this will be affected. anyways wuill lot you know,

I was tied with lots of work. Thanks for waiting.
Thanks,
TesterWorld
Http://amartester.blogspot.com
ascallonisi
TestLink user
Posts: 2
Joined: Thu Nov 05, 2009 9:07 pm

Post by ascallonisi »

Hi Amaradana,

I am having the same problem as gaudenzir with the import feature.
I am running testlink 1.8.4 on Centos 5.2 with MySQL-5.0.45-7 and PHP 5.2.9-2
The workaround proposed by gaudenzir didn't work in my case...

Thanks & regards.
ascallonisi
TestLink user
Posts: 2
Joined: Thu Nov 05, 2009 9:07 pm

Post by ascallonisi »

Hi again,

I solved it, sorry for false alarm:
I was missing php-xml-5.2.9-2...

Regards
Locked