I am writing my yaml file to run my test suite on different OS and browsers using TestCloud. I am currently configuring my Azure DevOps pipeline with Katalon extension which creates a task to run the tests. As far as I understand I can only specify in the command one environment per task. Meaning that if I’d want to run my tests on 10 different environments I’d need to create 10 tasks. Every time a Katalon task starts it downloads Katalon Studio which takes quite a while. That is why I am asking if there is a better way to concatenate test suites on different environments?
Something better than this:
trigger:
- main
pool:
vmImage: ubuntu-latest
steps:
- task: katalonTask@1
inputs:
version: '9.2.0'
executeArgs: '-retry=0 -testSuitePath="Test Suites/TestSuiteOne" -browserType="TestCloud" -testcloudEnvironmentId=**"300"** -testcloudTunnel="false" -apiKey="xxxx" -licenseRelease="true" -orgID="xxxx" --config -webui.autoUpdateDrivers="true"'
xvfbConfiguration: '-a -n 0 -s "-screen 0 1024x768x24"'
env:
JAVA_HOME: $(JAVA_HOME_17_X64)
PATH: $(JAVA_HOME_17_X64)/bin:$(PATH)
displayName: 'Katalon test suite run on **Windows and Edge Chromium**'
- task: katalonTask@1
inputs:
version: '9.2.0'
executeArgs: '-retry=0 -testSuitePath="Test Suites/TestSuiteOne" -browserType="TestCloud" -testcloudEnvironmentId=**"299"** -testcloudTunnel="false" -apiKey="xxxx" -licenseRelease="true" -orgID="xxxx" --config -webui.autoUpdateDrivers="true"'
xvfbConfiguration: '-a -n 0 -s "-screen 0 1024x768x24"'
env:
JAVA_HOME: $(JAVA_HOME_17_X64)
PATH: $(JAVA_HOME_17_X64)/bin:$(PATH)
displayName: 'Katalon test suite run on **Windows and Firefox**'
and so on...