How to make ATF detect that a required field has been completed

Wes Gould
Tera Contributor

We customized the Idea Portal and I am trying to create an automated test that consists of filling out a form to create a new idea. I am using the custom UI steps for this test. When the button to create the idea is selected, instead of an idea being created, there is an error message that "title of idea is a required field". However, that field has been filled out. Does anyone know how to get ATF to recognize this field is completed?

image

Things I have already tried that did not help:

1. Adding a timeout to the steps.

2. Changing the sequence to which I am filling out the fields.

3. Using the "Click Component (Custom UI)" step first to try and click in the field, then adding next step to set the value.

Note that the form field works as expected manually, it is only giving this issue for ATF. 

2 REPLIES 2

Kalyani Jangam1
Mega Sage
Mega Sage

Hi,

In the Form=>Set Field Value, you can set manually value so it will not show mandatory issue.

MJenkins1
Tera Contributor

I'm experiencing the same issue, it's the same on a UI Modal. Did you try retrieving the Components?