Forum Discussion

gkardam1981's avatar
gkardam1981
New Contributor
9 months ago

Execution of Mobile Device scenarios are failing in integration with bit bar

Hi,

 

We are trying to run test scenarios on Bit bar using Test Complete. For Desktop it's working fine, but when tried to run scenarios on Mobile/iPad getting below error.

 

Reason: com.testdroid.api.APIException: Failed to submit test run! No device model matching pattern 'Apple iPhone 13 A2633 15.2' available

There was an attempt to run the remote browser with the following capabilities:

{
  "appium:automationName" : "XCUITest",
  "appiumVersion" : "2.0.0",
  "bitbar_device" : "Apple iPhone 13 A2633 15.2",
  "bitbar_findDevice" : "false",
  "browserName" : "Safari",
  "platformName" : "iOS"
}

The hub URL: https://eu-mobile-hub.bitbar.com/wd/hub

 

 

1 Reply

  • marshray's avatar
    marshray
    New Contributor
    1. Check Device Availability: Verify if the specified device model ('Apple iPhone 13 A2633 15.2') is available in the Bitbar device pool. It's possible that the exact device configuration you specified is not present. You might need to use a different device or adjust your device configuration to match an available device.

    2. Use a Generic Configuration: Instead of specifying a detailed device model, consider using a more generic configuration that matches a broader range of devices. For example:

    3. {
      "appium:automationName" : "XCUITest",
      "appiumVersion" : "2.0.0",
      "deviceName" : "iPhone.*",
      "bitbar_findDevice" : "true",
      "browserName" : "Safari",
      "platformName" : "iOS"
      }
    4. In this configuration, the 'deviceName' is set to a regular expression ('iPhone.*') that matches various iPhone models. Setting 'bitbar_findDevice' to 'true' allows Bitbar to automatically find an available device that matches the specified criteria.

    5. Verify Appium and Bitbar Compatibility: Ensure that the Appium version you are using is compatible with the Bitbar service. Sometimes, mismatches in Appium and Bitbar versions can cause compatibility issues. Updating Appium to the latest version compatible with Bitbar might resolve the problem.

    6. Contact Bitbar Support: If the issue persists, it's advisable to reach out to Bitbar support. They can provide specific guidance based on their system configurations and might assist you in resolving the problem or provide additional information about available devices.

    7.