# How to automate switch multi apps in android using katalon

**URL:** <https://forum.katalon.com/t/how-to-automate-switch-multi-apps-in-android-using-katalon/19065>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [February 8, 2019, 10:20am UTC](https://forum.katalon.com/t/how-to-automate-switch-multi-apps-in-android-using-katalon/19065 "2019-02-08T10:20:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [February 8, 2019, 2:48pm UTC](https://forum.katalon.com/t/how-to-automate-switch-multi-apps-in-android-using-katalon/19065/2 "2019-02-08T14:48:57Z")

</div>

Hi @muhammad_saipul_rohm,

I have some code in this post that shows how you would switch apps in a test:

> [@How to change desired capabilities during executing the test suit on real android device](http://forum.katalon.com/t/how-to-change-desired-capabilities-during-executing-the-test-suit-on-real-android-device/18385/2):
>
> Hi @zanoon2010, I think you can fake out the test to switch applications by setting the Desired Capabilities, using RunConfiguration.setMobileDriverPreferencesProperty: import com.kms.katalon.core.configuration.RunConfiguration import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile // You will need a real .apk file here in order to launch successfully, even if you're not testing it String appFile = "/fullpathtomyfile/mobile-beta.apk" // The app info for the built-in app y…

Hope this helps,

Chris

---

_[View the full topic](https://forum.katalon.com/t/how-to-automate-switch-multi-apps-in-android-using-katalon/19065)._
