# Unable to set upper case in mobile app

**URL:** <https://forum.katalon.com/t/unable-to-set-upper-case-in-mobile-app/18354>\
**Category:** Mobile Testing\
**Tags:** mobile-testing, katalon-studio\
**Created:** [January 28, 2019, 3:19am UTC](https://forum.katalon.com/t/unable-to-set-upper-case-in-mobile-app/18354 "2019-01-28T03:19:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alan\_Chan1](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@Alan\_Chan1](https://forum.katalon.com/u/Alan_Chan1)\
**Post date:** [January 28, 2019, 3:19am UTC](https://forum.katalon.com/t/unable-to-set-upper-case-in-mobile-app/18354/1 "2019-01-28T03:19:53Z")

</div>

Hi guys,

Recently i’m been using Katalon to script automation on my company’s app. However i encounter an issue while using the Mobile.setText() input with uppercase letter. The input with uppercase letters that i have set in the script will auto convert to lowercase. Did you guys encounter this issue or could mind anyone can share the solution? Thanks.

---

<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 28, 2019, 4:59am UTC](https://forum.katalon.com/t/unable-to-set-upper-case-in-mobile-app/18354/2 "2019-01-28T04:59:35Z")

</div>

Hi @Alan_Chan1,

Can you tell us what platform you’re testing for (iOS/Android)?

I’ve had some better luck using the `sendKeys` function vs. the `setText` function. Here’s a post with some more info that could be helpful:

> [@Set text operates as click and set text](http://forum.katalon.com/t/set-text-operates-as-click-and-set-text/11085/14):
>
> Hi Husnah, Using Katalon’s sendKeys function: Add this import to your test file: import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile Then send the keys to the textField Test Object: Mobile.sendKeys(textField, "My Value"); Using Appium’s sendKeys function: If that doesn’t work, you can try using Appium’s sendKeys function directly: Add these import statements to the top of your test file: import io.appium.java\_client.android.AndroidDriver import com.kms.katalon.co…

Hope this helps,

– Chris

---

<div class="post-metadata">

**Author:** ![Alan\_Chan1](https://avatars.discourse-cdn.com/v4/letter/a/f07891/32.png) [@Alan\_Chan1](https://forum.katalon.com/u/Alan_Chan1)\
**Post date:** [January 28, 2019, 9:44am UTC](https://forum.katalon.com/t/unable-to-set-upper-case-in-mobile-app/18354/3 "2019-01-28T09:44:34Z")

</div>

Hi @Chris_Trevarthen

I’m testingin Android platform with the real device model name call meizu. But i had no problem when im using the AVD emulator.

---

<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 28, 2019, 4:37pm UTC](https://forum.katalon.com/t/unable-to-set-upper-case-in-mobile-app/18354/4 "2019-01-28T16:37:00Z")

</div>

Hi @Alan_Chan1,

Thanks for the info. It could be the way real device keyboards are handled that is making the difference. Can you try the `sendKeys` function to see if that works any better?

– Chris
