ATF help

TStimple
Tera Contributor

I am a Newbie and hoping to get assistance with what seems would be an easy ATF test to create.

The objective is to simply insert/open an Incident record, and then add an item to the affected CI (related) list.

I can confirm the list is visible on the form in step 4, but Whenever I use the step 5 'Click a UI action on a related list' I get an error that the 'List cannot be found on the open form'

What am I missing?

AffectedCITest.jpg

 

8 REPLIES 8

Community Alums
Not applicable

Hi @TStimple ,

The issue appears that there are no affected CI for the incident that you are creating.
Ensure you add the CI while creating the incident

Check the correct table for the CI ideally it should be cmdb_ci.

 

If my response has resolved your query, please consider giving it a thumbs up ‌‌ and marking it as the correct answer‌‌!

 

Thanks & Regards,

Sanjay Kumar

Community Alums
Not applicable

I think it might be that the click list banner button might only work on a list view than a related list. I would try that theory by applying that action on another test atf when you open a list view of records. What if instead of populating a related list from a form you populate the affected ci field on the form and then it would autopopulate the affected related list anyway? Then you can have an atf step that checks if the related list has records

Shaqeel
Mega Sage

Hi @TStimple 

 

As far I understood your objective,

In the Incident record you need to click button on its related list.

For that you need to user List and related list steps.

Shaqeel_0-1720512795064.png

 

You need to use Click a List UI action.

and in that select related list.

 

You can directly ping me I would be happy to help you as I am ATF expert.

 

Kindly mark Helpful/Solution.

 

Regards

Shaqeel


***********************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting "Accept as Solution" and " Helpful." This action benefits both the community and me.

***********************************************************************************************************************





Regards

Shaqeel

TStimple
Tera Contributor

Thanks to everyone for the replies.

The solution was a combination of things mentioned. I had to change the Table back to the Incident form (not the affected ci table)

Also, when I was choosing the "Edit..." button - needed to pick the 'many-to-many' option.

 

HOWEVER - I still need assistance--

So now the window opens... but now I am unsure how to populate the "edit members" form the opens as the 'set field values' does not seem to apply.

Please see new screen caps.

AddAffectedCI_fixed.jpg

 

How do I populate:

edit members.jpg

 help please.

Tim