The Zurich release has arrived! Interested in new features and functionalities? Click here for more

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.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

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.


Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

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