Hey,
I'm trying to use tests suite file with yaml format, but when I try to use array for parameters it gives an error "org.testng.TestNGException: org.yaml.snakeyaml.error.YAMLException: No suitable constructor with 2 arguments found for class java.lang.String"
This is the example ot the tests suite file:
name: Selenium poc
listeners:
- utilities.Listener
tests:
- name: Http status code test on homepage on chrome for mac
parameters:
pplatform: Platform.MAC
pbrowser: chrome
pversion: "50"
pos: mac
pdevice: desktop
pwidth: 1280
pheight: 800
env: "rmstaging"
base_urls:
- "stirng_1"
- "string_2"
classes:
- tests.HttpStatusCodeTest
Can you give some solution to how use array in parameters?
Thanks,
Nikolay Atanasov