Gentlemen, both our local copy of TL 1.6.2 and Demo 1.6.2 on TestLink site do not import testcase by at least 2 (two) know ways.
1. At home page -> Inport TestCases
try to load to there this file
------
component1,category1,'testcase1','summary','steps','results'
component2,category1,'testcase1','summary','steps','results'
----
2. At category part click on import test-cases
try to load to there this file
---
'testcase1','summary','steps','results','PREVIOUS'
'testcase1','summary','steps','results','PREVIOUS'
----
There is a 'PREVIOUS' keyword in the system.
We had searched the known bugs and forum topics regarding this. Looks like all is fine for other guys, but not for us.
It does not work. Any idea why?
Best regards,
Eugene Doronin
team SDC - software testing and QA company
1.6.2 does not iport even a trivial file. Do you know why?
Moderators: Amaradana, TurboPT, TL Developers
-
- TestLink user
- Posts: 5
- Joined: Fri Feb 09, 2007 10:59 pm
similar issue with TL1.6 on linux env
I have similar issue with import simple test csv file with the exact format, but nothing happen after import test case?
Is there anything that is pertain to Linux env?
Thanks for info =)
Is there anything that is pertain to Linux env?
Thanks for info =)
Did you get some response?
I have the same problem. Did you get some answer for this?
Is it bug? May be some workaround exists....
Thanks,
Anat
Is it bug? May be some workaround exists....
Thanks,
Anat
-
- TestLink user
- Posts: 5
- Joined: Fri Feb 09, 2007 10:59 pm
-
- TestLink user
- Posts: 5
- Joined: Fri Feb 09, 2007 10:59 pm
-
- TestLink user
- Posts: 5
- Joined: Fri Feb 09, 2007 10:59 pm
not sure the issue is just pertain to our testlink setting on the linux platform, I fix the tcImport.php script and now the import function is working.
Here is what I modified in the tcImport.php script.
I change the following code from
$source = isset($HTTP_POST_FILES['uploadedFile']['tmp_name']) ? $HTTP_POST_FILES['uploadedFile']['tmp_name'] : null;
to
$source = isset($HTTP_POST_FILES['uploadedFile']['tmp_name']) ? $HTTP_POST_FILES['uploadedFile']['tmp_name'] : null;
and from
$dest = TL_TEMP_PATH . session_id()."-importTc.csv";
to
define('DS', DIRECTORY_SEPARATOR);
define('TL_ABS_PATH', '/var/www/html/testlink' . DS);
define('TL_TEMP_PATH', TL_ABS_PATH . 'gui'.DS.'templates_c'.DS);
$dest = TL_TEMP_PATH . rand()."-importTc.csv";
note:
-- for some reason, the session_id() does not working so we use rand() as workaround way
-- and the path seems to have issue on the system, so we 'hardcoded' the testlink path
Hope this will help someone who might have same issue... =)
Here is what I modified in the tcImport.php script.
I change the following code from
$source = isset($HTTP_POST_FILES['uploadedFile']['tmp_name']) ? $HTTP_POST_FILES['uploadedFile']['tmp_name'] : null;
to
$source = isset($HTTP_POST_FILES['uploadedFile']['tmp_name']) ? $HTTP_POST_FILES['uploadedFile']['tmp_name'] : null;
and from
$dest = TL_TEMP_PATH . session_id()."-importTc.csv";
to
define('DS', DIRECTORY_SEPARATOR);
define('TL_ABS_PATH', '/var/www/html/testlink' . DS);
define('TL_TEMP_PATH', TL_ABS_PATH . 'gui'.DS.'templates_c'.DS);
$dest = TL_TEMP_PATH . rand()."-importTc.csv";
note:
-- for some reason, the session_id() does not working so we use rand() as workaround way
-- and the path seems to have issue on the system, so we 'hardcoded' the testlink path
Hope this will help someone who might have same issue... =)