[FAILED] - Unable to click on object 'Object Repository/Page_Cold Storage Buy Groceries Onl/a_Login'

I am newbie in Katalon, always display [FAILED] - Unable to click on object ‘Object Repository/Page_Cold Storage Buy Groceries Onl/a_Login’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

(Session info: chrome=70.0.3538.110), anyone can help me to solve this problem?

Please, follow the instructions here
http://forum.katalon.com/discussion/9337/tip-my-test-is-broken-nothing-works-please-help-me#latest.

This is the error http://prntscr.com/ll1m2i, here is the html code http://prntscr.com/ll1muz, and this is the test case http://prntscr.com/ll1muz, I already try to using WebUI.waitForElementVisible before click , I just use record and playback

Instead of posting screenshot of the console log stack trace, could you copy and paste it here, please?

This is the script

This is the error on console

2.png

3.png

Please, _copy _the console error and _paste _it here, **don’t **post the screenshot. :’(

You see, this way I can see that your test "FAILED because (of) (Stack trace: … : Unable to clic______

If you paste the text, we will be able to see the whole stack trace.

Sorry, this is the error,

Unable to click on object ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

OK, now paste the whole stack trace. :smiley:

11-27-2018 02:27:29 PM - [FAILED] - Test Cases/Login FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to click on object ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

(Session info: chrome=70.0.3538.110)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-9F6K2TC’, ip: ‘192.168.43.133’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\Vi8e\AppData\Local…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 70.0.3538.110, webStorageEnabled: true}

Session ID: 8372cdaa2067494bdbe62b37787c2a38)

at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)

at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.click(ClickKeyword.groovy:86)

at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:67)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:616)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$1.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

at Script1542773765920.run(Script1542773765920.groovy:22)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)

at TempTestCase1543303585140.run(TempTestCase1543303585140.groovy:22)

at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)

at groovy.lang.GroovyShell.run(GroovyShell.java:518)

at groovy.lang.GroovyShell.run(GroovyShell.java:507)

at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)

at groovy.ui.GroovyMain.run(GroovyMain.java:384)

at groovy.ui.GroovyMain.process(GroovyMain.java:370)

at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)

at groovy.ui.GroovyMain.main(GroovyMain.java:109)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)

at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)

)

11-27-2018 02:27:29 PM - [END] - End Test Case : Test Cases/Login

@Herawati Manurung

After you have run the test, right click anywhere on the “Console” tab at the bottom of the Katalon Studio screen, then “Select All”, copy and paste it here.

11-27-2018 02:26:29 PM - [START] - Start Test Case : Test Cases/Login

11-27-2018 02:26:29 PM - [INFO] - Evaluating variables for test case

11-27-2018 02:26:30 PM - [START] - Start action : openBrowser

11-27-2018 02:26:31 PM - [INFO] - Opening browser

11-27-2018 02:26:31 PM - [INFO] - Starting ‘Chrome’ driver

11-27-2018 02:26:31 PM - [INFO] - Action delay is set to 0 seconds

Starting ChromeDriver 2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73) on port 8463

Only local connections are allowed.

Nov 27, 2018 2:26:36 PM org.openqa.selenium.remote.ProtocolHandshake createSession

INFO: Detected dialect: OSS

11-27-2018 02:26:36 PM - [RUN_DATA] - Logging run data ‘sessionId’ with value ‘8372cdaa2067494bdbe62b37787c2a38’

11-27-2018 02:26:36 PM - [RUN_DATA] - Logging run data ‘browser’ with value ‘Chrome 70.0.3538.110’

11-27-2018 02:26:36 PM - [RUN_DATA] - Logging run data ‘platform’ with value ‘Windows 10’

11-27-2018 02:26:36 PM - [RUN_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’

11-27-2018 02:26:36 PM - [RUN_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’

11-27-2018 02:26:36 PM - [PASSED] - Browser is opened with url: ‘’

11-27-2018 02:26:36 PM - [END] - End action : openBrowser

11-27-2018 02:26:36 PM - [START] - Start action : navigateToUrl

11-27-2018 02:26:36 PM - [INFO] - Checking url

11-27-2018 02:26:36 PM - [INFO] - Navigating to ‘https://csonline.staging.dairyfarmsg.com/

11-27-2018 02:27:27 PM - [PASSED] - Navigate to ‘https://csonline.staging.dairyfarmsg.com/’ successfully

11-27-2018 02:27:27 PM - [END] - End action : navigateToUrl

11-27-2018 02:27:27 PM - [START] - Start action : click

11-27-2018 02:27:27 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’

11-27-2018 02:27:27 PM - [INFO] - Checking object

11-27-2018 02:27:27 PM - [INFO] - Checking timeout

11-27-2018 02:27:27 PM - [INFO] - Finding web element with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ located by ‘By.xpath: //div[@id=‘goto-christmas’]/button’ in ‘30’ second(s)

11-27-2018 02:27:28 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ located by ‘By.xpath: //div[@id=‘goto-christmas’]/button’ in ‘30’ second(s)

11-27-2018 02:27:28 PM - [INFO] - Clicking on object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’

11-27-2018 02:27:28 PM - [PASSED] - Object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ is clicked on

11-27-2018 02:27:28 PM - [END] - End action : click

11-27-2018 02:27:28 PM - [START] - Start action : click

11-27-2018 02:27:28 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’

11-27-2018 02:27:28 PM - [INFO] - Checking object

11-27-2018 02:27:28 PM - [INFO] - Checking timeout

11-27-2018 02:27:28 PM - [INFO] - Finding web element with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’ located by ‘By.xpath: //div[@id=‘login-mobile’]/div/div/form/div/div[3]/div/button/span’ in ‘30’ second(s)

11-27-2018 02:27:28 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’ located by ‘By.xpath: //div[@id=‘login-mobile’]/div/div/form/div/div[3]/div/button/span’ in ‘30’ second(s)

11-27-2018 02:27:28 PM - [INFO] - Clicking on object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’

11-27-2018 02:27:29 PM - [FAILED] - Unable to click on object ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

(Session info: chrome=70.0.3538.110)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-9F6K2TC’, ip: ‘192.168.43.133’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\Vi8e\AppData\Local…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 70.0.3538.110, webStorageEnabled: true}

Session ID: 8372cdaa2067494bdbe62b37787c2a38)

11-27-2018 02:27:29 PM - [END] - End action : click

11-27-2018 02:27:29 PM - [FAILED] - Test Cases/Login FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to click on object ‘Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

(Session info: chrome=70.0.3538.110)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-9F6K2TC’, ip: ‘192.168.43.133’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\Vi8e\AppData\Local…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 70.0.3538.110, webStorageEnabled: true}

Session ID: 8372cdaa2067494bdbe62b37787c2a38)

at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)

at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.click(ClickKeyword.groovy:86)

at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:67)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:616)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$1.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

at Script1542773765920.run(Script1542773765920.groovy:22)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)

at TempTestCase1543303585140.run(TempTestCase1543303585140.groovy:22)

at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)

at groovy.lang.GroovyShell.run(GroovyShell.java:518)

at groovy.lang.GroovyShell.run(GroovyShell.java:507)

at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)

at groovy.ui.GroovyMain.run(GroovyMain.java:384)

at groovy.ui.GroovyMain.process(GroovyMain.java:370)

at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)

at groovy.ui.GroovyMain.main(GroovyMain.java:109)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)

at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)

)

11-27-2018 02:27:29 PM - [END] - End Test Case : Test Cases/Login

I am using record web

So, element with the following xpath is not visible: 'By.xpath: //div[@mobile’]/div/div/form/div/div[3]/div/button/span’

I guess this is the path given by Record function. That xpath looks pretty fragile. Can you check if it is present in Chrome DevTools?

1. While on the Chrome page that has the failed test session, press F12 - DevTools will open
2. Go to “console” tab in DevTools
3. enter $x("//div[@mobile’]/div/div/form/div/div[3]/div/button/span")
4. if the element is on the page it will get highlited, but I’m guessing you won’t find it
5. you can learn how to write better xpath here https://www.guru99.com/xpath-selenium.html
6. in any case, post more of the HTML here (not the screenshot ;)) if you need more help

Already change the x.path, but stil found same issue.

11-28-2018 09:00:02 AM - [START] - Start Test Case : Test Cases/Login

11-28-2018 09:00:03 AM - [INFO] - Evaluating variables for test case

11-28-2018 09:00:04 AM - [START] - Start action : openBrowser

11-28-2018 09:00:05 AM - [INFO] - Opening browser

11-28-2018 09:00:05 AM - [INFO] - Starting ‘Chrome’ driver

11-28-2018 09:00:05 AM - [INFO] - Action delay is set to 0 seconds

Starting ChromeDriver 2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73) on port 19237

Only local connections are allowed.

Nov 28, 2018 9:00:10 AM org.openqa.selenium.remote.ProtocolHandshake createSession

INFO: Detected dialect: OSS

11-28-2018 09:00:10 AM - [RUN_DATA] - Logging run data ‘sessionId’ with value ‘68954a48874c8e4894e153b58701535b’

11-28-2018 09:00:11 AM - [RUN_DATA] - Logging run data ‘browser’ with value ‘Chrome 70.0.3538.110’

11-28-2018 09:00:11 AM - [RUN_DATA] - Logging run data ‘platform’ with value ‘Windows 10’

11-28-2018 09:00:11 AM - [RUN_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’

11-28-2018 09:00:11 AM - [RUN_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’

11-28-2018 09:00:11 AM - [PASSED] - Browser is opened with url: ‘’

11-28-2018 09:00:11 AM - [END] - End action : openBrowser

11-28-2018 09:00:11 AM - [START] - Start action : navigateToUrl

11-28-2018 09:00:11 AM - [INFO] - Checking url

11-28-2018 09:00:11 AM - [INFO] - Navigating to ‘https://csonline.staging.dairyfarmsg.com/

11-28-2018 09:00:40 AM - [PASSED] - Navigate to ‘https://csonline.staging.dairyfarmsg.com/’ successfully

11-28-2018 09:00:40 AM - [END] - End action : navigateToUrl

11-28-2018 09:00:40 AM - [START] - Start action : click

11-28-2018 09:00:40 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’

11-28-2018 09:00:40 AM - [INFO] - Checking object

11-28-2018 09:00:40 AM - [INFO] - Checking timeout

11-28-2018 09:00:40 AM - [INFO] - Finding web element with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ located by ‘By.xpath: //div[@id=‘goto-christmas’]/button’ in ‘30’ second(s)

11-28-2018 09:00:40 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ located by ‘By.xpath: //div[@id=‘goto-christmas’]/button’ in ‘30’ second(s)

11-28-2018 09:00:40 AM - [INFO] - Clicking on object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’

11-28-2018 09:00:41 AM - [PASSED] - Object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ is clicked on

11-28-2018 09:00:41 AM - [END] - End action : click

11-28-2018 09:00:41 AM - [START] - Start action : click

11-28-2018 09:00:41 AM - [INFO] - Finding Test Object with id ‘Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin’

11-28-2018 09:00:41 AM - [INFO] - Checking object

11-28-2018 09:00:41 AM - [INFO] - Checking timeout

11-28-2018 09:00:41 AM - [INFO] - Finding web element with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin’ located by ‘By.xpath: //*[@id=“user-info-top”]/div/div/div’ in ‘30’ second(s)

11-28-2018 09:00:41 AM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin’ located by ‘By.xpath: //*[@id=“user-info-top”]/div/div/div’ in ‘30’ second(s)

11-28-2018 09:00:41 AM - [INFO] - Clicking on object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin’

11-28-2018 09:00:42 AM - [FAILED] - Unable to click on object ‘Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

(Session info: chrome=70.0.3538.110)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-9F6K2TC’, ip: ‘192.168.43.133’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\Vi8e\AppData\Local…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 70.0.3538.110, webStorageEnabled: true}

Session ID: 68954a48874c8e4894e153b58701535b)

11-28-2018 09:00:42 AM - [END] - End action : click

11-28-2018 09:00:42 AM - [FAILED] - Test Cases/Login FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to click on object ‘Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin’ (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

(Session info: chrome=70.0.3538.110)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-9F6K2TC’, ip: ‘192.168.43.133’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\Vi8e\AppData\Local…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 70.0.3538.110, webStorageEnabled: true}

Session ID: 68954a48874c8e4894e153b58701535b)

at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)

at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.click(ClickKeyword.groovy:86)

at com.kms.katalon.core.webui.keyword.builtin.ClickKeyword.execute(ClickKeyword.groovy:67)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.click(WebUiBuiltInKeywords.groovy:616)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$click$1.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)

at Script1542773765920.run(Script1542773765920.groovy:22)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)

at TempTestCase1543370397600.run(TempTestCase1543370397600.groovy:22)

at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)

at groovy.lang.GroovyShell.run(GroovyShell.java:518)

at groovy.lang.GroovyShell.run(GroovyShell.java:507)

at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)

at groovy.ui.GroovyMain.run(GroovyMain.java:384)

at groovy.ui.GroovyMain.process(GroovyMain.java:370)

at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)

at groovy.ui.GroovyMain.main(GroovyMain.java:109)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)

at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)

)

11-28-2018 09:00:42 AM - [END] - End Test Case : Test Cases/Login

The x.path is exist on page, here’s the html:

.my\_account\_link { display: inline; position: relative; }

Notice, that these two elements are not the same:

11-27-2018 02:27:29 PM - [FAILED] - Unable to click on object 'Object Repository/Page_Cold Storage Buy Groceries Onl/span_Login' (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible
11-28-2018 09:00:42 AM - [FAILED] - Unable to click on object 'Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin' (Root cause: org.openqa.selenium.ElementNotVisibleException: element not visible

Show us how are the elements defined (xpath). Screenshot from the object repository.

I already change theelement, now the element: div_RegisterLogin.
This is the screen shoot of the object repository

12.png

Screenshot shows xpath as: //[@id=“user-info-top”]/div/div/div
Error log shows xpath as: //
[@top"]/div/div/div

If you are sure ‘//*[@id=“user-info-top”]/div/div/div’ can be found in DevTools, I suggest the following:

1. switch to script tab:

2. Find the line saying something like

WebUI.click(findTestObject('Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin'))

3. Comment the line (add // before the line), it will look like:

//WebUI.click(findTestObject('Object Repository/Page_Cold Storage Buy Groceries Onl/div_RegisterLogin'))

4. Add following line before the commented line:

TestObject div_RegisterLogin = new TestObject().addProperty('xpath', ConditionType.EQUALS, '//*[@id="user-info-top"]/div/div/div')

5. TestObject and ConditionType will probably be underlined. You need to import the respective classes. Add following lines to the top of the script:

import com.kms.katalon.core.testobject.ConditionType
import com.kms.katalon.core.testobject.TestObject

6. Run test and report the results

2018-11-28_9-21-36.png

Already added allow your advice, and don’t found same error, but how to input value in script?
This is my script

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.cucumber.keyword.CucumberBuiltinKeywords as CucumberKW

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.testdata.TestData as TestData

import com.kms.katalon.core.testobject.TestObject as TestObject

import com.kms.katalon.core.webservice.keyword.WSBuiltInKeywords as WS

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

import internal.GlobalVariable as GlobalVariable

import com.kms.katalon.core.testobject.ConditionType

import com.kms.katalon.core.testobject.TestObject

WebUI.openBrowser(’’)

WebUI.navigateToUrl(‘https://csonline.staging.dairyfarmsg.com/’)

WebUI.click(findTestObject(‘Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’))

TestObject div_RegisterLogin = new TestObject().addProperty(‘xpath’, ConditionType.EQUALS, ‘//*[@top"]/div/div/div’)

//WebUI.click(findTestObject(‘Page_Cold Storage Buy Groceries Onl/div_RegisterLogin’))

TestObject input__FrontendLoginFormemail = new TestObject().addProperty(‘xpath’, ConditionType.EQUALS, ‘//input[@id=popup-form-login-email]’)

//WebUI.click(findTestObject(‘Page_Cold Storage Buy Groceries Onl/input__FrontendLoginFormemail’))

WebUI.setText(findTestObject(‘Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormemail’), ‘herawati+test990@vi8e.com’)

WebUI.click(findTestObject(‘Page_Cold Storage Buy Groceries Onl/input__FrontendLoginFormpasswo’))

WebUI.setEncryptedText(findTestObject(‘Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormpasswo’), ‘HQ29JcgTxjMNhYstkys05g==’)

WebUI.closeBrowser()

When running the script, get error:

11-28-2018 04:17:14 PM - [START] - Start Test Case : Test Cases/Login

11-28-2018 04:17:14 PM - [INFO] - Evaluating variables for test case

11-28-2018 04:17:15 PM - [START] - Start action : openBrowser

11-28-2018 04:17:16 PM - [INFO] - Opening browser

11-28-2018 04:17:16 PM - [INFO] - Starting ‘Chrome’ driver

11-28-2018 04:17:16 PM - [INFO] - Action delay is set to 0 seconds

Starting ChromeDriver 2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73) on port 10110

Only local connections are allowed.

Nov 28, 2018 4:17:21 PM org.openqa.selenium.remote.ProtocolHandshake createSession

INFO: Detected dialect: OSS

11-28-2018 04:17:21 PM - [RUN_DATA] - Logging run data ‘sessionId’ with value ‘84d794f10ab4e44e8b6167ad6473aa00’

11-28-2018 04:17:21 PM - [RUN_DATA] - Logging run data ‘browser’ with value ‘Chrome 70.0.3538.110’

11-28-2018 04:17:21 PM - [RUN_DATA] - Logging run data ‘platform’ with value ‘Windows 10’

11-28-2018 04:17:21 PM - [RUN_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’

11-28-2018 04:17:21 PM - [RUN_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’

11-28-2018 04:17:21 PM - [PASSED] - Browser is opened with url: ‘’

11-28-2018 04:17:21 PM - [END] - End action : openBrowser

11-28-2018 04:17:21 PM - [START] - Start action : navigateToUrl

11-28-2018 04:17:22 PM - [INFO] - Checking url

11-28-2018 04:17:22 PM - [INFO] - Navigating to ‘https://csonline.staging.dairyfarmsg.com/

11-28-2018 04:17:45 PM - [PASSED] - Navigate to ‘https://csonline.staging.dairyfarmsg.com/’ successfully

11-28-2018 04:17:45 PM - [END] - End action : navigateToUrl

11-28-2018 04:17:45 PM - [START] - Start action : click

11-28-2018 04:17:45 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’

11-28-2018 04:17:45 PM - [INFO] - Checking object

11-28-2018 04:17:45 PM - [INFO] - Checking timeout

11-28-2018 04:17:45 PM - [INFO] - Finding web element with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ located by ‘By.xpath: //div[@id=‘goto-christmas’]/button’ in ‘30’ second(s)

11-28-2018 04:17:45 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ located by ‘By.xpath: //div[@id=‘goto-christmas’]/button’ in ‘30’ second(s)

11-28-2018 04:17:45 PM - [INFO] - Clicking on object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’

11-28-2018 04:17:45 PM - [PASSED] - Object: ‘Object Repository/Page_Cold Storage Buy Groceries Onl/button__fancybox-close-small’ is clicked on

11-28-2018 04:17:45 PM - [END] - End action : click

11-28-2018 04:17:45 PM - [START] - Start action : Statement - div_RegisterLogin = new com.kms.katalon.core.testobject.TestObject().addProperty(“xpath”, EQUALS, “//*[@top”]/div/div/div")

11-28-2018 04:17:45 PM - [END] - End action : Statement - div_RegisterLogin = new com.kms.katalon.core.testobject.TestObject().addProperty(“xpath”, EQUALS, “//*[@top”]/div/div/div")

11-28-2018 04:17:45 PM - [START] - Start action : Statement - input__FrontendLoginFormemail = new com.kms.katalon.core.testobject.TestObject().addProperty(“xpath”, EQUALS, “//input[@id=popup-form-login-email]”)

11-28-2018 04:17:45 PM - [END] - End action : Statement - input__FrontendLoginFormemail = new com.kms.katalon.core.testobject.TestObject().addProperty(“xpath”, EQUALS, “//input[@id=popup-form-login-email]”)

11-28-2018 04:17:45 PM - [START] - Start action : setText

11-28-2018 04:17:45 PM - [INFO] - Finding Test Object with id ‘Object Repository/Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormemail’

11-28-2018 04:17:45 PM - [INFO] - Checking object

11-28-2018 04:17:45 PM - [INFO] - Checking text

11-28-2018 04:17:45 PM - [INFO] - Checking timeout

11-28-2018 04:17:45 PM - [INFO] - Finding web element with id: ‘Object Repository/Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormemail’ located by ‘By.xpath: //input[@id=‘popup-form-login-email’]’ in ‘30’ second(s)

11-28-2018 04:17:45 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormemail’ located by ‘By.xpath: //input[@id=‘popup-form-login-email’]’ in ‘30’ second(s)

11-28-2018 04:17:45 PM - [INFO] - Clearing text of object ‘Object Repository/Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormemail’

11-28-2018 04:17:46 PM - [FAILED] - Unable to set text ‘herawati+test990@vi8e.com’ of object ‘Object Repository/Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormemail’ (Root cause: org.openqa.selenium.InvalidElementStateException: invalid element state: Element is not currently interactable and may not be manipulated

(Session info: chrome=70.0.3538.110)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-9F6K2TC’, ip: ‘192.168.43.133’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\Vi8e\AppData\Local…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 70.0.3538.110, webStorageEnabled: true}

Session ID: 84d794f10ab4e44e8b6167ad6473aa00)

11-28-2018 04:17:46 PM - [END] - End action : setText

11-28-2018 04:17:46 PM - [FAILED] - Test Cases/Login FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘herawati+test990@vi8e.com’ of object ‘Object Repository/Page_Cold Storage Buy Groceries Online/input__FrontendLoginFormemail’ (Root cause: org.openqa.selenium.InvalidElementStateException: invalid element state: Element is not currently interactable and may not be manipulated

(Session info: chrome=70.0.3538.110)

(Driver info: chromedriver=2.35.528161 (5b82f2d2aae0ca24b877009200ced9065a772e73),platform=Windows NT 10.0.17134 x86_64) (WARNING: The server did not provide any stacktrace information)

Command duration or timeout: 0 milliseconds

Build info: version: ‘3.7.1’, revision: ‘8a0099a’, time: ‘2017-11-06T21:07:36.161Z’

System info: host: ‘DESKTOP-9F6K2TC’, ip: ‘192.168.43.133’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_181’

Driver info: com.kms.katalon.selenium.driver.CChromeDriver

Capabilities {acceptInsecureCerts: false, acceptSslCerts: false, applicationCacheEnabled: false, browserConnectionEnabled: false, browserName: chrome, chrome: {chromedriverVersion: 2.35.528161 (5b82f2d2aae0ca…, userDataDir: C:\Users\Vi8e\AppData\Local…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: XP, platformName: XP, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 70.0.3538.110, webStorageEnabled: true}

Session ID: 84d794f10ab4e44e8b6167ad6473aa00)

at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:36)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.stepFailed(WebUIKeywordMain.groovy:65)

at com.kms.katalon.core.webui.keyword.internal.WebUIKeywordMain.runKeyword(WebUIKeywordMain.groovy:27)

at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.setText(SetTextKeyword.groovy:65)

at com.kms.katalon.core.webui.keyword.builtin.SetTextKeyword.execute(SetTextKeyword.groovy:37)

at com.kms.katalon.core.keyword.internal.KeywordExecutor.executeKeywordForPlatform(KeywordExecutor.groovy:53)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords.setText(WebUiBuiltInKeywords.groovy:950)

at com.kms.katalon.core.webui.keyword.WebUiBuiltInKeywords$setText$2.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)

at Script1542773765920.run(Script1542773765920.groovy:30)

at com.kms.katalon.core.main.ScriptEngine.run(ScriptEngine.java:183)

at com.kms.katalon.core.main.ScriptEngine.runScriptAsRawText(ScriptEngine.java:108)

at com.kms.katalon.core.main.TestCaseExecutor.runScript(TestCaseExecutor.java:294)

at com.kms.katalon.core.main.TestCaseExecutor.doExecute(TestCaseExecutor.java:285)

at com.kms.katalon.core.main.TestCaseExecutor.processExecutionPhase(TestCaseExecutor.java:264)

at com.kms.katalon.core.main.TestCaseExecutor.accessMainPhase(TestCaseExecutor.java:256)

at com.kms.katalon.core.main.TestCaseExecutor.execute(TestCaseExecutor.java:200)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:99)

at com.kms.katalon.core.main.TestCaseMain.runTestCase(TestCaseMain.java:90)

at com.kms.katalon.core.main.TestCaseMain$runTestCase$0.call(Unknown Source)

at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)

at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:149)

at TempTestCase1543396630427.run(TempTestCase1543396630427.groovy:22)

at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:263)

at groovy.lang.GroovyShell.run(GroovyShell.java:518)

at groovy.lang.GroovyShell.run(GroovyShell.java:507)

at groovy.ui.GroovyMain.processOnce(GroovyMain.java:653)

at groovy.ui.GroovyMain.run(GroovyMain.java:384)

at groovy.ui.GroovyMain.process(GroovyMain.java:370)

at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)

at groovy.ui.GroovyMain.main(GroovyMain.java:109)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:498)

at org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)

at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)

)

11-28-2018 04:17:46 PM - [END] - End Test Case : Test Cases/Login