Reorder Test Cases in Test Library & preserve the same order when generating the reports.
The user should able to reorder the Test Cases for a project in the Test Library.
My requirement:
I have 3 tests,
Test 1, Test 2, Test 3
They are created in some order say, Test 1, Test 2 , & then Test 3,
But my Test 3 is the continuation of Test 1, what I actually meant is Test 3 will start from where I ended in Test 1.
So, I want my tests to be in the below order:
Test 1
Test 3
Test 2
I tried several ways to reorder the tests but nothing worked.
Some of the ways I tried were:
Sorting by Name
Prefix with Alphabet (this does not work if the tests are more than A to Z)
Prefix with Number (did not work)
For my problem, the apt solution is to provide a feature similar to ‘Reorder Instances’ in the Test Sets & Runs page.
Also, I want the same order to be preserved when I generate the Reports. So, while configuring the reports, the user should be provided a option to preserve the objects order as it is in the test or testset or instance or issues or requirements.
I am surprised as to why this already existing(reordering) functionality n the Test Sets & Runs page is not implemented in Test Library page.
I guess, these functionalities on the Test Library page & reports generation will help a lot to the PractiTest community.
-
Vishwanath T S commented
Yaniv,
Thanks for the reply!!
I have tried the same way.
My tests start with names:
SMOKE_SUITE 1
SMOKE_SUITE 2
SMOKE_SUITE 3
SMOKE_SUITE 4I have created a filter with criteria: Name starts with SMOKE_SUITE.
But in the reports, it is sorted by id.
Also, I want to execute my tests in a particular sequence. So, I want to name my tests :
SMOKE_SUITE 1
SMOKE_SUITE 2
SMOKE_SUITE 3
SMOKE_SUITE 4
So that the tests can be arranged easily once I add those tests to the test set.But there is a disadvantage naming this way because if I want to insert any new test in between the tests, I have to rename all the tests which comes later.
This is causing too much of a problem.
Please provide a solution.
-
Kiran commented
Please enable the above feature into Test Library set. It helps a lot in shuffling the tests.
-
AdminYaniv (Product Manager, PractiTest) commented
Hi Vishwanath,
Thanks for your request.
At this time we do not have plans to implement such reordering.
However, would recommend to add longer prefixes like 'part 1', 'part 2', 'part 3' and then create a filter with criteria: Name starts with part.
Best regards,
Yaniv