Skip to content

Adding Test Configurations in Test Fields Child Table

Steps to Configure the Action OnChange

The OnChange action allows you to simulate a change in a field and test the expected behavior of related fields after that change. This is useful for validating dynamic field updates and dependencies.

🔹 Note:

  • The first entry (e.g., Pos 10) defines the field that will be changed and the value it will be set to.
  • The following entries (e.g., 10.01, 10.02) define the fields that should be checked after the change.

Configuration Guide

FieldDescription
ActionSet the first row to OnChange for the field to be modified. Leave subsequent rows blank.
PosPosition number of the action (e.g., 10, 10.01, 10.02).
Field NameThe name of the field to modify or check.
ValueThe value to set or validate.
Data TypeThe type of the field (e.g., Data, Select, Link).
Is MandatoryMark as ✅ if the field should be mandatory.
Is Read OnlyMark as ✅ if the field should be read-only.
Is HiddenMark as ✅ if the field should be hidden.
Is ChildMark this if the field belongs to a child table.
TabThe tab where the field is located.

Example Configuration: OnChange of Customer Field

No.PosActionField NameValueData TypeIs MandatoryIs Read OnlyIs HiddenIs ChildTab
110OnChangecustomerABBAGDataDetails
210.01addressABBAG-01DataAddress and Contact
310.02currencyEURLinkDetails

Summary

  • Use OnChange to simulate user interactions like selecting a customer, item, or option.
  • After simulating a value change (Pos 10), use follow-up positions (10.01, 10.02, etc.) to validate other fields that are affected.