How to use data.Params["paramKey"] in Step Input expression? #1410
-
|
Hello, I have use case to set Input value of the wait step as an expression which will take certain value from the dictionary which is a property of my Data context object. I can manage to put expression and to extract value from dictionary only if the key is int or char, or anything that is not string. If I try to put string key parser complains and exception is thrown. Question is: can I use strings within expressions since all escaping options didn't work? I load definitions by using json since my definitions come from user and are dynamic, so fluent api doesn't fit. Here are simple examples: This one works: but this one doesn't work: If someone can unblock me, I would really appreciate... |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
My bad. I should put \ in json so it knows that " is escaped. |
Beta Was this translation helpful? Give feedback.
My bad. I should put \ in json so it knows that " is escaped.