- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-08-2019 10:47 AM
I have a custom app that has 2 tables. One table is a one-to-many table.
In ATF, I have a test that adds a record to the parent table.
How do I then add a test step to open a form for the child record and carry on from there?
In other words, how do I make ATF click the "New" button below so I can make it set values on that form?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-10-2019 12:56 AM
I am assuming that your child form has a field which is a reference to the parent.
I am assuming that when you click the "New" button, it opens the child form, and the parent field is auto-populated.
To test creation of a child record, use an "Open a New Form" step immediately followed by a "Set Field Values". The "Set Field Values" will specify the value of the parent by referencing the test step that created the parent record.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 12:06 AM
I cannot write the Reference field of this association through ATF,too.
Do you have any other solutions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2023 12:04 AM
Hello, what if my associated field is readonly? I cannot write the Reference field of this association through ATF.
Do you have any other solutions?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2019 01:16 PM
A couple of other options:
- You could create an alternate view of the child form that contains the parent field, but is not the view that your end-users would see
- Instead of Open New Form, you could create the child record using Server > Record Insert