Skip to content

Files

Latest commit

 

History

History
144 lines (110 loc) · 7.58 KB

bitrise-integration-xcuitest.md

File metadata and controls

144 lines (110 loc) · 7.58 KB
id title hide_title sidebar_label description keywords url site_name slug
bitrise-integration-xcuitest
Integrating LambdaTest as a Bitrise CI/CD Step [XCUITest]
true
Bitrise - XCUITest
Integrate LambdaTest with Bitrise CI/CD Step [XCUITest] to run your XCUITest workflow successfully on LambdaTest.
lambdatest bitrise
bitrise with lambdatest
manual app testing bitrise
xcui testing with bitrise ci
xcuitest bitrise
app testing with bitrise
app automation bitrise
LambdaTest
bitrise-integration-xcuitest/
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify({ "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.lambdatest.com" },{ "@type": "ListItem", "position": 2, "name": "Support", "item": "https://www.lambdatest.com/support/docs/" },{ "@type": "ListItem", "position": 3, "name": "Integrating LambdaTest as a Bitrise CI/CD Step [XCUITest]", "item": "https://www.lambdatest.com/support/docs/bitrise-integration-xcuitest/" }] }) }} ></script>

Running XCUITests In Bitrise CI


Bitrise offers a mobile CI/CD platform as a service (PaaS) to accelerate the automation of your software development projects. It provides different mobile-first features like exhaustive mobile stack coverage, store code anywhere in cloud or on-premise, and zero hardware setup that make building, testing, and deploying faster and easier.

Using LambdaTest with Bitrise, you can effortlessly perform XCUI testing of your mobile apps on an online device farm of real Android devices.

Prerequisites


  1. Ensure you have access to LambdaTest real device cloud. If not, please contact sales.

  2. A Bitrise account.

  3. A GitHub / BitBucket / GitLab or other repository to connect with Bitrise.

:::important Note If you are getting started with Bitrise CI, please refer to our documentation on running Appium tests in Bitrise CI. :::

Configuring The LambdaTest App Automate - XCUI Step In Bitrise


  1. Use the search bar to find LambdaTest App Automate - XCUITest.

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration-cicd.webp').default} alt="Bitrise Integration CI/CD" width="1444" height="703" className="doc_img"/>

  1. Click LambdaTest App Automate- XCUITest card.

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration-cicd-dashboard.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>

  1. In Input Variables, enter App ipa path and Test suite ipa path.

You can add a public link if your files are accessible through public link. In case, you don't an apk link handy, you can use LambdaTest’s sample application Proverbial for running your first test.

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration-cicd-1.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>

  • In LambdaTest username, click Select secret variable.

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration-cicd-2.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>

  1. Provide the list of device and operating system version on which you wish to run your tests.

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration-cicd-3.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>

Other options:

Key Value Capability Description
Device List TYPE: STRING
DEFAULT: Untitled
"iPhone 12-14", "iPhone 6S-13"
Add the devices here on which the test will be executed.
Devices are comma separated.
Build Name TYPE: STRING
DEFAULT: Untitled
iOS Small Run
You can group your tests like a job containing multiple tests.
Queue Timeout TYPE: STRING
DEFAULT: 600
300
Enter the time in seconds after which you want your build to timeout from queue.
Idle Timeout TYPE: STRING
DEFAULT: 120
120
Enter the time in seconds for maximum running time on a test in the build.
Tunnel TYPE: BOOLEAN
True
OR
False
To test local applications with LambdaTest.
Tunnel name TYPE: STRING
RabbitHole
Name of the tunnel.
Device logs TYPE: BOOLEAN
DEFAULT: FALSE
True
OR
False
Enable Device Logs that will show information on the actions performed by the device.
Network logs TYPE: BOOLEAN
DEFAULT: FALSE
True
OR
False
Enable Network Logs that will show the information on the data transmitted & received by the device.
Video TYPE: BOOLEAN
DEFAULT: TRUE
True
OR
False
Video recording of the screen.

:::info

XCUI Testing On LambdaTest

Automation Capabilities Generator For Selenium and Appium :::

  1. Click ⌘ + S to save the step.

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration-cicd-4.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>

  1. Let’s go back to the Build and click on Rebuild to Build the Step.

<img loading="lazy" src={require('../assets/images/bitrise-integration/bitrise-integration-cicd-build.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>

  1. Once the build process is complete, visit LambdaTest App Automation Dashboard to view your test results.

<img loading="lazy" src={require('../assets/images/bitrise-integration/lambdatest-xcuitest.webp').default} alt="Bitrise Integration CI/CD Dashboard" width="1444" height="703" className="doc_img"/>