DAI - Test Config - Parameter value with commas

I see the global and custom parameters for the test configuration in DAI. I am trying to understand how these parameters can be accessed inside my test case script to use it.
I tried like:

[[custom parameter name]]
[[global parameter name]]
global parameter_name
universal parameter_name

Appreciate if anyone throw some inputs here.

Hey @scsvel,

  1. You need to reference them in the test case itself within the test Config. To do so you need to add them with [[MyUserName]]

  2. Within the custom parameters you can link the Global paramters as well as define other “text values”. You have the make sure the order and number matches the parameters defined in your script. See next step

  3. In your EPF scripts you need to add params MyVarName, MyStorage, MyUser. These variable names do not need to match with the ones in DAI. The Value are not encapsulated in quotes. You cannot return any values back to DAI atm. Parameters and Results | EPF Docs
    image

  4. When running the test config the global parameters will be handed over from DAI to EPF and can be used

ps. You can set and change the global parameters via DAI CLI / Eggplant runner within your CICD pipelines as well. Running Automated Tests | DAI

Hope this helps. Let me know in case you do have further questions.

Cheers,
Karsten

1 Like