Creating ATF Test to validate Related List visibility in Agent Workspace but even though the related list is there the test is failing.

Julian
Mega Contributor

Hi, 

Im trying to create an ATF Test to verify that Related Lists Appear in a consumer record. My Test Steps are: 

- Create a User - Creates user with necessary roles & permissions
- Open a New Form - Open a consumer form in Agent Workspace
- Set Field Values - Sets some values to the Consumer Form 
- Click UI Action  - Saves Consumer Form (This reloads page and takes you to the Consumer Record) 
- Validate Related List Visbility - Should verify that the related list is there. 

If I go through these steps myself I am able to view the related list, and click on it but the test is failing. 

The error message I am getting is: FAILURE: Expected the following related lists to be visible on the 'csm_consumer' form but they were not visible: Case->Consumer.

Is this not the way to test related lists? Do you have any recommendations? 

8 REPLIES 8

Julian
Mega Contributor

I noticed that in the ATF Tet Step "Validate Related List Visibility" there is no specification of where it is validating if the related list is visible. By this I mean that you can choose table but there is no "Form UI" Field in order to check in the Agent Workspace. 

 

Could this be the reason my test is failing? If so, is there a work around this or any other way of testing that the Related List is present in Workspace? 

 

 

Hi Julian,

Did you find any way to validate the related the related list visibility?

Also, is there any way to test the Agent Assist functionality using the ATFs.

Did you guys figure this out?

Hey, I still have not figured out how to solve this issue.