Test automation - different browser/OS setup

Hi there,

I’m trying to set up a remote automated test for our website project, using LambdaTest’s solution (Selenium based).
If I access Project - Settings - Desired capabilities - Remote I can configure one OS + Browser + version, in which to run the test, but I cannot add multiple OS/browser configurations here.
Is there any solution/workaround for this? I would like to add at least one more OS, se whenever I run an automated test, to cover 2 OS and 2 browsers (for eg. Win10 - Chrome 85, Catalina - Safari 14).

@botond.gyorgy

You can use custom execution and define multiple remote execution here: https://docs.katalon.com/katalon-studio/docs/introduction-to-desired-capabilities.html#custom-desired-capabilities

Another approach is using test data to store the configuration and override the desired capabilities at runtime before starting a remote session:

import com.kms.katalon.core.configuration.RunConfiguration
RunConfiguration.setDriverPreferencesProperty("Remote", "browserName", "chrome")
WebUI.startBrowser()
1 Like