Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

TestLink XML migration script converts cases to sections


#1

Hello,
I’ve faced with the following problem:

  • I exported Test suit\separate test case from TestLink.
  • Next I ran script: php testlink2testrail.php other.xml tr3.xml
  • php script returned the following:
    PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Markdownify has a deprecated constructor in D:\EVMS\testrail-migrate-testlink-1.9\testrail-migrate-testlink\lib\markdownify\markdownify.php on line 58

Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Markdownify has a deprecated constructor in D:\EVMS\testrail-migrate-testlink-1.9\testrail-migrate-testlink\lib\markdownify\markdownify.php on line 58
Successfully converted 5 sections and 0 cases

  • tr3.xml file was created
  • On attempt to import this file to TestRail I got only 5 sections and 0 cases.

How can I fix it? Please advice.

Thanks in advance!


#2

can someone from Gurock reply to this question please. I’m also facing the same problem


#3

The solution is to change the name of the constructor in line 58:

D:\EVMS\testrail-migrate-testlink-1.9\testrail-migrate-testlink\lib\markdownify\markdownify.php on line 58

eg: __construct