A test case was created by using Selenium builder on local machine. This test case was being configured to run on a browser in remote machine. The choice of browser and the remote server url are being passed to the test case by defining the below properties in config file: selenium.browser.type selenium.remote.url
The remote browser expects a web driver capability, browserstack.local to be set to true.
How to pass this parameter through the test case in DevTest at run time?
(1) Create a text file and add the line below in it browserstack.local=true (2) Then add the below key/pair as a property in config file: Key = selenium.WebDriver.DesiredCapabilities.filePath Value = Path to the text file
Was this information helpful?