# Unable to access the URL

**URL:** <https://forum.katalon.com/t/unable-to-access-the-url/20658>\
**Category:** Web Testing\
**Tags:** katalon-studio\
**Created:** [March 7, 2019, 2:58am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658 "2019-03-07T02:58:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![nordinar](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@nordinar](https://forum.katalon.com/u/nordinar)\
**Post date:** [March 7, 2019, 2:58am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/1 "2019-03-07T02:58:15Z")

</div>

why I’m unable to proceed to url [https://katalon-demo-cura-herokuapp.com/](https://katalon-demo-cura-herokuapp.com/) open broser opening (chrome).?

please assisit

---

<div class="post-metadata">

**Author:** ![hpulsford](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/hpulsford/32/2985_2.png) [@hpulsford](https://forum.katalon.com/u/hpulsford)\
**Post date:** [March 7, 2019, 9:07am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/2 "2019-03-07T09:07:28Z")

</div>

Can you pleases follow this and provide us with more information - we cant solve an issue with such little information

> [@\[TIP\] How To Help Us Help You!](http://forum.katalon.com/t/tip-how-to-help-us-help-you/12919/1):
>
> Yes, there are some pretty smart people on this forum. But even so, they/we are not magicians or wizards or gods. We can’t see your code. We can’t see your errors…
> 
> Remember: _We don’t even know what your application is meant to do even though it might seem perfectly obvious to you._
> 
> So relax. Follow the advice below and take the time to gather the information we need, before you start writing your post.
> 
> Here are some things you can do to _ **help us help you** _ …
> 
> 1 - **We need to see what you are dealing with**. Post a screenshot of the page that is failing in your first request for help. This will save your time, as well as ours…
> 
> 2 - Frequently, **we need to see the underlying HTML of the page**. Post the relevant section of HTML in your first request for help. This will save your time, as well as ours…
> 
> 3 - **We need to see the test case code you are having difficulties with**. Post the relevant lines of code in your first request for help.This will save your time, as well as ours.
> 
> 4 - **We need to see ALL errors from the console**. Post those too. And **copy-paste** them, don’t retype a brief version, paste the WHOLE ERROR MESSAGE. And again, do this in your first request for help. This will save your time, as well as ours.
> 
> 5 - **Tell us what else you have tried**. Tell us everything you tried to fix it yourself.
> 
> 6 - **Mention ANYTHING that you think might help**. There’s no such thing as too much information.

---

<div class="post-metadata">

**Author:** ![Gilead](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gilead/32/1936_2.png) [@Gilead](https://forum.katalon.com/u/Gilead)\
**Post date:** [March 7, 2019, 1:53pm UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/3 "2019-03-07T13:53:04Z")

</div>

can you share the steps you’re using with the items?

---

<div class="post-metadata">

**Author:** ![nordinar](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@nordinar](https://forum.katalon.com/u/nordinar)\
**Post date:** [March 8, 2019, 3:33am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/4 "2019-03-08T03:33:31Z")

</div>

Hi

This is the steps… run on chrome.

Thanks.

import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint  
import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase  
import static com.kms.katalon.core.testdata.TestDataFactory.findTestData  
import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject  
import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint  
import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory  
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords  
import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile  
import com.kms.katalon.core.model.FailureHandling as FailureHandling  
import com.kms.katalon.core.testcase.TestCase as TestCase  
import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory  
import com.kms.katalon.core.testdata.TestData as TestData  
import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory  
import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository  
import com.kms.katalon.core.testobject.TestObject as TestObject  
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords  
import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS  
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords  
import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI  
import internal.GlobalVariable as GlobalVariable  
import org.openqa.selenium.Keys as Keys

//Set chromedriver path  
DesiredCapabilities capabilities = new DesiredCapabilities()

capabilities.setCapability(ChromeOptions.CAPABILITY, options)

System.setProperty(‘webdriver.chrome.driver’, GlobalVariable.ChromeDriver)

ChromeDriver driver = new ChromeDriver(capabilities)

DriverFactory.changeWebDriver(driver)

WebUI.navigateToUrl(‘https://(URL: [http://demoaut.katalon.com/](http://demoaut.katalon.com/)’)

WebUI.click(findTestObject(‘a\_Make Appointment (2)’))

WebUI.setText(findTestObject(‘input\_username (2)’), ‘John Doe’)

WebUI.setText(findTestObject(‘input\_password (2)’), ‘ThisIsNotAPassword’)

WebUI.click(findTestObject(‘button\_Login (2)’))

WebUI.click(findTestObject(‘input\_hospital\_readmission (1)’))

WebUI.click(findTestObject(‘span\_glyphicon glyphicon-calen (2)’))

WebUI.click(findTestObject(‘td\_2’))

WebUI.setText(findTestObject(‘textarea\_comment (1)’), ‘appmtt’)

WebUI.click(findTestObject(‘button\_Book Appointment (2)’))

WebUI.click(findTestObject(‘a\_Go to Homepage (2)’))

WebUI.click(findTestObject(‘a\_menu-toggle (1)’))

WebUI.click(findTestObject(‘a\_Logout (1)’))

WebUI.closeBrowser()

---

<div class="post-metadata">

**Author:** ![nordinar](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@nordinar](https://forum.katalon.com/u/nordinar)\
**Post date:** [March 8, 2019, 3:33am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/5 "2019-03-08T03:33:37Z")

</div>

Test Cases/CURA3 FAILED because (of) org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:  
file:/C:/Users/00023047/Katalon%20Studio/CURA/Scripts/CURA3/Script1551409033618.groovy: 24: unable to resolve class DesiredCapabilities  
@ line 24, column 21.  
DesiredCapabilities capabilities = new DesiredCapabilities()  
^

file:/C:/Users/00023047/Katalon%20Studio/CURA/Scripts/CURA3/Script1551409033618.groovy: 24: unable to resolve class DesiredCapabilities  
@ line 24, column 36.  
DesiredCapabilities capabilities = new DesiredCapabilities()  
^

file:/C:/Users/00023047/Katalon%20Studio/CURA/Scripts/CURA3/Script1551409033618.groovy: 30: unable to resolve class ChromeDriver  
@ line 30, column 14.  
ChromeDriver driver = new ChromeDriver(capabilities)  
^

file:/C:/Users/00023047/Katalon%20Studio/CURA/Scripts/CURA3/Script1551409033618.groovy: 30: unable to resolve class ChromeDriver  
@ line 30, column 23.  
ChromeDriver driver = new ChromeDriver(capabilities)  
^

4 errors

---

<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:** [March 8, 2019, 3:27pm UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/6 "2019-03-08T15:27:42Z")

</div>

In script view, press Ctrl + Shift + O to organise import or add  
import org.openqa.selenium.remote.DesiredCapabilities  
import org.openqa.selenium.chrome.ChromeDriver

---

<div class="post-metadata">

**Author:** ![nordinar](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@nordinar](https://forum.katalon.com/u/nordinar)\
**Post date:** [March 12, 2019, 9:43am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/7 "2019-03-12T09:43:39Z")

</div>

hi  
any possibble solution?..thank you

---

<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:** [March 12, 2019, 10:06am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/8 "2019-03-12T10:06:08Z")

</div>

Just above

> [@Unable to access the URL](http://forum.katalon.com/t/unable-to-access-the-url/20658/6):
>
> In script view, press Ctrl + Shift + O to organise import or add import org.openqa.selenium.remote.DesiredCapabilities import org.openqa.selenium.chrome.ChromeDriver

> import static com.kms.katalon.core.checkpoint.CheckpointFactory.findCheckpoint  
> import static com.kms.katalon.core.testcase.TestCaseFactory.findTestCase  
> import static com.kms.katalon.core.testdata.TestDataFactory.findTestData  
> import static com.kms.katalon.core.testobject.ObjectRepository.findTestObject  
> import com.kms.katalon.core.checkpoint.Checkpoint as Checkpoint  
> import com.kms.katalon.core.checkpoint.CheckpointFactory as CheckpointFactory  
> import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as MobileBuiltInKeywords  
> import com.kms.katalon.core.mobile.keyword.MobileBuiltInKeywords as Mobile  
> import com.kms.katalon.core.model.FailureHandling as FailureHandling  
> import com.kms.katalon.core.testcase.TestCase as TestCase  
> import com.kms.katalon.core.testcase.TestCaseFactory as TestCaseFactory  
> import com.kms.katalon.core.testdata.TestData as TestData  
> import com.kms.katalon.core.testdata.TestDataFactory as TestDataFactory  
> import com.kms.katalon.core.testobject.ObjectRepository as ObjectRepository  
> import com.kms.katalon.core.testobject.TestObject as TestObject  
> import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WSBuiltInKeywords  
> import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS  
> import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUiBuiltInKeywords  
> import com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords as WebUI  
> import internal.GlobalVariable as GlobalVariable  
> import org.openqa.selenium.Keys as Keys  
> **import org.openqa.selenium.remote.DesiredCapabilities**  
> **import org.openqa.selenium.chrome.ChromeDriver**

---

<div class="post-metadata">

**Author:** ![nordinar](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@nordinar](https://forum.katalon.com/u/nordinar)\
**Post date:** [March 13, 2019, 9:31am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/9 "2019-03-13T09:31:47Z")

</div>

Hi

Thanks for the assistance - able to open the web browser… but katalon still not able to proceed to navigate theURL.

import internal.GlobalVariable as GlobalVariable  
import org.openqa.selenium.Keys as Keys  
import org.openqa.selenium.remote.DesiredCapabilities  
import org.openqa.selenium.chrome.ChromeDriver

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘[https://katalon-demoout.com/](https://katalon-demoout.com/)’)

WebUI.click(findTestObject(‘a\_Make Appointment (1)’))

WebUI.click(findTestObject(‘div\_col-sm-8’))

---

<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:** [March 13, 2019, 10:06am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/10 "2019-03-13T10:06:49Z")

</div>

Your url is not valid.  
Url for the Katalon demo is [https://katalon-demo-cura.herokuapp.com/](https://katalon-demo-cura.herokuapp.com/)

---

<div class="post-metadata">

**Author:** ![nordinar](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@nordinar](https://forum.katalon.com/u/nordinar)\
**Post date:** [March 14, 2019, 1:21am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/11 "2019-03-14T01:21:33Z")

</div>

hI

Thanks for the assistance… still katalon did’nt proceed to navigate the demo URL…

import org.openqa.selenium.Keys as Keys  
import org.openqa.selenium.remote.DesiredCapabilities  
import org.openqa.selenium.chrome.ChromeDriver

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘[https://katalon-demo-cura.herokuapp.com/](https://katalon-demo-cura.herokuapp.com/)’)

WebUI.click(findTestObject(‘a\_Make Appointment (1)’))

WebUI.click(findTestObject(‘div\_col-sm-8’))

WebUI.setText(findTestObject(‘input\_username (1)’), ‘John’)

WebUI.setText(findTestObject(‘input\_username (1)’), ‘John D’)

---

<div class="post-metadata">

**Author:** ![Gilead](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gilead/32/1936_2.png) [@Gilead](https://forum.katalon.com/u/Gilead)\
**Post date:** [March 14, 2019, 3:49am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/12 "2019-03-14T03:49:24Z")

</div>

> [@nordinar](#):
>
> [https://katalon-demo-cura.herokuapp.com/](https://katalon-demo-cura.herokuapp.com/)

Hello, tried the same, seems the issue is because the site has no www. on it, tried with [www.google.com](http://www.google.com) and connected with no issue.

Try it with a site which includes www.

Regards,

G.

---

<div class="post-metadata">

**Author:** ![Gilead](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gilead/32/1936_2.png) [@Gilead](https://forum.katalon.com/u/Gilead)\
**Post date:** [March 14, 2019, 3:54am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/13 "2019-03-14T03:54:57Z")

</div>

Hello,

Just solved it.

Instead of having a second step like WebUI.navigateToUrl, just use the first.

* * *

WebUI.openBrowser(‘[https://katalon-demo-cura.herokuapp.com/](https://katalon-demo-cura.herokuapp.com/)’)

WebUI.click(findTestObject(‘Page\_CURA Healthcare Service/a\_Make Appointment’))

WebUI.setText(findTestObject(‘Page\_CURA Healthcare Service/input\_Username\_username’), ‘John’)

WebUI.setEncryptedText(findTestObject(‘Page\_CURA Healthcare Service/input\_Password\_password’), ‘TEmnu6KnKMU=’)

WebUI.click(findTestObject(‘Page\_CURA Healthcare Service/button\_Login’))

WebUI.closeBrowser()

Hope it helps!

Regards,

G.

---

<div class="post-metadata">

**Author:** ![Gilead](https://dub1.discourse-cdn.com/katalon/user_avatar/forum.katalon.com/gilead/32/1936_2.png) [@Gilead](https://forum.katalon.com/u/Gilead)\
**Post date:** [March 14, 2019, 3:58am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/14 "2019-03-14T03:58:52Z")

</div>

Here you can find the report.

Regards

G.

[20190314\_005547.html](https://europe1.discourse-cdn.com/katalon/original/2X/3/3a802869881e90d8f11fd031e0a6b78fc365f386.html) (194.3 KB)

---

<div class="post-metadata">

**Author:** ![nordinar](https://avatars.discourse-cdn.com/v4/letter/n/ac8455/32.png) [@nordinar](https://forum.katalon.com/u/nordinar)\
**Post date:** [March 14, 2019, 7:01am UTC](https://forum.katalon.com/t/unable-to-access-the-url/20658/15 "2019-03-14T07:01:52Z")

</div>

Hi All

Appreciates all your kind assistance… 🕶
