# Autocomplete doesn't work in script modee

**URL:** <https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504>\
**Category:** Bug Report\
**Tags:** katalon-studio, bugs-report\
**Created:** [April 2, 2021, 10:08am UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504 "2021-04-02T10:08:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ivica](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ivica/32/16733_2.png) [@ivica](https://forum.katalon.com/u/ivica)\
**Post date:** [April 2, 2021, 10:08am UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/1 "2021-04-02T10:08:15Z")

</div>

Hello everyone

I’ve been using Katalon Studio version 7.9.1 (build 208) on MacOS Catalina 10.15.7 and I’m experiencing issues with the autocomplete feature of Katalon.

At company where I work, we use parametrised tests and every time I try to use autocomplete to fill in variable name it cuts part of the name of that variable (usually part which I’ve already typed in). Due to this, feature is causing issues (due to missmatch in variable names) and it makes feature less efficient.

Here is a video of how it looks: [katalon-issue.mov.zip](https://forum.katalon.com/uploads/short-url/czfzY8Yyh1RRZu1IEyBHVoLGLYO.zip) (1.8 MB)

Does anyone know how could I resolve this issue?  
Thanks in advance  
Ivica

---

<div class="post-metadata">

**Author:** ![Dave\_Evers](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dave_evers/32/435_2.png) [@Dave\_Evers](https://forum.katalon.com/u/Dave_Evers)\
**Post date:** [April 3, 2021, 12:50am UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/2 "2021-04-03T00:50:10Z")

</div>

Using enhancedClick() & sendKeys() might work to slow down your text input.  
To use sendKeys() open ‘Script’ view & place “import org.openqa.selenium.Keys as Keys” at the end of the import section.

```auto
import ...
import org.openqa.selenium.Keys as Keys

//Test case body:
//enhancedClick() & sendKeys(), example:
WebUI.openBrowser('')
WebUI.navigateToUrl('www.google.com')
def SearchText = 'Msn'
WebUI.waitForElementVisible(findTestObject('YourSearchInputObject'), 30)
WebUI.enhancedClick(findTestObject('YourSearchInputObject'))
WebUI.sendKeys(findTestObject('YourSearchInputObject'), SearchText)

//Test case body:
//OR waitForElementVisible() & WebUI.setText() might also work...
WebUI.openBrowser('')
WebUI.navigateToUrl('www.google.com')
def SearchText = 'Msn'
WebUI.waitForElementVisible(findTestObject('YourSearchInputObject'), 30)
WebUI.setText(findTestObject('YourSearchInputObject'), SearchText)

```

---

<div class="post-metadata">

**Author:** ![ivica](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ivica/32/16733_2.png) [@ivica](https://forum.katalon.com/u/ivica)\
**Post date:** [April 7, 2021, 4:44pm UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/3 "2021-04-07T16:44:19Z")

</div>

@Dave_Evers

Thank you for the reply.

I’m not experiencing the issue with Katalon selecting keys during execution of my tests, but rather with autocompletion (intenseness) in Katalon Studio IDE.

---

<div class="post-metadata">

**Author:** ![jim.sears](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jim.sears/32/22192_2.png) [@jim.sears](https://forum.katalon.com/u/jim.sears)\
**Post date:** [April 7, 2021, 7:14pm UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/4 "2021-04-07T19:14:27Z")

</div>

Hi @ivica, performance improvement is what it sounds like you want. I would like Katalon to be more responsive as well. The only work-around I have is to wait and type slower. The dropdown list will appear in full after pressing dot (.) if you wait.

I have to wait 1/2 second to 1 second. It can be annoying for sure. How long is your wait?

---

<div class="post-metadata">

**Author:** ![Dave\_Evers](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/dave_evers/32/435_2.png) [@Dave\_Evers](https://forum.katalon.com/u/Dave_Evers)\
**Post date:** [April 8, 2021, 2:55am UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/5 "2021-04-08T02:55:08Z")

</div>

@ivica

I too have to slow my input at times, for example:

> [@How to slow down text input (for slower systems)](http://forum.katalon.com/t/how-to-slow-down-text-input-for-slower-systems/23480):
>
> //Sends single character & pauses for 500 milliseconds String phoneNbr = '555-123-1234' for (i = 0; i \< phoneNbr.length(); i++) { String PhoneNumber = phoneNbr.charAt(i) println('Send: ' + PhoneNumber) //WebUI.sendKeys(findTestObject('Your\_Test\_Object'), PhoneNumber) Thread.sleep(500) }

---

<div class="post-metadata">

**Author:** ![ivica](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/ivica/32/16733_2.png) [@ivica](https://forum.katalon.com/u/ivica)\
**Post date:** [April 8, 2021, 2:46pm UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/6 "2021-04-08T14:46:52Z")

</div>

@jim.sears  
My issue is a bit different. I’m aware that sometimes it can take up to second or two for the list to display.

However, my issue is with selection of the offered item in the list. Once offered items list is displayed and I select the offered option, Katalon Studio IDE cuts off part of my variable name (the part of the string which I’ve inputed before asking for suggestion).

---

<div class="post-metadata">

**Author:** ![jim.sears](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/jim.sears/32/22192_2.png) [@jim.sears](https://forum.katalon.com/u/jim.sears)\
**Post date:** [April 13, 2021, 4:25pm UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/7 "2021-04-13T16:25:04Z")

</div>

Hi @ivica,

That is definitely a bug. Not to long ago, a few of us had issues with autocomplete not working and I modified the Eclipse settings. I wonder if you set and/or reset your eclipse settings if if would fix your bug.

> [@Clicking Control+space does not give method suggestions after updating to Katalon v7.9.1 (Windows 10)](http://forum.katalon.com/t/clicking-control-space-does-not-give-method-suggestions-after-updating-to-katalon-v7-9-1-windows-10/52285/2):
>
> Hi @yashaswini.sadananda, I had the same problem in 7.9. I reset preferences to default or I enabled a checkbox and I think it was here. (see screenshot). Window\Katalon Studio Preferences Jim

Good luck!

---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [April 12, 2022, 2:33pm UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/8 "2022-04-12T14:33:29Z")

</div>

Automatically bumped on April 12, 2022, 2:33pm UTC



---

<div class="post-metadata">

**Author:** ![system](https://europe1.discourse-cdn.com/katalon/original/3X/d/5/d55596ab02785a255798e87ede769734747b30c4.svg) [@system](https://forum.katalon.com/u/system)\
**Post date:** [April 12, 2023, 2:33pm UTC](https://forum.katalon.com/t/autocomplete-doesnt-work-in-script-modee/53504/9 "2023-04-12T14:33:42Z")

</div>

Closed on April 12, 2023, 2:33pm UTC

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
