# Introduction to Web Testing

**URL:** <https://forum.katalon.com/t/introduction-to-web-testing/18015>\
**Category:** Miscellaneous\
**Created:** [January 21, 2019, 10:46am UTC](https://forum.katalon.com/t/introduction-to-web-testing/18015 "2019-01-21T10:46:25Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [January 21, 2019, 10:46am UTC](https://forum.katalon.com/t/introduction-to-web-testing/18015/1 "2019-01-21T10:46:25Z")

</div>

* * *
This is a companion discussion topic for the original entry at [https://docs.katalon.com/katalon-studio/tutorials/introduction-to-web-testing.html](https://docs.katalon.com/katalon-studio/tutorials/introduction-to-web-testing.html)

---

<div class="post-metadata">

**Author:** ![gavin.brebner](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@gavin.brebner](https://forum.katalon.com/u/gavin.brebner)\
**Post date:** [June 3, 2019, 3:48pm UTC](https://forum.katalon.com/t/introduction-to-web-testing/18015/2 "2019-06-03T15:48:20Z")

</div>

Having some problems with the examples here. To start with, it’s not immediately obvious where to paste the text into as the default view of a new test case is not in script mode. You need to search for “\</\>script” at the  
bottom of the panel.

One there :

1. The Selenium example does not work - “WebDriver” is not resolved :

```auto
06-03-2019 05:09:23 PM Test Cases/sel 1

Elapsed time: 1.679s

Test Cases/sel 1 FAILED.
Reason:
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
file:/C:/Users/brebner/Katalon%20Studio/P1/Scripts/sel%201/Script1559573749200.groovy: 16: unable to resolve class WebDriver 
 @ line 16, column 11.
   WebDriver driver = new ChromeDriver();

```

1. The Katalon example runs, but fails with

```auto

Elapsed time: 17.048s

Test Cases/Kat-1 FAILED.
Reason:
com.kms.katalon.core.exception.StepFailedException: Unable to click on object
	at 
: 
: 

```

---

<div class="post-metadata">

**Author:** ![HeleneB](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/heleneb/32/2775_2.png) [@HeleneB](https://forum.katalon.com/u/HeleneB)\
**Post date:** [June 4, 2019, 8:10am UTC](https://forum.katalon.com/t/introduction-to-web-testing/18015/3 "2019-06-04T08:10:19Z")

</div>

1. You can autocomplete imports clicking Ctrl + Shift + O or add manually

```auto
import java.util.concurrent.TimeUnit

import org.openqa.selenium.By
import org.openqa.selenium.WebDriver
import org.openqa.selenium.chrome.ChromeDriver

```

1. You have to create the objects.

---

<div class="post-metadata">

**Author:** ![gavin.brebner](https://avatars.discourse-cdn.com/v4/letter/g/ebca7d/32.png) [@gavin.brebner](https://forum.katalon.com/u/gavin.brebner)\
**Post date:** [June 4, 2019, 8:31am UTC](https://forum.katalon.com/t/introduction-to-web-testing/18015/4 "2019-06-04T08:31:56Z")

</div>

Thanks @HeleneB.

In general, the getting started tutorial needs a refresh. There are a lot of non-obvious differences vs what a new user sees using 6.1.5.
