|Anonymous | Login | Signup for a new account||2019-04-21 13:09 UTC|
|Main | My View | View Issues | Change Log | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0006875||TestLink||Test Execution - Bulk Mode||public||2015-01-05 07:06||2015-12-15 11:06|
|Product Version||1.9.11 (2014 Q2 - bug fixing)|
|Fixed in Version|
|Summary||0006875: Possibility to see Bulk Mode under any test suite instead of just test suites in the last level|
|Description||Currently the tester can only enter bulk mode under the test suite in the last level. However, it would be helpful to enter Bulk Mode for any test suite (even if it has child test suites). When test suites have several levels and accessing to the TestLink server is slow, it's quite time consuming when you want to execute a bulk of test cases in a large test suite with several child test suites (These child test suites can have their child test suites as well).|
|Steps To Reproduce||Enter "Test Execution", select any test suite with child test suites, you can not enter bulk mode for execution.|
|Tags||No tags attached.|
|QA Team - Task Workflow Status||TBD|
|Attached Files|| execSetResults.php [^] (62,252 bytes) 2015-01-25 04:09|
execSetResults.php 2015-12-15 1204 [^] (70,629 bytes) 2015-12-15 11:05
Time ago this feature display all test cases in selected Test suite and children, but due to performance issues, choice was to work only on direct children of Test suite.
IMHO your best option could be use the XML Results import feature.
Would it possible to get a patch for this feature if we want to try it since you already have it?
XML import feature is inconvenient and doesn't allow us to set customized fields which we used to set "blocked reason".
|Looks like this feature is already implemented in "Add / Remove Test Cases" and "Assign Test Case Execution". Need to implement it in "Set Urgent Tests" and "Bulk Execution Mode"|
By comment out some of the code in execSetResults.php, I am able to enable this feature for my setup.
I saw you add some comments in line 1649 (see below). Do you still we need to add a config parameter for this? If yes, we will try to contribute on this.
// CRITIC / IMPORTANT
// With BULK Operation enabled, we prefer to display Test cases tha are ONLY DIRECT CHILDREN
// of test suite id => we do not do deep walk.
// Think is a good choice, to avoid retrieving lot of info.
// May be we need to add a config parameter (or better an option at GUI level)
// in order to allow use how he / she wants to work.
You have done something that right now is useful to yourself, then saying you have solved it do not help any other user => no good.
At least attach here the code you have changed (with a clear indication of changed lines) in order to allow others to use it if they want.
This is one of ways to contribute => share with others
edited on: 2015-01-25 04:11
Attaching fix based on 1.9.12
Uncomment code from line 1625 to line 1636, and modify line 1642
|The side-effect of enabling this is that the execution order at right is not matched with the order at the left tree even with fix from 0006874 (Execution Order in Bulk Mode doesn't match with Order shown in Left test suite tree).|
on note 22609: this has to happen because code was commented and when fix 0006874 I did not work on this.
That's why this feature will not be included on 1.9.13, but need more work (as usual, a simple solution for a complex problem is not good)
best approach is to try to use code from getFilteredSpecViewFlat() (used on tc_exec_assignment.php).
This is going to produce an ordered array of test suites with test cases inside.
Probably this will not fix completely the issue but can be a good starting point.
|Thanks for your guidelines.|
Here that I have done.
I have worked using swang3 notes and fman approach: copying from "Assign Test Case Execution" tc_exec_assignment.php
Changes from current github testlink-code 1.9 dev
This works with my current config:
$tlCfg->exec_cfg->show_testsuite_contents = ENABLED;
$tlCfg->exec_cfg->show_testsuite_contents_deep = 'deep';
I am not sure to have address all the cases that could exist with filters and configuration and would like to keep the change simple.
So please test and give feedback.
Hope this help.
|2015-01-05 07:06||swang3||New Issue|
|2015-01-05 21:19||fman||Note Added: 0022451|
|2015-01-06 01:40||swang3||Note Added: 0022452|
|2015-01-06 09:36||fman||QA Team - Task Workflow Status||=> TBD|
|2015-01-06 09:36||fman||Severity||major => feature request|
|2015-01-13 05:39||swang3||Note Added: 0022475|
|2015-01-24 13:24||swang3||Note Added: 0022531|
|2015-01-24 15:59||fman||Note Added: 0022540|
|2015-01-25 04:08||swang3||Note Added: 0022549|
|2015-01-25 04:09||swang3||File Added: execSetResults.php|
|2015-01-25 04:11||swang3||Note Edited: 0022549||View Revisions|
|2015-02-01 09:26||fman||Summary||Expect to see Bulk Mode under any test suite instead of just test suites in the last level => Possinil to see Bulk Mode under any test suite instead of just test suites in the last level|
|2015-02-01 09:26||fman||Summary||Possinil to see Bulk Mode under any test suite instead of just test suites in the last level => Possibility to see Bulk Mode under any test suite instead of just test suites in the last level|
|2015-02-01 09:46||swang3||Note Added: 0022609|
|2015-02-01 16:35||fman||Note Added: 0022611|
|2015-02-01 18:27||fman||Note Added: 0022613|
|2015-02-02 05:44||swang3||Note Added: 0022617|
|2015-12-15 11:04||vincent.morin||Note Added: 0024357|
|2015-12-15 11:05||vincent.morin||File Added: execSetResults.php 2015-12-15 1204|
|Copyright © 2000 - 2019 MantisBT Team|