jeudi 5 décembre 2019

How to set array property value in code using Carina Test Framework for API tests?

I have the following request json body: { ... "attachmentIds": "${attachments}" ... }

and I have properties file that includes the declaration of the corresponding placeholder

I want to set array of strings in code instead of "attachments" placeholder, but getProperties().setProperty() expects only string value.

How can I achieve it other way or is it possible at all?

Thanks!

Aucun commentaire:

Enregistrer un commentaire