unable to assign 24+ test cases in a test suite to test plan

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
akang
Advanced user
Posts: 20
Joined: Wed Sep 22, 2010 8:36 pm

unable to assign 24+ test cases in a test suite to test plan

Post by akang »

I am using the latest 1.8.5, and have issue of assign test cases to test plan in bunch.
Here is the issue:

[1] a test suite with 24 test cases.
[2] select all test cases in the test suite
[3] click save selected tests.
[4] web page refresh, but all selected test cases are de-selected, and tests are not assigned to test plan.

Check events and see no event of this failure.

Questions:

[1] how to check why it failed and which files I should I check?

thanks,
akang
akang
Advanced user
Posts: 20
Joined: Wed Sep 22, 2010 8:36 pm

Re: unable to assign 24+ test cases in a test suite to test

Post by akang »

Correction of the problem:

+ test-suite 1 (54)
+ test-suite 1.1 (17)
+ test-suite 1.2 (2)
+ test-suite 1.3 (5)
+ test-suite 1.4 (6)
+ test-suite 1.5 (24)

Following action FAILed:

[1] Select 'test-suite 1' then select all Test Cases to Add
[2] Select 'test-suite 1' then select/check 'test-suite 1.1'
[3] Select 'test-suite 1' then select/check 'test-suite 1.5'

Following action SUCCESS:

[1] Select 'test-suite 1' then select/check 'test-suite 1.2'
[2] Select 'test-suite 1' then select/check 'test-suite 1.3'
[3] Select 'test-suite 1' then select/check 'test-suite 1.4'
[4] Select 'test-suite 1.1' then select All Test Cases to Add
[5] Select 'test-suite 1.5' then select All Test Cases to Add

Looks like the number of tests to add is part of the failure reason but only under another test-suite.

Can anyone point me the code I can check the problem?
I do not see any FAILURE message in the audits.log and userlog0.log.

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

Re: unable to assign 24+ test cases in a test suite to test

Post by Amaradana »

I did not get your point, are "+ test-suite 1.1 (17)
+ test-suite 1.2 (2)
+ test-suite 1.3 (5)
+ test-suite 1.4 (6)
+ test-suite 1.5 (24)" sub folders of test-suite 1?

If so its not possible only way you can assign is select single test suite/sub folder and then add test cases as far as i know. Will let you know if its possible
Thanks,
TesterWorld
Http://amartester.blogspot.com
akang
Advanced user
Posts: 20
Joined: Wed Sep 22, 2010 8:36 pm

Re: unable to assign 24+ test cases in a test suite to test

Post by akang »

[1] test suite 1.1 to 1.5 are sub-suites of 1
[2] I also found out that if a test suite contains 70+ tests, then I can not assign to test plan.
Exactly number can be assigned I have to test out.
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: unable to assign 24+ test cases in a test suite to test

Post by fman »

no fixes will be available for 1.8.x -> wait for 1.9 (next weeks ) and migrate
deepakraor
TestLink user
Posts: 4
Joined: Thu Nov 25, 2010 12:30 pm

Re: unable to assign 24+ test cases in a test suite to test

Post by deepakraor »

I am also facing the same issues with Test link 1.7.4 and in 1.9
In 1.7.4 I am able to assign till 27 test cases and not above & in 1.9 I was able to assign till 47 test cases and not above this no.
Any help on this will be highly appreciated. Please
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Re: unable to assign 24+ test cases in a test suite to test

Post by fman »

Tested with 1.9 without problems
Please create an issue on mantis WITH DETAILED steps to reproduce
deepakraor
TestLink user
Posts: 4
Joined: Thu Nov 25, 2010 12:30 pm

Re: unable to assign 24+ test cases in a test suite to test

Post by deepakraor »

Hi Francisco,

Thanks for your quick reply:
Sharing the error message displayed in testlink 1.9 for 49th test cases addition\assign to test plan. :cry:

==============================================================================
DB Access Error - debug_print_backtrace() OUTPUT START
==============================================================================
#0 database->exec_query(/* Class:tree - Method: _get_path */ SELECT * from nodes_hierarchy WHERE id = ) called at [/var/www/testlink-19rc1/lib/functions/tree.class.php:416]
#1 tree->_get_path(, Array (), , full) called at [/var/www/testlink-19rc1/lib/functions/tree.class.php:384]
#2 tree->get_path() called at [/var/www/testlink-19rc1/lib/functions/testcase.class.php:1502]
#3 testcase->getPrefix() called at [/var/www/testlink-19rc1/lib/functions/testplan.class.php:417]
#4 testplan->tcversionInfoForAudit(943, Array ([1379] => )) called at [/var/www/testlink-19rc1/lib/functions/testplan.class.php:456]
#5 testplan->link_tcversions(943, Array ([tcversion] => Array ([1379] => ),[platform] => Array ([0] => 0),[items] => Array ([1379] => Array ([0] => ))), 1) called at [/var/www/testlink-19rc1/lib/plan/planAddTC.php:104]

==============================================================================

Fatal error: Call to a member function RecordCount() on a non-object in /var/www/testlink-19rc1/lib/functions/database.class.php on line 480

Assuming this information is usefull. Please let us know of more information is required.
Amaradana
Member of TestLink Community
Posts: 398
Joined: Mon Feb 16, 2009 11:19 am
Contact:

Re: unable to assign 24+ test cases in a test suite to test

Post by Amaradana »

Please create an issue as said by Fman and give all the detials in the issue.

for refernce, PLease log the issue with all your detaikls in the mantis

http://mantis.testlink.org/login_page.php
Thanks,
TesterWorld
Http://amartester.blogspot.com
deepakraor
TestLink user
Posts: 4
Joined: Thu Nov 25, 2010 12:30 pm

Re: unable to assign 24+ test cases in a test suite to test

Post by deepakraor »

Hi,
issue has been logged in Mantis,
Please find the issue ID 0004068 for reference.
Locked