Forum Discussion

saranya_vazha's avatar
saranya_vazha
Occasional Visitor
5 months ago

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 ?

1 Reply

  • By clicking the double arrow icon, you can view a detailed outcome of the test step, as shown in the screenshot below.

    Another way to check this information is by reviewing the TEST-all.xml file available in the results folder. This file contains the same details, and the “Tests and Steps” tab in the report is generated based on this file.

    Please let me know if you need further assistance.