How cucumber parses parameterized data depends on nodejs
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2021
11:51 PM
11-23-2021
11:51 PM
How cucumber parses parameterized data depends on nodejs
Hi team:
When I customize the randomly generated data "${genRandStr(3)} ", how to load the data in the datatable and parse?
when I input "<acompanyId>""acompanyName"
Examples:
| acompanyId | acompanyName |
| ${genRandStr(3)} | metuan |
Labels:
- Labels:
-
Cucumber-js
1 REPLY 1
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2021
01:10 AM
11-24-2021
01:10 AM
Hi,
You have to process the data by yourself as part of your support code, aka your step definition
Cucumber won't evaluate the data from your feature file. It is up to you to implement that
