Created
October 19, 2023 05:32
-
-
Save dipakkumar1225/a1bda54988dd57c154b37b9b0dd3ae6a to your computer and use it in GitHub Desktop.
Wait-Plugin.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Appium] Attempting to load plugin element-wait... | |
[Appium] Attempting to load plugin gestures... | |
[Appium] Attempting to load plugin appium-dashboard... | |
[ADB] Found 3 'build-tools' folders under 'D:\Software_Installed\Android_Sdk' (newest first): | |
[ADB] D:\Software_Installed\Android_Sdk\build-tools\34.0.0 | |
[ADB] D:\Software_Installed\Android_Sdk\build-tools\33.0.2 | |
[ADB] D:\Software_Installed\Android_Sdk\build-tools\30.0.3 | |
[ADB] Using 'adb.exe' from 'D:\Software_Installed\Android_Sdk\platform-tools\adb.exe' | |
[Appium] Welcome to Appium v2.1.3 | |
[Appium] Non-default server args: | |
[Appium] { address: '127.0.0.1', | |
[Appium] allowInsecure: [ 'adb_shell' ], | |
[Appium] basePath: '/wd/hub/', | |
[Appium] loglevel: 'info:debug', | |
[Appium] relaxedSecurityEnabled: true, | |
[Appium] sessionOverride: true, | |
[Appium] useDrivers: [ 'uiautomator2' ], | |
[Appium] usePlugins: [ 'element-wait', 'gestures', 'appium-dashboard' ] } | |
[Appium] Attempting to load driver uiautomator2... | |
[appium-dashboard] Dashboard plugin is enabled and will be served at http://localhost:4723/dashboard | |
[appium-dashboard] If the appium server is started with different port other than 4723, then use the correct port number to access the device farm dashboard | |
[Appium] Appium REST http interface listener started on http://127.0.0.1:4723/wd/hub | |
[Appium] Available drivers: | |
[Appium] - uiautomator2@2.29.9 (automationName 'UiAutomator2') | |
[Appium] - espresso@2.25.7 (automationName 'Espresso') | |
[Appium] Available plugins: | |
[Appium] - images@2.1.4 | |
[Appium] - element-wait@2.0.3 (ACTIVE) | |
[Appium] - gestures@3.0.0 (ACTIVE) | |
[Appium] - appium-dashboard@v2.0.2 (ACTIVE) | |
[HTTP] --> GET /wd/hub/status | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'getStatus': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'getStatus' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'getStatus' | |
[AppiumDriver@626d] Executing default handling behavior for command 'getStatus' | |
[HTTP] <-- GET /wd/hub/status 200 6 ms - 110 | |
[HTTP] | |
Scenario: This is sample scenario feature 1_1 # uat/sample_1.feature:3 | |
[HTTP] --> GET /wd/hub/status | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'getStatus': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'getStatus' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'getStatus' | |
[AppiumDriver@626d] Executing default handling behavior for command 'getStatus' | |
[HTTP] <-- GET /wd/hub/status 200 1 ms - 110 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session | |
[HTTP] {"capabilities":{"firstMatch":[{}],"alwaysMatch":{"appium:app":"D:\\Automation-Framework\\Generic\\app\\android\\RBL_UnifiedApp_9.0.0.10.apk","appium:appActivity":"com.rblbank.mobank.activityunified.UnifiedMainActivity","appium:appPackage":"com.rblbank.mobankuat","appium:autoGrantPermissions":true,"appium:automationName":"UIAutomator2","appium:fullReset":false,"appium:ignoreHiddenApiPolicyError":true,"appium:noReset":true,"appium:shouldTerminateApp":true,"appium:udid":"","platformName":"ANDROID"}}} | |
[AppiumDriver@626d] Plugins which can handle cmd 'createSession': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'createSession' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'createSession' | |
[AppiumDriver@626d] Executing default handling behavior for command 'createSession' | |
[Appium] Attempting to find matching driver for automationName 'UIAutomator2' and platformName 'ANDROID' | |
[Appium] The 'uiautomator2' driver was installed and matched caps. | |
[Appium] Will require it at C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\appium-uiautomator2-driver | |
[AppiumDriver@626d] Appium v2.1.3 creating new AndroidUiautomator2Driver (v2.29.9) session | |
[AppiumDriver@626d] Checking BaseDriver versions for Appium and AndroidUiautomator2Driver | |
[AppiumDriver@626d] Appium's BaseDriver version is 9.3.20 | |
[AppiumDriver@626d] AndroidUiautomator2Driver's BaseDriver version is 9.3.20 | |
[AppiumDriver@626d] Applying relaxed security to 'AndroidUiautomator2Driver' as per server command line argument. All insecure features will be enabled unless explicitly disabled by --deny-insecure | |
[AppiumDriver@626d] Explicitly enabling use of insecure features: | |
[AppiumDriver@626d] adb_shell | |
[AndroidUiautomator2Driver@1499 (d58accba)] Session created with session id: d58accba-913a-4c8d-ad24-8476df37b7cf | |
[BaseDriver] Using local app 'D:\Automation-Framework\Generic\app\android\RBL_UnifiedApp_9.0.0.10.apk' | |
[ADB] Found 3 'build-tools' folders under 'D:\Software_Installed\Android_Sdk' (newest first): | |
[ADB] D:\Software_Installed\Android_Sdk\build-tools\34.0.0 | |
[ADB] D:\Software_Installed\Android_Sdk\build-tools\33.0.2 | |
[ADB] D:\Software_Installed\Android_Sdk\build-tools\30.0.3 | |
[ADB] Using 'adb.exe' from 'D:\Software_Installed\Android_Sdk\platform-tools\adb.exe' | |
[AndroidDriver] Retrieving device list | |
[AndroidDriver] Using device: ZD222CJSXB | |
[ADB] Using 'adb.exe' from 'D:\Software_Installed\Android_Sdk\platform-tools\adb.exe' | |
[ADB] Getting device platform version | |
[AndroidUiautomator2Driver@1499 (d58accba)] Relaxing hidden api policy | |
[HTTP] --> GET /wd/hub/session/638dfdd3-6f83-4fb2-9006-131c6b6d9c0a/timeouts | |
[HTTP] {} | |
[HTTP] <-- GET /wd/hub/session/638dfdd3-6f83-4fb2-9006-131c6b6d9c0a/timeouts 404 11 ms - 4045 | |
[HTTP] | |
[ADB] Using 'apksigner.jar' from 'D:\Software_Installed\Android_Sdk\build-tools\34.0.0\lib\apksigner.jar' | |
[ADB] 'C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' is signed with the default certificate | |
[ADB] 'C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.6.apk' is signed with the default certificate | |
[AndroidUiautomator2Driver@1499 (d58accba)] Server packages are not going to be (re)installed | |
[ADB] Adding packages ["io.appium.settings","io.appium.uiautomator2.server","io.appium.uiautomator2.server.test"] to Doze whitelist | |
[AndroidUiautomator2Driver@1499 (d58accba)] Starting UIAutomator2 server 5.12.6 | |
[AndroidUiautomator2Driver@1499 (d58accba)] Using UIAutomator2 server from 'C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-v5.12.6.apk' and test from 'C:\Users\Deepakv.WINJITBIOS\.appium\node_modules\appium-uiautomator2-driver\node_modules\appium-uiautomator2-server\apks\appium-uiautomator2-server-debug-androidTest.apk' | |
[AndroidUiautomator2Driver@1499 (d58accba)] Waiting up to 30000ms for UiAutomator2 to be online... | |
[AndroidUiautomator2Driver@1499 (d58accba)] socket hang up | |
[AndroidUiautomator2Driver@1499 (d58accba)] socket hang up | |
[AndroidUiautomator2Driver@1499 (d58accba)] Determined the downstream protocol as 'W3C' | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[AndroidUiautomator2Driver@1499 (d58accba)] Starting 'com.rblbank.mobankuat/com.rblbank.mobank.activityunified.UnifiedMainActivity and waiting for 'com.rblbank.mobankuat/com.rblbank.mobank.activityunified.UnifiedMainActivity' | |
[AndroidUiautomator2Driver@1499 (d58accba)] 'com.rblbank.mobankuat' is already running and noReset is enabled. Set forceAppLaunch capability to true if the app must be forcefully restarted on session startup. | |
[AppiumDriver@626d] New AndroidUiautomator2Driver session created successfully, session d58accba-913a-4c8d-ad24-8476df37b7cf added to master session list | |
[wait-plugin] Timeout properties set for session d58accba-913a-4c8d-ad24-8476df37b7cf is {"timeout":10000,"intervalBetweenAttempts":500,"excludeEnabledCheck":[]} | |
[wait-plugin] session d58accba-913a-4c8d-ad24-8476df37b7cf is created with {"timeout":10000,"intervalBetweenAttempts":500,"excludeEnabledCheck":[]} | |
[appium-dashboard] Adb found. Creating device profiler | |
[HTTP] --> POST /wd/hu/wd-internal/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/start_recording_screen | |
[HTTP] {"options":{"videoType":"libx264","videoFps":10,"videoScale":"1280:720","videoSize":"1280x720","timeLimit":1800}} | |
[HTTP] <-- POST /wd/hu/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/start_recording_screen 404 8 ms - 262 | |
[HTTP] | |
[AppiumDriver@626d] Promoting 3 sessionless plugins to be attached to session ID d58accba-913a-4c8d-ad24-8476df37b7cf | |
[HTTP] <-- POST /wd/hub/session 200 7780 ms - 1526 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/settings | |
[HTTP] {"settings":{"enableNotificationListener":false}} | |
[AppiumDriver@626d] Plugins which can handle cmd 'updateSettings': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'updateSettings' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'updateSettings' | |
[AppiumDriver@626d] Executing default handling behavior for command 'updateSettings' | |
[HTTP] <-- POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/settings 200 87 ms - 14 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/settings | |
[HTTP] {"settings":{"waitForSelectorTimeout":0}} | |
[AppiumDriver@626d] Plugins which can handle cmd 'updateSettings': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'updateSettings' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'updateSettings' | |
[AppiumDriver@626d] Executing default handling behavior for command 'updateSettings' | |
[HTTP] <-- POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/settings 200 44 ms - 14 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/settings | |
[HTTP] {"settings":{"waitForIdleTimeout":0}} | |
[AppiumDriver@626d] Plugins which can handle cmd 'updateSettings': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'updateSettings' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'updateSettings' | |
[AppiumDriver@626d] Executing default handling behavior for command 'updateSettings' | |
[HTTP] <-- POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/settings 200 44 ms - 14 | |
[HTTP] | |
11:00:10.772 [main] INFO c.a.c.stepDefinitions.SampleDefs - Executing Given Statement | |
11:00:11.635 [main] INFO c.a.c.pages.common.CustomAlert - Get application update alert title text | |
[HTTP] --> GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/context | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'getCurrentContext': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'getCurrentContext' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'getCurrentContext' | |
[AppiumDriver@626d] Executing default handling behavior for command 'getCurrentContext' | |
[HTTP] <-- GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/context 200 18 ms - 22 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/element | |
[HTTP] {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.rblbank.mobankuat:id/tvSuccess\")"} | |
[AppiumDriver@626d] Plugins which can handle cmd 'findElement': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'findElement' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'findElement' | |
- Waiting to find element with -android uiautomator strategy for new UiSelector().resourceId("com.rblbank.mobankuat:id/tvSuccess") selector | |
× Waiting to find element with -android uiautomator strategy for new UiSelector().resourceId("com.rblbank.mobankuat:id/tvSuccess") selector | |
[AppiumDriver@626d] Command 'findElement' was *not* handled by the following behaviours or plugins, even though they were registered to handle it: ["default"]. The command *was* handled by these: ["element-wait","appium-dashboard"]. | |
[HTTP] <-- POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/element 404 10028 ms - 572 | |
[HTTP] | |
Title :: | |
11:00:21.712 [main] INFO c.a.c.pages.common.CustomAlert - Get application update text message | |
[HTTP] --> GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/context | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'getCurrentContext': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'getCurrentContext' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'getCurrentContext' | |
[AppiumDriver@626d] Executing default handling behavior for command 'getCurrentContext' | |
[HTTP] <-- GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/context 200 32 ms - 22 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/element | |
[HTTP] {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.rblbank.mobankuat:id/tvMessage\")"} | |
[AppiumDriver@626d] Plugins which can handle cmd 'findElement': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'findElement' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'findElement' | |
- Waiting to find element with -android uiautomator strategy for new UiSelector().resourceId("com.rblbank.mobankuat:id/tvMessage") selector | |
[HTTP] --> GET /wd/hub/session/638dfdd3-6f83-4fb2-9006-131c6b6d9c0a/timeouts | |
[HTTP] {} | |
[HTTP] <-- GET /wd/hub/session/638dfdd3-6f83-4fb2-9006-131c6b6d9c0a/timeouts 404 3 ms - 4045 | |
[HTTP] | |
× Waiting to find element with -android uiautomator strategy for new UiSelector().resourceId("com.rblbank.mobankuat:id/tvMessage") selector | |
[AppiumDriver@626d] Command 'findElement' was *not* handled by the following behaviours or plugins, even though they were registered to handle it: ["default"]. The command *was* handled by these: ["element-wait","appium-dashboard"]. | |
[HTTP] <-- POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/element 404 10025 ms - 572 | |
[HTTP] | |
Message :: | |
[HTTP] --> GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/context | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'getCurrentContext': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'getCurrentContext' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'getCurrentContext' | |
[AppiumDriver@626d] Executing default handling behavior for command 'getCurrentContext' | |
[HTTP] <-- GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/context 200 65 ms - 22 | |
[HTTP] | |
[HTTP] --> POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/element | |
[HTTP] {"using":"-android uiautomator","value":"new UiSelector().resourceId(\"com.rblbank.mobankuat:id/btNegative\")"} | |
[AppiumDriver@626d] Plugins which can handle cmd 'findElement': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'findElement' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'findElement' | |
- Waiting to find element with -android uiautomator strategy for new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative") selector | |
× Waiting to find element with -android uiautomator strategy for new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative") selector | |
[AppiumDriver@626d] Command 'findElement' was *not* handled by the following behaviours or plugins, even though they were registered to handle it: ["default"]. The command *was* handled by these: ["element-wait","appium-dashboard"]. | |
[HTTP] <-- POST /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/element 404 10015 ms - 574 | |
[HTTP] | |
Given App Update # com.automation.cucumber.stepDefinitions.SampleDefs.thisIsPreConditionStatement() | |
org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({AppiumBy.androidUIAutomator: new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative")}) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:166) | |
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.call(InterceptorOfASingleElement.java:64) | |
at io.appium.java_client.proxy.Interceptor.intercept(Interceptor.java:77) | |
at org.openqa.selenium.remote.RemoteWebElement$ByteBuddy$rwfPQlhV.click(Unknown Source) | |
at com.automation.cucumber.pages.common.CustomAlert.clickAlertButtonByLabel(CustomAlert.java:36) | |
at com.automation.cucumber.pages.prelogin.splash.AppUpdate.clickOnSkip(AppUpdate.java:27) | |
at com.automation.cucumber.stepDefinitions.SampleDefs.thisIsPreConditionStatement(SampleDefs.java:32) | |
at ✽.App Update(classpath:uat/sample_1.feature:4) | |
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@198536f6 (tried for 0 second(s) with 500 milliseconds interval) | |
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:262) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:230) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:135) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:160) | |
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.call(InterceptorOfASingleElement.java:64) | |
at io.appium.java_client.proxy.Interceptor.intercept(Interceptor.java:77) | |
at org.openqa.selenium.remote.RemoteWebElement$ByteBuddy$rwfPQlhV.click(Unknown Source) | |
at com.automation.cucumber.pages.common.CustomAlert.clickAlertButtonByLabel(CustomAlert.java:36) | |
at com.automation.cucumber.pages.prelogin.splash.AppUpdate.clickOnSkip(AppUpdate.java:27) | |
at com.automation.cucumber.stepDefinitions.SampleDefs.thisIsPreConditionStatement(SampleDefs.java:32) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) | |
at io.cucumber.java.Invoker.invoke(Invoker.java:24) | |
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) | |
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) | |
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) | |
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) | |
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) | |
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84) | |
at io.cucumber.core.runner.TestStep.run(TestStep.java:56) | |
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) | |
at io.cucumber.core.runner.TestCase.run(TestCase.java:84) | |
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) | |
at io.cucumber.testng.TestNGCucumberRunner.lambda$runScenario$1(TestNGCucumberRunner.java:132) | |
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137) | |
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) | |
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137) | |
at io.cucumber.testng.TestNGCucumberRunner.runScenario(TestNGCucumberRunner.java:129) | |
at io.cucumber.testng.AbstractTestNGCucumberTests.runScenario(AbstractTestNGCucumberTests.java:35) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139) | |
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664) | |
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227) | |
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) | |
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957) | |
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200) | |
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148) | |
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) | |
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) | |
at org.testng.TestRunner.privateRun(TestRunner.java:848) | |
at org.testng.TestRunner.run(TestRunner.java:621) | |
at org.testng.SuiteRunner.runTest(SuiteRunner.java:443) | |
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:437) | |
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:397) | |
at org.testng.SuiteRunner.run(SuiteRunner.java:336) | |
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) | |
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1280) | |
at org.testng.TestNG.runSuitesLocally(TestNG.java:1200) | |
at org.testng.TestNG.runSuites(TestNG.java:1114) | |
at org.testng.TestNG.run(TestNG.java:1082) | |
at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66) | |
at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105) | |
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({AppiumBy.androidUIAutomator: new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative")}) | |
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception | |
Build info: version: '4.14.1', revision: '03f8ede370' | |
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2' | |
Driver info: driver.version: RemoteWebDriver | |
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:77) | |
at org.openqa.selenium.remote.ElementLocation$ElementFinder$1.findElement(ElementLocation.java:139) | |
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353) | |
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:53) | |
at org.openqa.selenium.remote.ElementLocation$ElementFinder$1.findElement(ElementLocation.java:139) | |
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$findElement$1(AppiumElementLocator.java:160) | |
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:217) | |
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:210) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:205) | |
... 57 more | |
[HTTP] --> GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/screenshot | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'getScreenshot': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'getScreenshot' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'getScreenshot' | |
[AppiumDriver@626d] Executing default handling behavior for command 'getScreenshot' | |
[HTTP] --> GET /wd/hub/session/638dfdd3-6f83-4fb2-9006-131c6b6d9c0a/timeouts | |
[HTTP] {} | |
[HTTP] <-- GET /wd/hub/session/638dfdd3-6f83-4fb2-9006-131c6b6d9c0a/timeouts 404 3 ms - 4045 | |
[HTTP] | |
[HTTP] <-- GET /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf/screenshot 200 2388 ms - 3719620 | |
[HTTP] | |
Embedding App Update :: FAILED [image/png 32091 bytes] | |
When StoryBoard Screen # com.automation.cucumber.stepDefinitions.SampleDefs.storyBoardScreen() | |
Then Permission Screen # com.automation.cucumber.stepDefinitions.SampleDefs.permissionScreen() | |
Then SIM Binding # com.automation.cucumber.stepDefinitions.SampleDefs.sIMBinding() | |
Attempting to quit driver... | |
[HTTP] --> DELETE /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'deleteSession': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'deleteSession' | |
[HTTP] --> POST /wd/hu/wd-internal/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/stop_recording_screen | |
[HTTP] {} | |
[HTTP] <-- POST /wd/hu/session/d58accba-913a-4c8d-ad24-8476df37b7cf/appium/stop_recording_screen 404 3 ms - 262 | |
[HTTP] | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'deleteSession' | |
[AppiumDriver@626d] Executing default handling behavior for command 'deleteSession' | |
[AppiumDriver@626d] Removing session d58accba-913a-4c8d-ad24-8476df37b7cf from our master session list | |
[AndroidUiautomator2Driver@1499 (d58accba)] Restoring hidden api policy to the device default configuration | |
[HTTP] <-- DELETE /wd/hub/session/d58accba-913a-4c8d-ad24-8476df37b7cf 200 515 ms - 14 | |
[HTTP] | |
org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({AppiumBy.androidUIAutomator: new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative")}) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:166) | |
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.call(InterceptorOfASingleElement.java:64) | |
at io.appium.java_client.proxy.Interceptor.intercept(Interceptor.java:77) | |
at org.openqa.selenium.remote.RemoteWebElement$ByteBuddy$rwfPQlhV.click(Unknown Source) | |
at com.automation.cucumber.pages.common.CustomAlert.clickAlertButtonByLabel(CustomAlert.java:36) | |
at com.automation.cucumber.pages.prelogin.splash.AppUpdate.clickOnSkip(AppUpdate.java:27) | |
at com.automation.cucumber.stepDefinitions.SampleDefs.thisIsPreConditionStatement(SampleDefs.java:32) | |
at ✽.App Update(classpath:uat/sample_1.feature:4) | |
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@198536f6 (tried for 0 second(s) with 500 milliseconds interval) | |
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:262) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:230) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:135) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:160) | |
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.call(InterceptorOfASingleElement.java:64) | |
at io.appium.java_client.proxy.Interceptor.intercept(Interceptor.java:77) | |
at org.openqa.selenium.remote.RemoteWebElement$ByteBuddy$rwfPQlhV.click(Unknown Source) | |
at com.automation.cucumber.pages.common.CustomAlert.clickAlertButtonByLabel(CustomAlert.java:36) | |
at com.automation.cucumber.pages.prelogin.splash.AppUpdate.clickOnSkip(AppUpdate.java:27) | |
at com.automation.cucumber.stepDefinitions.SampleDefs.thisIsPreConditionStatement(SampleDefs.java:32) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) | |
at io.cucumber.java.Invoker.invoke(Invoker.java:24) | |
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) | |
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) | |
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) | |
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) | |
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) | |
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84) | |
at io.cucumber.core.runner.TestStep.run(TestStep.java:56) | |
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) | |
at io.cucumber.core.runner.TestCase.run(TestCase.java:84) | |
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) | |
at io.cucumber.testng.TestNGCucumberRunner.lambda$runScenario$1(TestNGCucumberRunner.java:132) | |
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137) | |
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) | |
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137) | |
at io.cucumber.testng.TestNGCucumberRunner.runScenario(TestNGCucumberRunner.java:129) | |
at io.cucumber.testng.AbstractTestNGCucumberTests.runScenario(AbstractTestNGCucumberTests.java:35) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139) | |
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664) | |
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227) | |
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) | |
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957) | |
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200) | |
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148) | |
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) | |
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) | |
at org.testng.TestRunner.privateRun(TestRunner.java:848) | |
at org.testng.TestRunner.run(TestRunner.java:621) | |
at org.testng.SuiteRunner.runTest(SuiteRunner.java:443) | |
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:437) | |
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:397) | |
at org.testng.SuiteRunner.run(SuiteRunner.java:336) | |
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) | |
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1280) | |
at org.testng.TestNG.runSuitesLocally(TestNG.java:1200) | |
at org.testng.TestNG.runSuites(TestNG.java:1114) | |
at org.testng.TestNG.run(TestNG.java:1082) | |
at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66) | |
at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105) | |
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({AppiumBy.androidUIAutomator: new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative")}) | |
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception | |
Build info: version: '4.14.1', revision: '03f8ede370' | |
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2' | |
Driver info: driver.version: RemoteWebDriver | |
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:77) | |
at org.openqa.selenium.remote.ElementLocation$ElementFinder$1.findElement(ElementLocation.java:139) | |
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353) | |
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:53) | |
at org.openqa.selenium.remote.ElementLocation$ElementFinder$1.findElement(ElementLocation.java:139) | |
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$findElement$1(AppiumElementLocator.java:160) | |
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:217) | |
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:210) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:205) | |
... 57 more | |
Failed scenarios: | |
classpath:uat/sample_1.feature:3 # This is sample scenario feature 1_1 | |
1 Scenarios (1 failed) | |
4 Steps (1 failed, 3 skipped) | |
0m59.638s | |
org.openqa.selenium.NoSuchElementException: Can't locate an element by this strategy: By.chained({AppiumBy.androidUIAutomator: new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative")}) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:166) | |
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.call(InterceptorOfASingleElement.java:64) | |
at io.appium.java_client.proxy.Interceptor.intercept(Interceptor.java:77) | |
at org.openqa.selenium.remote.RemoteWebElement$ByteBuddy$rwfPQlhV.click(Unknown Source) | |
at com.automation.cucumber.pages.common.CustomAlert.clickAlertButtonByLabel(CustomAlert.java:36) | |
at com.automation.cucumber.pages.prelogin.splash.AppUpdate.clickOnSkip(AppUpdate.java:27) | |
at com.automation.cucumber.stepDefinitions.SampleDefs.thisIsPreConditionStatement(SampleDefs.java:32) | |
at ✽.App Update(classpath:uat/sample_1.feature:4) | |
Caused by: org.openqa.selenium.TimeoutException: Expected condition failed: waiting for io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction@198536f6 (tried for 0 second(s) with 500 milliseconds interval) | |
at org.openqa.selenium.support.ui.FluentWait.timeoutException(FluentWait.java:262) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:230) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.waitFor(AppiumElementLocator.java:135) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.findElement(AppiumElementLocator.java:160) | |
at io.appium.java_client.pagefactory.interceptors.InterceptorOfASingleElement.call(InterceptorOfASingleElement.java:64) | |
at io.appium.java_client.proxy.Interceptor.intercept(Interceptor.java:77) | |
at org.openqa.selenium.remote.RemoteWebElement$ByteBuddy$rwfPQlhV.click(Unknown Source) | |
at com.automation.cucumber.pages.common.CustomAlert.clickAlertButtonByLabel(CustomAlert.java:36) | |
at com.automation.cucumber.pages.prelogin.splash.AppUpdate.clickOnSkip(AppUpdate.java:27) | |
at com.automation.cucumber.stepDefinitions.SampleDefs.thisIsPreConditionStatement(SampleDefs.java:32) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at io.cucumber.java.Invoker.doInvoke(Invoker.java:66) | |
at io.cucumber.java.Invoker.invoke(Invoker.java:24) | |
at io.cucumber.java.AbstractGlueDefinition.invokeMethod(AbstractGlueDefinition.java:47) | |
at io.cucumber.java.JavaStepDefinition.execute(JavaStepDefinition.java:29) | |
at io.cucumber.core.runner.CoreStepDefinition.execute(CoreStepDefinition.java:66) | |
at io.cucumber.core.runner.PickleStepDefinitionMatch.runStep(PickleStepDefinitionMatch.java:63) | |
at io.cucumber.core.runner.ExecutionMode$1.execute(ExecutionMode.java:10) | |
at io.cucumber.core.runner.TestStep.executeStep(TestStep.java:84) | |
at io.cucumber.core.runner.TestStep.run(TestStep.java:56) | |
at io.cucumber.core.runner.PickleStepTestStep.run(PickleStepTestStep.java:51) | |
at io.cucumber.core.runner.TestCase.run(TestCase.java:84) | |
at io.cucumber.core.runner.Runner.runPickle(Runner.java:75) | |
at io.cucumber.testng.TestNGCucumberRunner.lambda$runScenario$1(TestNGCucumberRunner.java:132) | |
at io.cucumber.core.runtime.CucumberExecutionContext.lambda$runTestCase$5(CucumberExecutionContext.java:137) | |
at io.cucumber.core.runtime.RethrowingThrowableCollector.executeAndThrow(RethrowingThrowableCollector.java:23) | |
at io.cucumber.core.runtime.CucumberExecutionContext.runTestCase(CucumberExecutionContext.java:137) | |
at io.cucumber.testng.TestNGCucumberRunner.runScenario(TestNGCucumberRunner.java:129) | |
at io.cucumber.testng.AbstractTestNGCucumberTests.runScenario(AbstractTestNGCucumberTests.java:35) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) | |
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.base/java.lang.reflect.Method.invoke(Method.java:564) | |
at org.testng.internal.invokers.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:139) | |
at org.testng.internal.invokers.TestInvoker.invokeMethod(TestInvoker.java:664) | |
at org.testng.internal.invokers.TestInvoker.invokeTestMethod(TestInvoker.java:227) | |
at org.testng.internal.invokers.MethodRunner.runInSequence(MethodRunner.java:50) | |
at org.testng.internal.invokers.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:957) | |
at org.testng.internal.invokers.TestInvoker.invokeTestMethods(TestInvoker.java:200) | |
at org.testng.internal.invokers.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:148) | |
at org.testng.internal.invokers.TestMethodWorker.run(TestMethodWorker.java:128) | |
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511) | |
at org.testng.TestRunner.privateRun(TestRunner.java:848) | |
at org.testng.TestRunner.run(TestRunner.java:621) | |
at org.testng.SuiteRunner.runTest(SuiteRunner.java:443) | |
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:437) | |
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:397) | |
at org.testng.SuiteRunner.run(SuiteRunner.java:336) | |
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:95) | |
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1280) | |
at org.testng.TestNG.runSuitesLocally(TestNG.java:1200) | |
at org.testng.TestNG.runSuites(TestNG.java:1114) | |
at org.testng.TestNG.run(TestNG.java:1082) | |
at com.intellij.rt.testng.IDEARemoteTestNG.run(IDEARemoteTestNG.java:66) | |
at com.intellij.rt.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:105) | |
Caused by: org.openqa.selenium.NoSuchElementException: Cannot locate an element using By.chained({AppiumBy.androidUIAutomator: new UiSelector().resourceId("com.rblbank.mobankuat:id/btNegative")}) | |
For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception | |
Build info: version: '4.14.1', revision: '03f8ede370' | |
System info: os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '15.0.2' | |
Driver info: driver.version: RemoteWebDriver | |
at io.appium.java_client.pagefactory.bys.builder.ByChained.findElement(ByChained.java:77) | |
at org.openqa.selenium.remote.ElementLocation$ElementFinder$1.findElement(ElementLocation.java:139) | |
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353) | |
at io.appium.java_client.pagefactory.bys.ContentMappedBy.findElement(ContentMappedBy.java:53) | |
at org.openqa.selenium.remote.ElementLocation$ElementFinder$1.findElement(ElementLocation.java:139) | |
at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:359) | |
at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:353) | |
at io.appium.java_client.pagefactory.AppiumElementLocator.lambda$findElement$1(AppiumElementLocator.java:160) | |
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:217) | |
at io.appium.java_client.pagefactory.AppiumElementLocator$WaitingFunction.apply(AppiumElementLocator.java:210) | |
at org.openqa.selenium.support.ui.FluentWait.until(FluentWait.java:205) | |
... 57 more | |
[HTTP] --> GET /wd/hub/status | |
[HTTP] {} | |
[AppiumDriver@626d] Plugins which can handle cmd 'getStatus': element-wait,appium-dashboard | |
[AppiumDriver@626d] Plugin appium-dashboard is now handling cmd 'getStatus' | |
[AppiumDriver@626d] Plugin element-wait is now handling cmd 'getStatus' | |
[AppiumDriver@626d] Executing default handling behavior for command 'getStatus' | |
[HTTP] <-- GET /wd/hub/status 200 2 ms - 110 | |
[HTTP] | |
Oct 19, 2023 11:00:46 AM net.masterthought.cucumber.ReportParser parseJsonFiles | |
INFO: File 'D:\Automation-Framework\Generic\target\cucumber-reports\Emulator_5554\Emulator_5554.json' contains 1 feature(s) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment