# How to launch installed iOS app with bundleId using katalon studio

**URL:** <https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [April 15, 2019, 4:25pm UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231 "2019-04-15T16:25:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![chandu.komireddy](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@chandu.komireddy](https://forum.katalon.com/u/chandu.komireddy)\
**Post date:** [April 15, 2019, 4:25pm UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/1 "2019-04-15T16:25:39Z")

</div>

How to launch installed iOS app with bundleId using katalon studio?

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [May 3, 2019, 2:19am UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/2 "2019-05-03T02:19:56Z")

</div>

Hi @chandu.komireddy,

You’ll have to start the test with an actual .app or .ipa file that you have on your system (the Katalon Studio Test iOS Project should have one). You can use [Appium’s Desired Capabilities](http://appium.io/docs/en/writing-running-appium/caps/#ios-only) to set the bundleId for the app you want to actually test.

```auto
import com.kms.katalon.core.configuration.RunConfiguration
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile

String appFile = "TestApp.app"

RunConfiguration.setMobileDriverPreferencesProperty("bundleId", "com.mypreinstalled.app")

Mobile.startApplication(appFile, false)

```

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![chandu.komireddy](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@chandu.komireddy](https://forum.katalon.com/u/chandu.komireddy)\
**Post date:** [May 3, 2019, 3:44am UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/3 "2019-05-03T03:44:07Z")

</div>

Hi @Chris_Trevarthen,  
Thanks for responding.  
My test application is on test flight app, so don’t have .app and .ipa file.  
How do we open already installed app on iOS device using katalon?

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [May 3, 2019, 1:33pm UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/4 "2019-05-03T13:33:24Z")

</div>

Hi @chandu.komireddy,

You can get an .app or .ipa file from the sample project that comes with Katalon Studio.

- From the File menu, choose “New Sample Project”.
- Choose “Sample Mobile iOS Tests Project”.
- Fill in the info to create a new project
- This will create a new project on your drive
- Look in the sample project under the `App/Coffee Timer 2018-06-20 15-04-42` for the `Coffee Timer-iPad Pro (9.7 -inch).ipa` file
- You can copy and paste this file into your own test project and reference it as the “appFile” in the code I provided above

If for some reason, this doesn’t work, you can rebuild a new .app file from the Xcode project in `App/Your-First-iOS-App/Coffee Timer`

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![chandu.komireddy](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@chandu.komireddy](https://forum.katalon.com/u/chandu.komireddy)\
**Post date:** [May 24, 2019, 12:40pm UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/5 "2019-05-24T12:40:51Z")

</div>

Hi @Chris_Trevarthen,

i Dont have .app/.ipa file , i have only bundleId so how to invoke application using bundleId like Appium?

Thanks in Advance.

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [May 24, 2019, 2:53pm UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/6 "2019-05-24T14:53:55Z")

</div>

Hi @chandu.komireddy,

Even if the application you’re trying to test is installed via Testflight, you’ll still need another .app file to launch the test (I don’t know of a way around this right now). You can get a sample .app file from one of Katalon Studio’s test projects.

- In Katalon Studio, go to File-\>New Sample Project-\>Sample iOS Mobile Tests Project.
- After you save the project, there will be a new folder in that folder: `App/Your-First-iOS-App/Coffee Timer`.
- Open the `Coffee Timer.xcodeproj` file in Xcode and build it.
- You’ll get an .app file created in your `DerivedData` directory.
- Point to that .app file in your `startApplication()` line of your test.

If you can’t find the .app file, you can also try using the prebuilt .ipa that comes with the test project. This will be located in your test project’s folder at `App/Coffee Timer 2018-06-20 15-04-42` for the `Coffee Timer-iPad Pro (9.7 -inch).ipa`.

Hope this helps,

Chris

---

<div class="post-metadata">

**Author:** ![besqaenterprise](https://avatars.discourse-cdn.com/v4/letter/b/a88e57/32.png) [@besqaenterprise](https://forum.katalon.com/u/besqaenterprise)\
**Post date:** [January 8, 2020, 7:41pm UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/7 "2020-01-08T19:41:49Z")

</div>

Hi Chris has the same question my app is on testflight you mentioned that how to copy it from katalon sample application and get it caopy and paste .Can you please share it .

---

<div class="post-metadata">

**Author:** ![Chris\_Trevarthen](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/chris_trevarthen/32/358_2.png) [@Chris\_Trevarthen](https://forum.katalon.com/u/Chris_Trevarthen)\
**Post date:** [January 9, 2020, 4:57am UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/8 "2020-01-09T04:57:45Z")

</div>

Hi @besqaenterprise,

In the release of Katalon Studio 6.3, the ability to start an existing installed application was added. Check out the docs here:

> **[\[Mobile\] Start Existing Application](https://docs.katalon.com/katalon-studio/docs/mobile-keyword-start-existing-apps.html#description)**
>
> New keyword added: Start an existing app

Hope this helps,  
Chris

---

<div class="post-metadata">

**Author:** ![chandu.komireddy](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@chandu.komireddy](https://forum.katalon.com/u/chandu.komireddy)\
**Post date:** [March 10, 2020, 2:01am UTC](https://forum.katalon.com/t/how-to-launch-installed-ios-app-with-bundleid-using-katalon-studio/23231/9 "2020-03-10T02:01:53Z")

</div>

Thanks @Chris_Trevarthen.
