Hello @soumyaranjan.intelli,
For executing TestProject tests on different remote platforms and browsers, you can use the TestProject openSDK which provides the ability to code your tests to be executed on remote drivers for cloud providers such as SauceLabs or BrowserStack.
Your TestProject account should be integrated with BrowserStack or SauceLabs: https://app.testproject.io/#/integrations/cloud-executions
A custom capability cloud:URL
should be set, for example:
import io.testproject.sdk.drivers.TestProjectCapabilityType;
import io.testproject.sdk.drivers.web.RemoteWebDriver;
import org.openqa.selenium.remote.DesiredCapabilities;
public final class Example {
public static void main(final String[] args) throws Exception {
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability(
TestProjectCapabilityType.CLOUD_URL,
"https://{USERNAME}:{PASSWORD}@ondemand.us-west-1.saucelabs.com:443/wd/hub");
caps.setCapability("browserName", "chrome");
caps.setCapability("version", "77.0");
caps.setCapability("platform", "win10");
RemoteWebDriver driver = new RemoteWebDriver("{TP_DEV_TOKEN}", caps);
..
..
..
Once the test execution finished, its reports will be automatically generated to the TestProject platform under your account.