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

Importing test cases from CSV file always create new sections/subsections


#1

This is my first time trying to import test cases from CSV so this might be my mistake. I followed exactly the instructions from http://docs.gurock.com/testrail-userguide/howto-import-csv but after the import, my test cases always go into new sections/sub-sections with the exact same name with existing sections/subsections that I had created before.

Can someone please help??? Please see my video below for more details.

Video: https://www.dropbox.com/s/d3vvmuoymgtrr1e/Import_Failed.mp4?dl=0


#2

Did you complete the mapping from Section to Section and is each one exactly the same string as in TestRail?


#3

Hi, yes I did complete the mapping from Section to Section and make sure that the names of the sections are exactly the same string as in TestRail. Still the import created new sections instead of put the test cases in to the existing ones.


#4

After testing imports via XML and CSV in various combinations, you cannot merge tests cases into existing sub-sections. New section hierarchies are created each time containing your original tests.


#5

@crazycabo350, oh so you are saying it’s not possible now to import new test cases into existing folders/sub-folders? That would be super disappointing :sad:


#6

Well, I have used TestRail with various clients for a few years now, but never had to import cases. I always pushed them to start with TestRail and their documentation usually consisted of static text documents.

It appears importing into existing sub-sections is not possible. Has this been successful for you in the past? I cannot find documentation dictating the behavior you are expecting.


#7

@crazycabo350 Unfortunately this was my first time trying to import test cases. I’m surprised it’s not supposed to work that way :disappointed:

Just out of curiosity, if you never had to import test cases, how did you maintain/update existing test cases?