Sample Data drives development in the Translator. It is key to working efficiently when building or editing interfaces. Sample data powers the visibility provided by the Annotation Windows and The string viewing window.
In the Translator, you can add and work with sample data to power your project as followsdevelopment:
Expand | ||
---|---|---|
Expand | ||
| ||
| ||
| ||
You can add sample data using the Sample Data Folder File Menus or through the Toolbar. There are three options for how to add your the sample data:
|
Expand | ||
---|---|---|
| ||
Edit your sample data in | the Project Tree ||
All sample data is stored in the Project’s Sample Data folder. | ||
Expand | ||
| ||
You can quickly navigate through many sample messages to test your code against different message types or against messages with missing and/or invalid data. the code editor. When editing sample data, additional editing tools appear on the toolbar.
Sample Data is stored in the Samples Folder in your Project Tree. Use the File Menus to Copy, Download, Duplicate, Rename or Delete the sample message. |
Expand | ||
---|---|---|
| ||
The current sample message is passed in as the argument to the main function for the script to execute against the specified sample. This allows you to run quick test cases with your various sample use cases. The sample data navigation controls allow you to:
See the Annotation Windows for more on how it leverages Sample Data. |
...