Which ATF step can be used to test the field format of the Employee Center form?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 07:02 AM
Hello All,
We use the Employee Center for our intake forms. I want to use ATF to test the format of some fields, such as those that do not allow special characters. I can check if a field is mandatory or read-only, but I cannot test for only numeric values.
Thanks in advance.
Klaus

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-01-2024 09:56 AM
You could initially put in something that is not a number then use the Assert Text on Page (Custom UI) step to validate the error you put on the screen. For example I use the Variable Regex on the Type Specifications tab (screenshot below). The system then automatically displays "Not a number" so that is what I check for in the Assert Text test step.