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

Tables -> how to escape Pipe character


#1

My cells have values with | characters , like 12|4|2

The problem is that when I put such values into the tables in TestRail, it treats pipes like special characters. How can I escape them ? I tried ` and \ but they do not seem to work inside the tables.


#2

Hello Pawel,

That’s currently not possible unfortunately. Do you have the option to use a different character such as a comma, for example?

Cheers,
Tobias


#3

Not really :frowning:

We need to show exactly what is in the database and there are pipes.

Is there a chance you add such possibility in the close future ?


#4

Hello Pawel,

Yes, we are happy to look into this, definitely makes sense to support this. As a workaround in the meantime, I would recommend looking into using a different symbol and adding a note under the table. That’s not ideal, I know, but would be a possible workaround.

Cheers,
Tobias


#5

Please add this feature asap.


#6

Thanks for your feedback, Henry!

Cheers,
Tobias


#7

Indeed it is a most needed feature. Please add it.


#8

Thanks for your feedback, Simon!

Cheers,
Tobias


#9

Can you please +1 from us too :slight_smile:


#10

Thanks, Glenn :slight_smile:

Cheers,
Tobias


#11

Is this is an issue with no workaround??? A test management tool is highly probable to need to document test cases around special characters, this is a must.


#12

Hi there,

We are in fact hoping to implement this into a future release of TestRail.


#13

This would still be a really useful feature, any updates on when this may be rolled out?


#14

Hi Melissa,

Thanks for your reply! We still have plans to look into this for a future update to TestRail, but we don’t have any timeframe/ETA we can provide for this just yet. I’ve also added your vote to the feature request as well.

Regards,
Marco


#15

+1 Using testrail for linux procedure. Cant escape ``. Had to switch for l in seq 1 10; to for ((l=1; l<=10; l++));


#16

Is there any update on this?


#17

Hi Saritha,

This has not been released for TestRail as of yet. However, I will add your vote to this additional handling of markdown inside tables to help us prioritize this.

In the meantime, you may be able to achieve this with a UI script and a find/replace function. You can find out more about UI scripts in our documentation here.

You wouldn’t necessarily be able to prevent the pipe character from being interpreted as a table column divider inside a test case, however you could use a UI script to change a placeholder in your table into a pipe character in the user interface.

For example, if you used ‘\pipe’ in your table where you need a pipe escaped, and then use a UI script to search for this ‘\pipe’ and replace it with ‘|’.

I hope this helps you in the meantime.