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

Field contents based on milestone


#1

Hi,
Currently we’re using separate projects for each product. This allows us to have a custom field for build numbers. We’re trying to move towards a model where we have a single project and use milestones for products (so we can share test cases), but still want the custom field to show builds for just that product – meaning the field values would have to be based on the milestone rather than the project. Is there any way to do that?


#2

Hello,

Thanks for your posting! I assume this is a custom field on the test result level, is this correct? If you use the same build number for all tests/results inside a run, we can also recommend managing build numbers on the test run or plan level instead. One common approach is to manage builds/sprints/iterations with test plans which in turn belong to a certain milestone. You could simply store the build number as part of the test plan name or description.

Field values always depend on the project context you are in and it wouldn’t currently be supported to use different values per milestone inside the same project.

Cheers,
Tobias


#3

We’re testing firmware, but our test plans are driven by the hardware schedule, so it’s not a one-to-one relation between build number and test plan. For example, one test plan could cover builds 1.01 through 1.06 or through 1.09 – we won’t know ahead of time. We’d like to give our testers a custom “build” field that they could select what build was used when executing a test case, and have it default to the latest build number. It looks like there’s no way for us to do that if we’re using a single TestRail Project for multiple products.


#4

Hello,

You can add a result custom field of type Dropdown and this would appear on the Add Result dialog. You can also disable the default Version field if you like. Both customizations can be configured on the Administration > Customizations page.

While the dropdown values would be the same for the entire project, you could look into adding all possible build numbers to choose from, or just use the free-text Version field (not sure if this would be an option).

Cheers,
Tobias