Troubleshoot Common Issues While Designing the TestsAccented Character Test Data Issue

Accented Character Test Data Issue

Why accented parameters change encoding in generated test data, and what to do about it.

Accented Characters Displayed Incorrectly in Feature Files

Accented characters can appear incorrectly in the example table of a Feature File when you add non-English parameters during node configuration. For example, if you enter résumé as a parameter while configuring a form upload, the generated example table may display garbled text instead of the original accented value.

Feature File example table showing accented characters displayed as garbled text
Accented characters displayed incorrectly in the example table

Fix the Encoding in Generated Feature File Data

Follow these steps to generate a Feature File that preserves accented characters correctly.

Add parameters in node configuration

In the Canvas, click the Edit icon for the relevant node to view the configuration, and add your parameters in the Control Value text box.

Add random values in the custom value field

Open the Edit Step form and add random values in the Custom Value text box.

Enable the avoid combination option in a test step

Go to the Scenario Steps List and click the Edit icon to open TestStep Settings in the secondary screen. In at least one test step, select avoidCombination or avoid multiple combination from the Scenario Steps list.

This setting is required to handle accented characters correctly in the generated example table.

After you apply the setting, the generated example table preserves the accented values correctly.

Example table row showing accented character values such as resume, fiance and fete
Accented characters displayed correctly after applying the fix

When you use the Data Set option in the Scenario List feature, save the downloaded file as CSV UTF-8 so it supports accented characters and other non-English text. To find the Data Set option, go to Scenario List and click the More Menu for the relevant test step.