Join us Dec. 16 for The Community Hour, our first global virtual User Group event!

Validating Required Fields

stevekeiperSK
Tera Contributor

When creating a new test I see that the 'open a new form' then 'set field values'  step will automatically list the required fields on a given form.

 

However, if I want to create a step or test where I am validating that required fields are enforced, my thought is to attempt to save the form with null values assigned to some or all of these fields, then confirm an error message is displayed, the form does not save etc.

 

It does not seem as though the ATF tool will allow you to create a 'set field values' step without setting a value for each required field.  

 

Is there a better or 'best practice' way to set up a test like this?

 

thanks.

 

1 ACCEPTED SOLUTION

Peter Bodelier
Giga Sage

Hi @stevekeiperSK,

I understand what you are trying to do, but I think it is overkill to try to check basic platform functionality like this, which is proven that it doesn't fail.

ATF is designed to verify your process, not platform functionalities.

View solution in original post

2 REPLIES 2

Peter Bodelier
Giga Sage

Hi @stevekeiperSK,

I understand what you are trying to do, but I think it is overkill to try to check basic platform functionality like this, which is proven that it doesn't fail.

ATF is designed to verify your process, not platform functionalities.

sure thanks, just thinking through how we want to use this tool, that's helpful advice.