Root cause: org.openqa.selenium.ElementNotVisibleException: Element is not visible (WARNING: The server did not provide any stacktrace information)

Whenever I click a date from a Calendar and then click on Create New button I get the following error messages.

Unable to click on object ‘Object Repository/Page_Distribution Management Consol/button_Today’ (Root cause: org.openqa.selenium.ElementNotVisibleException: Element is not visible (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 18 milliseconds
Build info: version: ‘2.53.0’, revision: ‘35ae25b’, time: ‘2016-03-15 17:00:58’
System info: host: ‘HAG-C0H2Q12’, ip: ‘169.254.182.188’, os.name: ‘Windows 10’, os.arch: ‘amd64’, os.version: ‘10.0’, java.version: ‘1.8.0_102’
Driver info: org.openqa.selenium.firefox.MarionetteDriver
Capabilities [{rotatable=false, raisesAccessibilityExceptions=false, appBuildId=20160623154057, version=, platform=XP, proxy={}, command_id=1, specificationLevel=0, acceptSslCerts=false, browserVersion=47.0.1, platformVersion=10.0, XULappId={ec8030f7-c20a-464f-9b0e-13a3a9e97384}, browserName=Firefox, takesScreenshot=true, takesElementScreenshot=true, platformName=Windows_NT, device=desktop, firefox_profile=UEsDBBQACAgIAGZtW0kAAAAAAAAAA…}]
Session ID: 140c11c8-9f4d-48d8-9902-d43dd070e7d2)

Forex

sylv

mechmechster@gmail.com

I try the tool with simple steps:

Open Browser FF
Navigate To Url http://phptravels.net/
Click on navigator Tours
Click on Search button

The tool cannot recognize the xpath of elements. Although I has used the record & play back and web object spy to locate the elements

Test Cases/Web UI/phptravels.net/New Test Case FAILED because (of) Unable to click on object ‘Object Repository/Web UI/phptravels.net/Page_Travel Business Partner/a_Tours’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/Web UI/phptravels.net/Page_Travel Business Partner/a_Tours’ located by ‘By.xpath: id(“top”)/div[@class=“navbar navbar-static-top navbar-default”]/div[@class=“container”]/div[@class=“navbar”]/div[@class=“navbar-collapse collapse”]/ul[@class=“nav navbar-nav navbar-right go-left”]/li[@class=“go-right”]/a[1]’ not found)

P/S: SeleniumIDE works well with above test steps.

Because the element is NOT present, so Katalon Studio can’t click on the element. There is a good document on documentation page talking about how to solve wait issues:

http://docs.katalon.com/pages/viewpage.action?pageId=2851029

I think you can read it and apply it in your test script

(Root cause: org.openqa.selenium.ElementNotInteractableException:

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

System info: host: ‘AKBAR-PC’, ip: ‘192.168.56.1’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’

Driver info: com.kms.katalon.core.webui.driver.firefox.CGeckoDriver

Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 57.0.4, javascriptEnabled: true, moz:accessibilityChecks: false, moz:headless: false, moz:processID: 9720, moz:profile: C:\Users\popy\AppData\Local…, moz:webdriverClick: false, pageLoadStrategy: normal, platform: XP, platformName: XP, platformVersion: 6.1, proxy: Proxy(direct), rotatable: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}

Session ID: 10912f04-6101-4a9c-bd7d-c56b2e8744f3)

help me?

Vinh Nguyen said:

Because the element is NOT present, so Katalon Studio can’t click on the element. There is a good document on documentation page talking about how to solve wait issues:

http://docs.katalon.com/pages/viewpage.action?pageId=2851029

I think you can read it and apply it in your test script

can help me to solve this problem:

(Root cause: org.openqa.selenium.ElementNotInteractableException:

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

System info: host: ‘AKBAR-PC’, ip: ‘192.168.56.1’, os.name: ‘Windows 7’, os.arch: ‘amd64’, os.version: ‘6.1’, java.version: ‘1.8.0_102’

Driver info: com.kms.katalon.core.webui.driver.firefox.CGeckoDriver

Capabilities {acceptInsecureCerts: true, browserName: firefox, browserVersion: 57.0.4, javascriptEnabled: true, moz:accessibilityChecks: false, moz:headless: false, moz:processID: 9720, moz:profile: C:\Users\popy\AppData\Local…, moz:webdriverClick: false, pageLoadStrategy: normal, platform: XP, platformName: XP, platformVersion: 6.1, proxy: Proxy(direct), rotatable: false, timeouts: {implicit: 0, pageLoad: 300000, script: 30000}}

Session ID: 10912f04-6101-4a9c-bd7d-c56b2e8744f3)

help me?

I am getting the same error for Chrome browser not able to fine LogOut button, however Firefox is working fine. This is because Chrome needs to be maximize before log out.

What is the command for it. Can you pls help?

Shruti Saxena said:

I am getting the same error for Chrome browser not able to fine LogOut button, however Firefox is working fine. This is because Chrome needs to be maximize before log out.

What is the command for it. Can you pls help?

Solved by maximizing the window…

Vinh Nguyen said:

Because the element is NOT present, so Katalon Studio can’t click on the element. There is a good document on documentation page talking about how to solve wait issues:

http://docs.katalon.com/pages/viewpage.action?pageId=2851029

I think you can read it and apply it in your test script

I have a Katalon account. This link goes to a login page (Although I’m logged into the Katalon site) and I cannot login using my Katalon login.

Do I have to set a login again to access this page?

Document links end up with following message

<Error>

<Code>NoSuchKey</Code>

<Message>The specified key does not exist.</Message>

<Key>pages/viewpage.action</Key>

<RequestId>16BDE4458554229C</RequestId>

<HostId>

feZRVyxNEoYaRIV7eKWuppjdXBADyGZkO1xQykSh9Eqp91HdYjogwjQI7KMxojGFInEpYQma3QU=

</HostId>

</Error>