Hi katalon
i am automating hybrid ionic web application and i am following BDD approach cucumber feature step definition format,
here is screen shot of html page
after clicking camera button mac window opens up like this
/////
Script code in groovy
And The Error i am getting is:
01-18-2019 02:49:00 PM - [START] - Start Test Case : Test Cases/Moyo_Consumer/1.5.30EditProfile/EditProfilPhoto
01-18-2019 02:49:00 PM - [INFO] - Evaluating variables for test case
01-18-2019 02:49:00 PM - [START] - Start action : runWithCucumberRunner
@EditProfilePage
Feature: Edit profile feature
@EditProfilePage @EditProfilPhoto
Scenario: 1.5.35 Edit profile photo e[90m# include/features/Moyo_Consumer/1.5.30Co_Edit_Profile.feature:39e[0m
01-18-2019 02:49:01 PM - [INFO] - Opening browser
01-18-2019 02:49:01 PM - [INFO] - Starting ‘Chrome’ driver
01-18-2019 02:49:01 PM - [INFO] - User set preference: [‘args’, ‘[–disable-notifications]’]
01-18-2019 02:49:01 PM - [INFO] - Action delay is set to 0 seconds
Starting ChromeDriver 2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef) on port 31544
Only local connections are allowed.
Jan 18, 2019 2:49:02 PM org.openqa.selenium.remote.ProtocolHandshake createSession
INFO: Detected dialect: OSS
01-18-2019 02:49:02 PM - [RUN_DATA] - Logging run data ‘sessionId’ with value ‘b803b5e52fd1bda74a8899d9a95760e5’
01-18-2019 02:49:02 PM - [RUN_DATA] - Logging run data ‘browser’ with value ‘Chrome 71.0.3578.98’
01-18-2019 02:49:02 PM - [RUN_DATA] - Logging run data ‘platform’ with value ‘Mac OS X’
01-18-2019 02:49:02 PM - [RUN_DATA] - Logging run data ‘seleniumVersion’ with value ‘3.7.1’
01-18-2019 02:49:02 PM - [RUN_DATA] - Logging run data ‘proxyInformation’ with value ‘ProxyInformation{proxyOption=NO_PROXY, proxyServerType=HTTP, password=, proxyServerAddress=, proxyServerPort=0}’
01-18-2019 02:49:02 PM - [PASSED] - Browser is opened with url: ‘’
01-18-2019 02:49:02 PM - [INFO] - Checking url
01-18-2019 02:49:02 PM - [INFO] - Navigating to ‘https://moyoqa.com/consumer/#/register’
01-18-2019 02:49:06 PM - [PASSED] - Navigate to ‘https://moyoqa.com/consumer/#/register’ successfully
01-18-2019 02:49:07 PM - [INFO] - Delaying browser in 2 second(s)
01-18-2019 02:49:09 PM - [PASSED] - Delayed 2 second(s)
01-18-2019 02:49:09 PM - [INFO] - Finding Test Object with id ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’
01-18-2019 02:49:09 PM - [INFO] - Checking object
01-18-2019 02:49:09 PM - [INFO] - Checking text
01-18-2019 02:49:09 PM - [INFO] - Checking timeout
01-18-2019 02:49:09 PM - [INFO] - Finding web element with id: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/ion-list[1]/ion-row/ion-col[2]/ion-item/div[1]/div/ion-input/input’ in ‘30’ second(s)
01-18-2019 02:49:09 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/ion-list[1]/ion-row/ion-col[2]/ion-item/div[1]/div/ion-input/input’ in ‘30’ second(s)
01-18-2019 02:49:09 PM - [INFO] - Clearing text of object ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’
01-18-2019 02:49:09 PM - [INFO] - Checking timeout
01-18-2019 02:49:09 PM - [INFO] - Finding web element with id: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/ion-list[1]/ion-row/ion-col[2]/ion-item/div[1]/div/ion-input/input’ in ‘30’ second(s)
01-18-2019 02:49:09 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/ion-list[1]/ion-row/ion-col[2]/ion-item/div[1]/div/ion-input/input’ in ‘30’ second(s)
01-18-2019 02:49:09 PM - [INFO] - Setting text of object ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’ to value ‘7259875193’
01-18-2019 02:49:09 PM - [PASSED] - Text ‘7259875193’ is set on object ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/input_Registration_text-input’
01-18-2019 02:49:09 PM - [INFO] - Delaying browser in 1 second(s)
01-18-2019 02:49:10 PM - [PASSED] - Delayed 1 second(s)
01-18-2019 02:49:10 PM - [INFO] - Finding Test Object with id ‘Object Repository/Moyo_Consumer/Co_MyMoYos/Page_MoYo/span_Registration_button-inner’
01-18-2019 02:49:10 PM - [INFO] - Checking object
01-18-2019 02:49:10 PM - [INFO] - Checking timeout
01-18-2019 02:49:10 PM - [INFO] - Finding web element with id: ‘Object Repository/Moyo_Consumer/Co_MyMoYos/Page_MoYo/span_Registration_button-inner’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/ion-list[2]/ion-checkbox’ in ‘30’ second(s)
01-18-2019 02:49:10 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Moyo_Consumer/Co_MyMoYos/Page_MoYo/span_Registration_button-inner’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/ion-list[2]/ion-checkbox’ in ‘30’ second(s)
01-18-2019 02:49:10 PM - [INFO] - Clicking on object: ‘Object Repository/Moyo_Consumer/Co_MyMoYos/Page_MoYo/span_Registration_button-inner’
01-18-2019 02:49:10 PM - [PASSED] - Object: ‘Object Repository/Moyo_Consumer/Co_MyMoYos/Page_MoYo/span_Registration_button-inner’ is clicked on
01-18-2019 02:49:10 PM - [INFO] - Finding Test Object with id ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/span_Register’
01-18-2019 02:49:10 PM - [INFO] - Checking object
01-18-2019 02:49:10 PM - [INFO] - Checking timeout
01-18-2019 02:49:10 PM - [INFO] - Finding web element with id: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/span_Register’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/button/span’ in ‘30’ second(s)
01-18-2019 02:49:10 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/span_Register’ located by ‘By.xpath: /html/body/ion-app/ng-component/div/ion-split-pane/ion-nav/page-register/ion-content/div[2]/div/form/button/span’ in ‘30’ second(s)
01-18-2019 02:49:10 PM - [INFO] - Clicking on object: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/span_Register’
01-18-2019 02:49:10 PM - [PASSED] - Object: ‘Object Repository/Moyo_Consumer/Co_Registration/Page_MoYo/span_Register’ is clicked on
01-18-2019 02:49:10 PM - [INFO] - Delaying browser in 1 second(s)
01-18-2019 02:49:11 PM - [PASSED] - Delayed 1 second(s)
01-18-2019 02:49:11 PM - [INFO] - Delaying browser in 3 second(s)
01-18-2019 02:49:14 PM - [PASSED] - Delayed 3 second(s)
01-18-2019 02:49:14 PM - [INFO] - Finding Test Object with id ‘Object Repository/Moyo_Consumer/Page_MoYo/ProfileNumber’
01-18-2019 02:49:14 PM - [INFO] - Checking object
01-18-2019 02:49:14 PM - [INFO] - Checking timeout
01-18-2019 02:49:14 PM - [INFO] - Finding web element with id: ‘Object Repository/Moyo_Consumer/Page_MoYo/ProfileNumber’ located by ‘By.xpath: /html[1]/body[1]/ion-app[@class=“app-root app-root-md md platform-cordova platform-core enable-hover”]/ng-component[@class=“app-root”]/div[@class=“normal-web-width”]/ion-split-pane[@class=“split-pane split-pane-md split-pane-visible”]/ion-menu[@class=“split-pane-side menu-enabled”]/div[@class=“menu-inner”]/ion-header[@class=“header header-md”]/ion-navbar[@class=“toolbar toolbar-md”]/div[@class=“toolbar-content toolbar-content-md”]/ion-title[@class=“title title-md”]/div[@class=“toolbar-title toolbar-title-md”]/div[2]’ in ‘30’ second(s)
01-18-2019 02:49:14 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Moyo_Consumer/Page_MoYo/ProfileNumber’ located by ‘By.xpath: /html[1]/body[1]/ion-app[@class=“app-root app-root-md md platform-cordova platform-core enable-hover”]/ng-component[@class=“app-root”]/div[@class=“normal-web-width”]/ion-split-pane[@class=“split-pane split-pane-md split-pane-visible”]/ion-menu[@class=“split-pane-side menu-enabled”]/div[@class=“menu-inner”]/ion-header[@class=“header header-md”]/ion-navbar[@class=“toolbar toolbar-md”]/div[@class=“toolbar-content toolbar-content-md”]/ion-title[@class=“title title-md”]/div[@class=“toolbar-title toolbar-title-md”]/div[2]’ in ‘30’ second(s)
01-18-2019 02:49:14 PM - [INFO] - Clicking on object: ‘Object Repository/Moyo_Consumer/Page_MoYo/ProfileNumber’
01-18-2019 02:49:14 PM - [PASSED] - Object: ‘Object Repository/Moyo_Consumer/Page_MoYo/ProfileNumber’ is clicked on
01-18-2019 02:49:14 PM - [INFO] - Delaying browser in 1 second(s)
01-18-2019 02:49:15 PM - [PASSED] - Delayed 1 second(s)
01-18-2019 02:49:15 PM - [INFO] - Finding Test Object with id ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/ProfileText’
01-18-2019 02:49:15 PM - [INFO] - Checking object
01-18-2019 02:49:15 PM - [INFO] - Checking timeout
01-18-2019 02:49:15 PM - [INFO] - Finding web element with id: ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/ProfileText’ located by ‘By.xpath: //[(text() = ‘Profile’ or . = ‘Profile’)]’ in ‘30’ second(s)
01-18-2019 02:49:15 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/ProfileText’ located by 'By.xpath: //[(text() = ‘Profile’ or . = ‘Profile’)]’ in ‘30’ second(s)
01-18-2019 02:49:15 PM - [PASSED] - Object ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/ProfileText’ is visible
e[32mGiven e[0me[32muser is on profile pagee[0m e[90m# Edit_Profile.user_is_on_profile_page()e[0m
01-18-2019 02:49:15 PM - [INFO] - Delaying browser in 1 second(s)
01-18-2019 02:49:16 PM - [PASSED] - Delayed 1 second(s)
e[32mAnd e[0me[32muser has already added imagee[0m e[90m# Edit_Profile.user_has_already_added_image()e[0m
01-18-2019 02:49:16 PM - [INFO] - Delaying browser in 1 second(s)
01-18-2019 02:49:17 PM - [PASSED] - Delayed 1 second(s)
01-18-2019 02:49:17 PM - [INFO] - Finding Test Object with id ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/CameraIcon’
01-18-2019 02:49:17 PM - [INFO] - Checking object
01-18-2019 02:49:17 PM - [INFO] - Checking timeout
01-18-2019 02:49:17 PM - [INFO] - Finding web element with id: ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/CameraIcon’ located by ‘By.xpath: //ion-icon[@name = ‘camera’]’ in ‘30’ second(s)
01-18-2019 02:49:17 PM - [INFO] - Found 1 web elements with id: ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/CameraIcon’ located by ‘By.xpath: //ion-icon[@name = ‘camera’]’ in ‘30’ second(s)
01-18-2019 02:49:17 PM - [INFO] - Clicking on object: ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/CameraIcon’
01-18-2019 02:49:17 PM - [PASSED] - Object: ‘Object Repository/Moyo_Consumer/Edit_Profile/Page_MoYo/CameraIcon’ is clicked on
e[32mWhen e[0me[32muser clicks on image or edit icone[0m e[90m# Edit_Profile.user_clicks_on_on_image_or_edit_icon()e[0m
e[31mThen e[0me[31muser should be able to add new imagee[0m e[90m# Edit_Profile.user_should_be_able_to_add_new_image()e[0m
e[31morg.openqa.selenium.WebDriverException: unknown error: cannot focus element
(Session info: chrome=71.0.3578.98)
(Driver info: chromedriver=2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef),platform=Mac OS X 10.13.6 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: ‘Users-MacBook-Pro.local’, ip: ‘fe80:0:0:0:805:faf9:8a19:2814%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.6’, 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.528157 (4429ca2590d698…, userDataDir: /var/folders/rd/mrzl9g8n7_n…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 71.0.3578.98, webStorageEnabled: true}
Session ID: b803b5e52fd1bda74a8899d9a95760e5
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:600)
at com.kms.katalon.selenium.driver.CChromeDriver.execute(CChromeDriver.java:20)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:279)
at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:100)
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.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSite.invoke(PojoMetaMethodSite.java:192)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
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 com.moyo_consumer.Edit_Profile.user_should_be_able_to_add_new_image(Edit_Profile.groovy:249)
at ✽.user should be able to add new image(include/features/Moyo_Consumer/1.5.30Co_Edit_Profile.feature:43)
e[0m
e[31mFailed scenarios:e[0m
e[31minclude/features/Moyo_Consumer/1.5.30Co_Edit_Profile.feature:39 e[0m# 1.5.35 Edit profile photo
1 Scenarios (e[31m1 failede[0m)
4 Steps (e[31m1 failede[0m, e[32m3 passede[0m)
0m17.842s
org.openqa.selenium.WebDriverException: unknown error: cannot focus element
(Session info: chrome=71.0.3578.98)
(Driver info: chromedriver=2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef),platform=Mac OS X 10.13.6 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: ‘Users-MacBook-Pro.local’, ip: ‘fe80:0:0:0:805:faf9:8a19:2814%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.6’, 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.528157 (4429ca2590d698…, userDataDir: /var/folders/rd/mrzl9g8n7_n…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 71.0.3578.98, webStorageEnabled: true}
Session ID: b803b5e52fd1bda74a8899d9a95760e5
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:214)
at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:166)
at org.openqa.selenium.remote.http.JsonHttpResponseCodec.reconstructValue(JsonHttpResponseCodec.java:40)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:80)
at org.openqa.selenium.remote.http.AbstractHttpResponseCodec.decode(AbstractHttpResponseCodec.java:44)
at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:164)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:83)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:600)
at com.kms.katalon.selenium.driver.CChromeDriver.execute(CChromeDriver.java:20)
at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:279)
at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:100)
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.runtime.callsite.PojoMetaMethodSite$PojoCachedMethodSite.invoke(PojoMetaMethodSite.java:192)
at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
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 com.moyo_consumer.Edit_Profile.user_should_be_able_to_add_new_image(Edit_Profile.groovy:249)
at ✽.user should be able to add new image(include/features/Moyo_Consumer/1.5.30Co_Edit_Profile.feature:43)
01-18-2019 02:49:19 PM - [FAILED] - Keyword runWithCucumberRunner was failed (Root cause: groovy.lang.MissingMethodException: No signature of method: static com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed() is applicable for argument types: (java.lang.String) values: [These following reason:
[unknown error: cannot focus element
(Session info: chrome=71.0.3578.98)
(Driver info: chromedriver=2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef),platform=Mac OS X 10.13.6 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: ‘Users-MacBook-Pro.local’, ip: ‘fe80:0:0:0:805:faf9:8a19:2814%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.6’, 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.528157 (4429ca2590d698…, userDataDir: /var/folders/rd/mrzl9g8n7_n…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 71.0.3578.98, webStorageEnabled: true}
Session ID: b803b5e52fd1bda74a8899d9a95760e5]]
Possible solutions: stepFailed(java.lang.String, com.kms.katalon.core.model.FailureHandling), stepFailed(java.lang.String, com.kms.katalon.core.model.FailureHandling, java.lang.String), stepFailed(java.lang.String, com.kms.katalon.core.model.FailureHandling, java.lang.String, java.util.Map))
01-18-2019 02:49:19 PM - [END] - End action : runWithCucumberRunner
01-18-2019 02:49:19 PM - [FAILED] - Test Cases/Moyo_Consumer/1.5.30EditProfile/EditProfilPhoto FAILED because (of) (Stack trace: com.kms.katalon.core.exception.StepFailedException: Keyword runWithCucumberRunner was failed (Root cause: groovy.lang.MissingMethodException: No signature of method: static com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed() is applicable for argument types: (java.lang.String) values: [These following reason:
[unknown error: cannot focus element
(Session info: chrome=71.0.3578.98)
(Driver info: chromedriver=2.35.528157 (4429ca2590d6988c0745c24c8858745aaaec01ef),platform=Mac OS X 10.13.6 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: ‘Users-MacBook-Pro.local’, ip: ‘fe80:0:0:0:805:faf9:8a19:2814%en0’, os.name: ‘Mac OS X’, os.arch: ‘x86_64’, os.version: ‘10.13.6’, 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.528157 (4429ca2590d698…, userDataDir: /var/folders/rd/mrzl9g8n7_n…}, cssSelectorsEnabled: true, databaseEnabled: false, handlesAlerts: true, hasTouchScreen: false, javascriptEnabled: true, locationContextEnabled: true, mobileEmulationEnabled: false, nativeEvents: true, networkConnectionEnabled: false, pageLoadStrategy: normal, platform: MAC, platformName: MAC, rotatable: false, setWindowRect: true, takesHeapSnapshot: true, takesScreenshot: true, unexpectedAlertBehaviour: , unhandledPromptBehavior: , version: 71.0.3578.98, webStorageEnabled: true}
Session ID: b803b5e52fd1bda74a8899d9a95760e5]]
Possible solutions: stepFailed(java.lang.String, com.kms.katalon.core.model.FailureHandling), stepFailed(java.lang.String, com.kms.katalon.core.model.FailureHandling, java.lang.String), stepFailed(java.lang.String, com.kms.katalon.core.model.FailureHandling, java.lang.String, java.util.Map))
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy:32)
at com.kms.katalon.core.keyword.internal.KeywordMain.stepFailed(KeywordMain.groovy)
at com.kms.katalon.core.keyword.internal.KeywordMain.runKeyword(KeywordMain.groovy:56)
at com.kms.katalon.core.keyword.internal.KeywordMain$runKeyword.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:141)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runWithCucumberRunner(CucumberBuiltinKeywords.groovy:247)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runWithCucumberRunner$0.callStatic(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallStatic(CallSiteArray.java:56)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:194)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callStatic(AbstractCallSite.java:214)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords.runWithCucumberRunner(CucumberBuiltinKeywords.groovy:347)
at com.kms.katalon.core.cucumber.keyword.CucumberBuiltinKeywords$runWithCucumberRunner.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 Script1547704911253.run(Script1547704911253.groovy:26)
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 TempTestCase1547803138897.run(TempTestCase1547803138897.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)
)
01-18-2019 02:49:19 PM - [END] - End Test Case : Test Cases/Moyo_Consumer/1.5.30EditProfile/EditProfilPhoto