TestComplete + BitBar
I'm working on executing functional tests using TestComplete through BitBar. Specifically, I'm triggering a TestComplete test to run on BitBar by configuring BitBarCapabilities and launching a remote browser session. My goal here is to run the same functional test across different platform(s)/browser(s)/version(s) using BitBar. Below is a piece of code used in one of my utilities files to choose execution platform: switch (Project.Variables.ExecutionPlatform) { case "BitBar": // Set BitBar Capabilities let BitBarCapabilities = { "platform": "Linux", "osVersion": "18.04", "browserName": "Chrome", "version": "139", "resolution": "1920x1080" } // Open Remote Browser Browsers.RemoteItem("https://us-west-desktop-hub.bitbar.com/wd/hub", BitBarCapabilities).Run(baseURL + "/index.html"); break; While working on this, I noticed that the BitBar Dashboard doesn't typically display the actual test results.(It does show in TestComplete Logs locally) In the example I'm testing—filling out a form on a website and verifying certain properties—the "Tests and Steps" section in BitBar only shows a few GET and POST requests along with their status codes, rather than the detailed outcomes of the test steps. Could you please assist with identifying if there's an alternative approach to achieve this/ recommendations on how best to implement ?28Views0likes0CommentsHow 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); }596Views0likes1CommentBitBar 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?466Views0likes0Comments