# Trying to slow down WebUI.sendkeys

**URL:** <https://forum.katalon.com/t/trying-to-slow-down-webui-sendkeys/22843>\
**Category:** Integrations\
**Tags:** integrations, katalon-studio\
**Created:** [April 10, 2019, 7:29am UTC](https://forum.katalon.com/t/trying-to-slow-down-webui-sendkeys/22843 "2019-04-10T07:29:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mfene5101](https://avatars.discourse-cdn.com/v4/letter/m/c57346/32.png) [@mfene5101](https://forum.katalon.com/u/mfene5101)\
**Post date:** [April 10, 2019, 7:29am UTC](https://forum.katalon.com/t/trying-to-slow-down-webui-sendkeys/22843/1 "2019-04-10T07:29:33Z")

</div>

Sir/Madam,

I have a payment hosted form where I am attempting to key in a series of numbers into a form field.

I dont have control of the form field, it instanced within an iframe call back from a payment gateway host server.

I am able to successfully fill in most fields with the exception of one; a field requiring 16 consecutive digits.

When using WebUI.sendkey or WebUI.SetText …the field in question is partially field; but some digits are skipped.

Is there a way to slow down or delay between key-strokes / characters; to get consistent control of the keystroke speed.

Thanks is advance for you prompt consideration.

Kind Regards,

Michael Fene

---

<div class="post-metadata">

**Author:** ![Marek\_Melocik](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/marek_melocik/32/371_2.png) [@Marek\_Melocik](https://forum.katalon.com/u/Marek_Melocik)\
**Post date:** [April 10, 2019, 8:46am UTC](https://forum.katalon.com/t/trying-to-slow-down-webui-sendkeys/22843/2 "2019-04-10T08:46:15Z")

</div>

Hello,

this works well for me -

```
String cardNo = "1111222233334444"
char[] cardNoArray = cardNo.toCharArray()

for(char ch in cardNoArray) {
	WebUI.sendKeys(inputTestObject, ch.toString())
	Thread.sleep(100)
}

```

Change sleep argument if 100ms is too short period.
