This test works fine in Windows UI & cmd with next versions
Logging run data ‘browser’ with value ‘Chrome 70.0.3538.102’
Logging run data ‘seleniumVersion’ with value ‘3.7.1’
but in Linux RedHa7 env cannot find any object’s will get error
I think that browser is not open at all?
what this line will mean, value unknown
Logging run data ‘seleniumVersion’ with value ‘unknown’
11-21-2018 01:15:32 PM - [START] - Start Test Suite : Test Suites/Tests
11-21-2018 01:15:32 PM - [RUN_DATA] - Logging run data ‘hostName’ with value ‘root - xxxxxx.xxxx.xxxxx’
11-21-2018 01:15:32 PM - [RUN_DATA] - Logging run data ‘os’ with value ‘Linux 64bit’
11-21-2018 01:15:32 PM - [RUN_DATA] - Logging run data ‘hostAddress’ with value ‘xx.xx.x.xx’
11-21-2018 01:15:32 PM - [RUN_DATA] - Logging run data ‘katalonVersion’ with value ‘5.8.6.1’
11-21-2018 01:15:32 PM - [START] - Start Test Case : Test Cases/xxxxxx/xxxxx
11-21-2018 01:15:32 PM - [INFO] - Evaluating variables for test case
11-21-2018 01:15:32 PM - [START] - Start action : xxxxxx.xxxxxxxxxx.xxxxxxxx
- Opening browser
11-21-2018 01:15:33 PM - [INFO] - Starting ‘Chrome’ driver
11-21-2018 01:15:33 PM - [INFO] - User set preference: [‘args’, ‘[–no-sandbox, --headless]’]
11-21-2018 01:15:33 PM - [INFO] - Action delay is set to 0 seconds
Starting ChromeDriver 2.43.600233 (523efee95e3d68b8719b3a1c83051aa63aa6b10d) on port 16704
Only local connections are allowed.
11-21-2018 01:15:37 PM - [RUN_DATA] - Logging run data ‘sessionId’ with value ‘a248c17ef085ef807fe242d6a8441aae’
11-21-2018 01:15:37 PM - [RUN_DATA] - Logging run data ‘browser’ with value ‘Chrome 70.0.3538.67’
11-21-2018 01:15:37 PM - [RUN_DATA] - Logging run data ‘platform’ with value ‘Linux’
11-21-2018 01:15:37 PM - [RUN_DATA] - Logging run data ‘seleniumVersion’ with value ‘unknown’
11-21-2018 01:15:37 PM - [RUN_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’
11-21-2018 01:15:37 PM - [INFO] - Navigating browser to: ‘https://xx.xx.x.x/test’
11-21-2018 01:15:37 PM - [PASSED] - Browser is opened with url: ‘https://xx.xx.x.x/test’
11-21-2018 01:15:37 PM - [INFO] - Delaying browser in 2 second(s)
11-21-2018 01:15:39 PM - [PASSED] - Delayed 2 second(s)
11-21-2018 01:15:39 PM - [INFO] - Finding Test Object with id ‘Object Repository/xxxxxxxxxx/xxxxxxxxxxxxxxx/order-number’
11-21-2018 01:15:39 PM - [INFO] - Checking object
11-21-2018 01:15:39 PM - [INFO] - Checking text
11-21-2018 01:15:39 PM - [INFO] - Checking timeout
11-21-2018 01:15:39 PM - [INFO] - Finding web element with id: ‘Object Repository/xxxxxxxxxx/xxxxxxxxxxxxxxx/order-number’ located by ‘By.xpath: //input[@name = ‘order-number’ and @type = ‘text’]’ in ‘30’ second(s)
11-21-2018 01:17:18 PM - [FAILED] - Test Cases/xxxxxxxxxx FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Unable to set text ‘xxxxxxxxx’ of object ‘Object Repository/xxxxxxxxxx/xxxxxxxxxxxxxxx/order-number’ (Root cause: com.kms.katalon.core.webui.exception.WebElementNotFoundException: Web element with id: ‘Object Repository/xxxxxxxxxx/xxxxxxxxxxxxxxx/order-number’ located by ‘By.xpath: //input[@name = ‘order-number’ and @type = ‘text’]’ not found)
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$0.call(Unknown Source)
at
Hi,
Anybody who can say why cannot recognize any objects from the page?
Linux RedHat7
katalonVersion’ with value ‘5.8.6.1’
‘Chrome 70.0.3538.67’
seleniumVersion’ with value ‘unknown’
chromedriver 2.44
I have tested that in Linux Ubuntu Katalon works fine but in Linux RedHat7 no success
Is this tool at all support to run in RedHat distro?
11-22-2018 06:56:50 PM - [RUN_DATA] - Logging run data ‘os’ with value ‘Linux 64bit’
11-22-2018 06:56:50 PM - [RUN_DATA] - Logging run data ‘hostAddress’ with value ‘127.0.1.1’
11-22-2018 06:56:50 PM - [RUN_DATA] - Logging run data ‘katalonVersion’ with value ‘5.8.6.1’
11-22-2018 06:56:55 PM - [START] - Start Test Case : Test Cases/LogInKatalon/Call Test Case Login
11-22-2018 06:56:55 PM - [INFO] - Evaluating variables for test case
11-22-2018 06:56:55 PM - [START] - Start listener action : sampleBeforeTestCase
11-22-2018
06:56:55 PM - [INFO] - Starting invoke
‘com.kms.katalon.core.annotation.BeforeTestCase’ method:
‘BeforeTestCaseRun.sampleBeforeTestCase(…)’
11-22-2018 06:56:56 PM - [START] - Start action : Statement - println(testCaseContext.getTestCaseId())
Test Cases/LogInKatalon/Call Test Case Login
11-22-2018 06:56:56 PM - [END] - End action : Statement - println(testCaseContext.getTestCaseId())
11-22-2018 06:56:56 PM - [START] - Start action : Statement - println(testCaseContext.getTestCaseVariables())
[:]
11-22-2018
06:56:56 PM - [INFO] - Invoke
‘com.kms.katalon.core.annotation.BeforeTestCase’ method:
‘BeforeTestCaseRun.sampleBeforeTestCase(…)’ completed.
11-22-2018 06:56:56 PM - [END] - End action : Statement - println(testCaseContext.getTestCaseVariables())
11-22-2018 06:56:56 PM - [END] - End listener action : sampleBeforeTestCase
11-22-2018 06:56:58 PM - [START] - Start action : callTestCase
11-22-2018 06:56:59 PM - [INFO] - Checking called Test Case
11-22-2018 06:56:59 PM - [INFO] - Starting to call Test Case ‘Test Cases/LogInKatalon/Login’
11-22-2018 06:56:59 PM - [START] - Start Test Case : Test Cases/LogInKatalon/Login
11-22-2018 06:56:59 PM - [INFO] - Evaluating variables for test case
11-22-2018 06:57:01 PM - [START] - Start action : openBrowser
11-22-2018 06:57:04 PM - [INFO] - Opening browser
11-22-2018 06:57:04 PM - [INFO] - Starting ‘Chrome (headless)’ driver
Nov 22, 2018 6:57:04 PM org.openqa.selenium.remote.DesiredCapabilities chrome
INFO: Using `new ChromeOptions()` is preferred to `DesiredCapabilities.chrome()`
11-22-2018 06:57:05 PM - [INFO] - Action delay is set to 0 seconds
--------------------------------------------------------------------------------
Test Suites/LogInKatalon - Chrome (headless) - 20181122_185633…0/2(0%)
--------------------------------------------------------------------------------
Starting ChromeDriver 2.43.600233 (523efee95e3d68b8719b3a1c83051aa63aa6b10d) on port 31945
Only local connections are allowed.
Nov 22, 2018 6:57:12 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
works fine if there is not used Custom keywords in test script
tried with katalon demopage no issues
11-23-2018 02:00:02 PM - [INFO] - Checking timeout
11-23-2018 02:00:02 PM - [INFO] - Finding web element with id: ‘Object Repository/KatalonDemoTest/Page_CURA Healthcare Service/input_Username_username’ located by ‘By.xpath: //input[@id=‘txt-username’]’ in ‘30’ second(s)
11-23-2018 02:00:02 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/KatalonDemoTest/Page_CURA Healthcare Service/input_Username_username’ located by ‘By.xpath: //input[@id=‘txt-username’]’ in ‘30’ second(s)
11-23-2018 02:00:02 PM - [INFO] - Clearing text of object ‘Object Repository/KatalonDemoTest/Page_CURA Healthcare Service/input_Username_username’
11-23-2018 02:00:02 PM - [INFO] - Checking timeout
11-23-2018 02:00:02 PM - [INFO] - Finding web element with id: ‘Object Repository/KatalonDemoTest/Page_CURA Healthcare Service/input_Username_username’ located by ‘By.xpath: //input[@id=‘txt-username’]’ in ‘30’ second(s)
11-23-2018 02:00:02 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/KatalonDemoTest/Page_CURA Healthcare Service/input_Username_username’ located by ‘By.xpath: //input[@id=‘txt-username’]’ in ‘30’ second(s)
11-23-2018 02:00:02 PM - [INFO] - Setting text of object ‘Object Repository/KatalonDemoTest/Page_CURA Healthcare Service/input_Username_username’ to value ‘John Doe’
11-23-2018 02:00:03 PM - [PASSED] - Text ‘John Doe’ is set on object ‘Object Repository/KatalonDemoTest/Page_CURA Healthcare Service/input_Username_username’
11-23-2018 02:00:03 PM - [END] - End action : setText
11-23-2018 02:00:03 PM - [START] - Start action : setEncryptedText
Timo Kuisma
Hope Python Communities will offer you greatest support, since they are known to posses crystal balls and guess what the root problem is, even before actually the issue appear …