Getting error dom_ko when trying to import Testsuite

The release related discussions, plans and questions.
Locked
marty
Advanced user
Posts: 26
Joined: Tue Feb 14, 2006 6:22 pm

Getting error dom_ko when trying to import Testsuite

Post by marty »

Hello,

We just finalized upgrading from 1.6 to 1.7.1

Here are the steps I am doing and the results:

- Create a new Test Project
- Went into existing Test Project (that was there in 1.6)
- I did an Export All Suites with keywords
- Went back to new Test Project
- Did the import of my saved XML
- Failed with "Wrong XML TestSuite"
- Enabled the extension php_domxml.dll in PHP
- changed in config of TL the following define('TL_IMPORT_LIMIT', '2048000'); so it supports more than 200Kb because my Export was 1700kb
- Tried the import again

Result: Popup with dom_ko
And the following info:
Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8742: parser error : CData section not finished <p>SQLJobsLog should display a comment like this: in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: <p>SQLJobsLog should display a comment like this:<br />FilesPath = F:SQLTransBCP in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8742: parser error : PCDATA invalid Char value 8 in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: <p>SQLJobsLog should display a comment like this:<br />FilesPath = F:SQLTransBCP in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8742: parser error : Opening and ending tag mismatch: expectedresults line 8741 and p in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: arisBVT2R250, LoginInfo = -T, StartBCPTracking = 1, EndBCPTracking = 149755, </p in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8744: parser error : Entity 'nbsp' not defined in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: <p>&nbsp;</p> in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8745: parser error : Sequence ']]>' not allowed in content in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: <p>&nbsp;</p> in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8745: parser error : Sequence ']]>' not allowed in content in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ]]></expectedresults></testcase> in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8745: parser error : internal error in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ]]></expectedresults></testcase> in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: file:///C%3A/Program%20Files/EasyPHP%202.0b1/www/testlink_1.7.1/testlink/gui/templates_c/56167b7f005e6fed9d82ca7bbbbb1174-importtcs.csv:8745: parser error : Extra content at the end of the document in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ]]></expectedresults></testcase> in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Warning: domxml_open_file() [function.domxml-open-file]: ^ in C:\Program Files\EasyPHP 2.0b1\www\testlink_1.7.1\testlink\lib\testcases\tcImport.php on line 353

Thanks,

Martin
marty
Advanced user
Posts: 26
Joined: Tue Feb 14, 2006 6:22 pm

Post by marty »

I got the same problem with a test suite that had 19 test cases.

It's not always happening, cause I tried with a Test suite that had 364 TC and it worked fine...

Thanks guys..

Martin
Locked