Form not loading properly even after wait - ATF limitations Confirmation

SangyM
Tera Contributor

 

Hi Guys,

 

So, here I am trying to put the asset value in this loaner asset catalog task form in hardware Workspace.

SangyM_0-1753070259596.png

Some features of this Asset Search box - When you put values normally it shows an Autocomplete drop-down

SangyM_1-1753070337376.png

 

When you click on the search icon it opens up a new pop-up to select

SangyM_2-1753070380403.png

 

Now, I have used the set field values in my ATF script

SangyM_3-1753070547472.png

Now, when I am running this I am getting failure here

SangyM_4-1753070671303.png

Now, while opening the failure screenshots I can see the page has not been loaded properly

SangyM_5-1753070740753.png

 

Now, while it was running in the test runner I could see, the page was successfully loaded.

Now, I have tried using custom waits but they open another window and current window get's aborted, so does the set field values step.

Also, I don't know if it has something to do with resolution of the page or something.

Can someone please confirm if this is a limitation of ATF or there might be any other workarounds for the same?

 

5 REPLIES 5

Ankur Bawiskar
Tera Patron
Tera Patron

@SangyM 

the user you are using has read access to the Asset table?

That field is present on form?

Did you run the test as Admin?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar , yes the user has access to the asset table.

And that field is present on the actual form as well. Yes I have run the test as admin.

SangyM_0-1753073461284.png

The user has following roles

SangyM_1-1753073565696.png

 

@SangyM 

the Asset you are trying to set satisfies the ref qualifier on that field?

Also when the non-admin user tests manually is that field selectable?

The Step 23 screenshot shows the Asset field on form for non-admin in ATF?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Ankur Bawiskar 

q1. Yes it does.

q2. yes it is

SangyM_0-1753076751532.png

 

q3. the step is for approver User with the following roles.

SangyM_1-1753076836162.png