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

Layered Lists in Testrail?


#1

Is there a way to accomplish layered/nested lists like this in test cases? I know there is a testrail markup/formatting guide, and it does not seem to show this capability.

  1. Lists the client’s upcoming appointments within the next seven days
    1. Date
    2. Time
    3. Appointment
  2. Click the…

Usually the answers on these types of questions is no, but figured I’d still ask. Any good workarounds would be appreciated too.

Thanks!


#2

Yes, this works by using (4) spaces as an indent. Paste this example with deliberate wrong numbering in a test case and save: Markdown will automatically recognise the formatting and adjust to a correct numbering

1. fgdg gg
2. grghrfg
3. fgfg
4. fgfg
8. dsthgfh
    1. ftghtjh 
    2. gth serthg
    4. ftghsftgh
9. th rth rth

output:

  1. fgdg gg
  2. grghrfg
  3. fgfg
  4. fgfg
  5. dsthgfh
    1. ftghtjh
    2. gth serthg
    3. ftghsftgh
  6. th rth rth

#3

@jasper_lindhout thank you for your response! I had tried that, and I figured out the problem. If I have text before the start of the list, it doesn’t work in Testrail, shown below.

Markdown formatting:
Upcoming Appointments

Verify the following requirements:

  1. Section lists the client’s upcoming appointments within the next seven days.
  2. Displays the following:
    1. Date
    2. Time
    3. Appointment Type

Testrail output:
image

However, if I remove the text that is before the list and not inside the header, all of a sudden…

image

Now that I know it does work, I can work around these small issues and use it effectively! Thanks!


#4

You don’t need to remove the text. Just insert an empty line