"New" Button and "Related List Forms" in ATF

flipflorey
Kilo Contributor

RelatedListForm.PNG

So I am trying to figure out how to possibly create a test in ATF that will allow me to either press the "New" button or click a hyperlink inside of an ATF test.

I realize these will either open/navigate me to a new form/page. But I want to (at the basic level) test just functionality of the buttons/hyperlinks themselves.

I would also like be able to test what I call "Related List Forms" (Like the list of Time Cards displayed above, this one is at the bottom of an Incident page).

I want to see if they display properly, have the correct data, etc.

I also would like to be able to cycle through the tabs to the other related lists that are present.

I realize these are essentially two separate questions but they seem to walk hand in hand. They are always together.

Thought I would try to get the discussion going anyway.

3 REPLIES 3

chrissquires1
Tera Guru

Unfortunately I haven't found a way to access the Related Lists without opening a new form.   For example, I have a test for Change Management that requires an Affected CI to be added.   Normally this would be done through the Configuration Item field, but we hide that field on our form.   In order for me to add the Affected CI I needed to open a new task_ci form, complete it and submit it before I could proceed with the test.   This does not help your situation, but I have seen a discussion where people have attempted to create their own custom test step to access the Related Lists.   Good luck.


Hi, this is good info. However, do you know how to link the 2 records?   My scenario is similar to yours - on a change request record, I am trying to test adding a change task.. but need to link that task to the change request record.


You should be able to open new form on change_task table and set value of change_request to the number you're associating with.   For example, the record from a previous step where change_request was submitted.