简体   繁体   中英

How to parse "|" in examples in karate

I am using scenario outline feature of Karate framework. I have examples as follows:

|report_type|rule_id|tag|

In this rule_id has value like "A|B, C|D" How can I provide it so tha rule_id param can have value as "A|B,C|D" ??

您是否尝试使用\\字符进行转义:

A\\|B,C\\|D

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM