Which ATF step can be used to test the field format of the Employee Center form?

Klaus Schulz
Giga Contributor

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

1 REPLY 1

Brian Lancaster
Tera Sage

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.

BrianLancaster_0-1714582488642.png