How can I obtain current browser in scripts?
I use TestComplete with BitBar to test web applications. My tests are scripted in javascript and I start remote browser like this: var capabilities = { "platform": "Windows", "osVersion": "11", "browserName": "Chrome", "version": "109", "resolution": "1920x1080" }; var server = "https://eu-desktop-hub.bitbar.com/wd/hub"; function StartInBitBar() { Browsers.RemoteItem(server, capabilities).Run(""); } function DoSomeTests() { //Here I need to obtain the Remote browser item created in StartInBitBar(), but how? //This fails: Log.Message(Browsers.CurrentBrowser.Description); }584Views0likes1CommentBitBar Execution - Maximize browser window irrelevant or browser selected
We are using Test Complete to execute our tests on bitbar. we use Edge ,Chrome and Safari as our browsers under test. The question is : using TestComplete, how do we send the maximize browser call and have it work across all the browsers used for testing in BitBar Cloud? We have tried: Aliases.browser.BrowserWindow.Maximize() => this works locally but not on BitBar. Any suggestions to try out?453Views0likes0Comments