# BUG KS 7.9 does not recognize WebUI (!)

**URL:** <https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243>\
**Category:** Bug Report\
**Tags:** bugs-report, katalon-studio\
**Created:** [January 19, 2021, 8:16pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243 "2021-01-19T20:16:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![christopher.blake](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@christopher.blake](https://forum.katalon.com/u/christopher.blake)\
**Post date:** [January 19, 2021, 8:16pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/1 "2021-01-19T20:16:18Z")

</div>

We are having some problems with Katalon 7.9. Is it possible to rollback ro 7.8? If so, how?

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 8:17pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/2 "2021-01-19T20:17:09Z")

</div>

Yes. Download 7.8.2, unzip, run.

What is the issue with 7.9?

---

<div class="post-metadata">

**Author:** ![christopher.blake](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@christopher.blake](https://forum.katalon.com/u/christopher.blake)\
**Post date:** [January 19, 2021, 8:30pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/3 "2021-01-19T20:30:34Z")

</div>

He is the response form my co-worker

does not recognize WebUI keywords in scripts any longer

---

<div class="post-metadata">

**Author:** ![christopher.blake](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@christopher.blake](https://forum.katalon.com/u/christopher.blake)\
**Post date:** [January 19, 2021, 8:30pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/4 "2021-01-19T20:30:44Z")

</div>

Groovy:Apparent variable ‘WebUI’ was found in a static scope but doesn’t refer to a local variable, static field or class.

---

<div class="post-metadata">

**Author:** ![christopher.blake](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@christopher.blake](https://forum.katalon.com/u/christopher.blake)\
**Post date:** [January 19, 2021, 8:30pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/5 "2021-01-19T20:30:52Z")

</div>

IDE does not autocomplete or allow drag and drop for WebI keywords window  
it also added or duplicates libraries in import section of keyword classes

---

<div class="post-metadata">

**Author:** ![christopher.blake](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@christopher.blake](https://forum.katalon.com/u/christopher.blake)\
**Post date:** [January 19, 2021, 8:30pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/6 "2021-01-19T20:30:59Z")

</div>

it also added or duplicates libraries in import section of keyword classes

i commented these out but cant’ get rid of the final few errors where it is not recognizing WebUI

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 8:31pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/7 "2021-01-19T20:31:41Z")

</div>

> [@christopher.blake](#):
>
> does not recognize WebUI keywords in scripts any longer

Your co-worker is mistaken.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 8:33pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/8 "2021-01-19T20:33:03Z")

</div>

> [@christopher.blake](#):
>
> it also added or duplicates libraries in import section of keyword classes
> 
> i commented these out but cant’ get rid of the final few errors where it is not recognizing WebUI

Somehow, you’ve broken your code. Rather than trawling through your code here, install 7.8.2 and let me know what happens.

---

<div class="post-metadata">

**Author:** ![frederic.jones](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/frederic.jones/32/16104_2.png) [@frederic.jones](https://forum.katalon.com/u/frederic.jones)\
**Post date:** [January 19, 2021, 8:33pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/9 "2021-01-19T20:33:12Z")

</div>

This is said co-worker. Please tell me what you need to see

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 8:50pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/10 "2021-01-19T20:50:24Z")

</div>

825 matches in my project. They all work.

 ![image](https://europe1.discourse-cdn.com/katalon/original/2X/3/34c56b618036fe89f4767788e2b4f19f09e0457b.png)

Try this simple test:

```auto
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

WebUI.comment("Does this work?")

```

---

<div class="post-metadata">

**Author:** ![frederic.jones](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/frederic.jones/32/16104_2.png) [@frederic.jones](https://forum.katalon.com/u/frederic.jones)\
**Post date:** [January 19, 2021, 8:54pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/11 "2021-01-19T20:54:34Z")

</div>

This is what I see after the upgrade:

 ![WebUI issue](https://europe1.discourse-cdn.com/katalon/original/2X/c/c72d2b13e2d746e189cb99e9e6d9064f2d65b43f.png)

also after the upgrade it added this to the imported libraries list:

import MobileBuiltInKeywords as Mobile  
import WSBuiltInKeywords as WS  
import WebUiBuiltInKeywords as WebUI

I previously had this line befoer the upgrade  
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI  
Anything that was imported and has “as xxxx” has been truncated

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 8:58pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/12 "2021-01-19T20:58:37Z")

</div>

Weird.

Are you using the official release or one of the “rc” releases?

---

<div class="post-metadata">

**Author:** ![frederic.jones](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/frederic.jones/32/16104_2.png) [@frederic.jones](https://forum.katalon.com/u/frederic.jones)\
**Post date:** [January 19, 2021, 8:59pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/13 "2021-01-19T20:59:51Z")

</div>

I am using the official release. I accessed About Katalon from the Help menu and was presented with the update dialog.

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 9:02pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/14 "2021-01-19T21:02:25Z")

</div>

> [@frederic.jones](#):
>
> import WebUiBuiltInKeywords as WebUI

I just searched for that exact string across my entire project - not found.

We’ll have to call in the devs:

@duyluong @ThanhTo @Jass @huynguyen

---

<div class="post-metadata">

**Author:** ![frederic.jones](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/frederic.jones/32/16104_2.png) [@frederic.jones](https://forum.katalon.com/u/frederic.jones)\
**Post date:** [January 19, 2021, 9:07pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/15 "2021-01-19T21:07:26Z")

</div>

The line I had before updating was:  
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

after the update there were two lines:  
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI  
and  
import WebUiBuiltInKeywords as WebUI

I commented out the short line and added the original line back. But autocomplete for WebUI does not work. Also some of the WebUI keywords (not all) have an error on the line.  
Also the problem mentioned where i can no longer drag and drop from the keywords browser appeared

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 19, 2021, 9:08pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/16 "2021-01-19T21:08:10Z")

</div>

Moving this to bugs category (and changing the title). Keep in mind the devs are in UTC+8 or something like that… be a few hours yet before they’re awake.

---

<div class="post-metadata">

**Author:** ![duyluong](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/duyluong/32/1116_2.png) [@duyluong](https://forum.katalon.com/u/duyluong)\
**Post date:** [January 20, 2021, 7:11am UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/17 "2021-01-20T07:11:54Z")

</div>

Hi @frederic.jones,

Please share your imports script using in v7.8.2 and the imports script changed after opening in v7.9.0 here.

If previously your imports script like this:

```auto
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords

import WSBuiltInKeywords as WS
import WebUiBuiltInKeywords as WebUI

```

please manually change to:

```auto
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI

```

Thanks

---

<div class="post-metadata">

**Author:** ![frederic.jones](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/frederic.jones/32/16104_2.png) [@frederic.jones](https://forum.katalon.com/u/frederic.jones)\
**Post date:** [January 20, 2021, 2:49pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/18 "2021-01-20T14:49:29Z")

</div>

That was the first change I made yesterday. But even after saving the WebUI keywords uses still had the gray underline like they were not recognized.

also when i tried to use a new WebUI keyword it would not autocomplete with the available commands.  
This only happened with my keywords.

My test cases seemed ok but i could not add new WebUI keywords and have them recognized.

I am downloading the 7.9 to see if a clean install is behaving differently that an upgrade

---

<div class="post-metadata">

**Author:** ![Russ\_Thomas](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/russ_thomas/32/11884_2.png) [@Russ\_Thomas](https://forum.katalon.com/u/Russ_Thomas)\
**Post date:** [January 20, 2021, 4:10pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/19 "2021-01-20T16:10:52Z")

</div>

> [@frederic.jones](#):
>
> also when i tried to use a new WebUI keyword it would not autocomplete with the available commands.  
> This only happened with my keywords.

It would help a lot if you posted some screenshots of what you’re seeing.

> [@frederic.jones](#):
>
> I am downloading the 7.9 to see if a clean install is behaving differently that an upgrade

Just so we’re clear…

   ALWAYS download and install SIDE-BY-SIDE.  
   NEVER overwrite an old version with a new version.

If you tried to overwrite your old version, THAT might explain some of the weirdness. One of the key changes in 7.9 is a new version of Eclipse IDE - something that gave me a problem to solve.

In addition, if you keep the old version (at least for a while) and you encounter problems, it’s easy to switch back and make comparisons.

Good luck.

---

<div class="post-metadata">

**Author:** ![Sdhongadi](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/sdhongadi/32/16104_2.png) [@Sdhongadi](https://forum.katalon.com/u/Sdhongadi)\
**Post date:** [January 20, 2021, 4:15pm UTC](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243/20 "2021-01-20T16:15:46Z")

</div>

> [@Russ\_Thomas](#):
>
> ck and make co

Getting same issues mentioned by [frederic.jones](http://forum.katalon.com/u/frederic.jones)

[Next page](https://forum.katalon.com/t/bug-ks-7-9-does-not-recognize-webui/51243.md?page=2)
