I'm having trouble importing a test suite. The XML file was generated by TestLink. The version is 1.7.0RC3 and the exporting/importing is on the same box. I created a new project which will include the test cases from a different project as a starting point.
The XML file is less than 200KB and after clicking "Upload file" I get a "Please choose file to import" error. The cases fail to import and the "File:" box gets cleared out. I looked at the file and none of the lines are over 500 characters.
Any ideas? Thanks in advance.
problem importing TL generated xml
Done. I'm still getting errors when I try to import xml generated by 1.7.0RC3 into 1.7.3. Any ideas?fman wrote:Please upgrade to 1.7.3
Warning: DOMDocument::load() [function.DOMDocument-load]: Document is empty in /srv/www/atl-testlink/gui/templates_c/e8c258de21b34d20a26b614ba9200f56-importtcs.csv, line: 1 in /srv/www/atl-testlink/third_party/domxml-php4-to-php5.php on line 72
Warning: DOMDocument::load() [function.DOMDocument-load]: Start tag expected, '<' not found in /srv/www/atl-testlink/gui/templates_c/e8c258de21b34d20a26b614ba9200f56-importtcs.csv, line: 1 in /srv/www/atl-testlink/third_party/domxml-php4-to-php5.php on line 72
Notice: Trying to get property of non-object in /srv/www/atl-testlink/lib/testcases/tcImport.php on line 362
please send zip file with your XML to
francisco.mancardi@gmail.com
francisco.mancardi@gmail.com
OK...after trying a few more things I have found that even when I export a simple test suite from 1.7.3 and try to import it I get those same errors. Basically I can't import anything. It this possibly a php or apache configuration issue? A missing library?
Thanks in advance for any help.
------------------
This is the text of the simple xml that is failing:
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Export Import Test"><details><![CDATA[
]]></details> <testcase name="test case1"><summary><![CDATA[
asdfasfsdfas
]]></summary><steps><![CDATA[
asdf
]]></steps><expectedresults><![CDATA[
fdffdfdfdfd
]]></expectedresults></testcase>
</testsuite>
Thanks in advance for any help.
------------------
This is the text of the simple xml that is failing:
<?xml version="1.0" encoding="UTF-8"?>
<testsuite name="Export Import Test"><details><![CDATA[
]]></details> <testcase name="test case1"><summary><![CDATA[
asdfasfsdfas
]]></summary><steps><![CDATA[
asdf
]]></steps><expectedresults><![CDATA[
fdffdfdfdfd
]]></expectedresults></testcase>
</testsuite>