Automated Test Framework use case: reference a value from a previous step
This use case illustrates assigning a form field the value of an output variable from a previous step.
Before you begin
Role required: atf_test_admin
About this task
Automated Test Framework: In this example, the second step references an output value from the first step. Pass values from one step to another example.
Image omitted: atf-use-backref-02.png
Pass values from one step to another example
Pass values from one step to another example
Procedure
Insert a record into the incident table.
This example inserts a record into the Incident table.
Image omitted: atf-use-backref-01.png
Record insert
Record insert
- Open the record just inserted by assigning to the Record field the output variable from Step 1.
Image omitted: atf-use-backref-form.png
Open an existing record test step
Open an existing record test step
- Validate that fields on the open record have the values you expect.
Image omitted: atf-use-backref-03.png
Field values validation test step
Field values validation test step
Parent Topic:Automated Test Framework use case examples
Related topics