ATF on related list is not working

SouvickA
Tera Contributor

Hello All,

I am facing a issue on ATF related list step:

Validate Related List Visibility step is throwing error TypeError: Cannot read properties of undefined (reading 'getTableName').

 

The related list is present on the form and it can be selected from the available list of the ATF step as well. My requirement is to test and create a record from this related list on the existing form.

Any help is highly appreciated.

 

Regards

Souvick

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@SouvickA 

please share the steps you configured

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

Hi Ankur, 

Please find the below screenshot. The related list is available and can be configured, but the test is throwing error.

@SouvickA 

are you opening the correct related list?

Is that user having access to it i.e. is that seen by that user in normal testing?

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

SairajG
Tera Contributor

Hello @SouvickA 
After Step Submit a Form, You can create a step "Open Existing Record" in "Standard UI" for that particular table (Select the correct Table) & Record, Then Add the "Validate Related List Visibility" step and configure the Visible Related lists.
If my response was helpful, please mark it as correct and close the thread to help future readers.
Regards,
Sai

SairajG_0-1750235150865.pngSairajG_1-1750235273922.png