You can test Multi-lang data patterns using the following procedure.
Creation of data patterns
Move to the “Settings” > “Multi-lang data patterns” screen, and download the data pattern template by clicking the “Export CSV” button. (Figure 1)
Figure 1 “Multi-lang data patterns” screen
After describing the data pattern in CSV format in the template, as shown in Figure 2, import it by clicking the “Import CSV” button.
Figure 2 Data pattern CSV file
- When editing the CSV, in the case of Mac, you can either use “TextEdit,” or edit the spreadsheet using an application such as “Numbers,” “LibreOffice,” or “Excel”.
- If you want to edit the imported data, you can export and then import again.
Utilization of Data Patterns
If you create a data pattern, a "Multi-lang Data Pattern" item will be displayed on the Test Target Selection pop-up Details tab of the Edit Test screen, allowing the user to select the language pattern to be used in the test. (Figure 3)
Figure 3 Selecting the language pattern
The language pattern value can be referenced using the ${...} notation in the test script. (Figure 4)
Figure 4 Referencing language patterns
FYI