Sign In   Register
x
Play video and select frame to capture or upload thumbnail
  Play   Capture Upload Own Image

Maestro: Populating Data Driven Components using JSON with a Prefill Data Service

By Knowledge in Maestro 223 views 10th Jun, 2021

Here David shows you how to extend the state list dropdown. In addition to the states dropdown, any time a state is selected its related capital city and population is displayed. This is achieved by the JSON array holding the capital city and population along with each state. General steps are: 1. Add two additional fields for capital city and population. 2. Create a Groovy service in TM which defines prefill using a JSON array of states plus their corresponding capital city and population. 3. Create a form Load rule in Maestro which defines a data field, states list, and at start, loads the states using the new Groovy service. 4. From the state dropdown, reference the data field to obtain the states list. 5. Create a Change rule for the State dropdown to obtain the chosen state's capital city and population whenever the user chooses another state.


Tags
No tags available yet


0
0
0
0
0
0
Unable to load tooltip content.

Not a member?

Register to ask a question and access to more content.

Join now