Last active
October 31, 2017 13:27
-
-
Save mfaisalkhatri/5334aa2d436f8cff23d514a0f2a2e716 to your computer and use it in GitHub Desktop.
"log_level: ERROR" does not capture Error stack trace in logs
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
[18:46:59.200] [TRACE] - Initializing Appium Service started... (AppiumServer:218) | |
[18:46:59.246] [TRACE] - Initializing Appium Service done... (AppiumServer:221) | |
[18:46:59.246] [TRACE] - Building Appium Capabilities started... (AppiumServer:194) | |
[18:46:59.246] [TRACE] - Setting capability [key: noReset, value: false]... (CapabilityUtils:64) | |
[18:46:59.246] [TRACE] - Setting capability [key: fullReset, value: false]... (CapabilityUtils:64) | |
[18:46:59.246] [TRACE] - Setting capability [key: newCommandTimeout, value: 120]... (CapabilityUtils:64) | |
[18:46:59.246] [TRACE] - Building Appium Capabilities completed... (AppiumServer:200) | |
[18:46:59.246] [TRACE] - Building Appium Service started... (AppiumServer:204) | |
[18:46:59.278] [TRACE] - Building Appium Service done... (AppiumServer:214) | |
[18:46:59.278] [TRACE] - Starting Appium Service... (AppiumServer:147) | |
[18:48:01.682] [TRACE] - Appium Service Started... (AppiumServer:159) | |
[18:48:01.729] [TRACE] - Building Device capabilities... (Device:165) | |
[18:48:01.760] [TRACE] - Setting capability [key: deviceName, value: NOTE2]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: platformName, value: Android]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: platformVersion, value: 4.4.2]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: noReset, value: false]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: fullReset, value: false]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: newCommandTimeout, value: 120000]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: clearSystemFiles, value: true]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: automationName, value: Appium]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: appActivity, value: com.facebook.katana.LoginActivity]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Setting capability [key: appPackage, value: com.facebook.katana]... (CapabilityUtils:64) | |
[18:48:01.760] [TRACE] - Building Device capabilities completed... (Device:194) | |
[18:48:01.760] [TRACE] - Starting [Android] device driver... (Device:334) | |
[18:48:01.760] [TRACE] - Fetching Appium Service URL... (AppiumServer:106) | |
[18:48:01.760] [TRACE] - Initializing driver... (Device:218) | |
[18:48:42.166] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:48:42.166] [INFO ] - Preparing to perform actions on Android device element [UserName]... (AndroidActivity:63) | |
[18:48:42.207] [INFO ] - Loading elements on [Android] activity... (DeviceActivity:196) | |
[18:48:42.254] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:48:42.254] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:48:42.270] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:48:42.285] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:48:42.301] [TRACE] - Getting element with name [UserName]... (DeviceActivity:112) | |
[18:48:42.301] [TRACE] - Finding child element of [Login] parent using [By.id: com.facebook.katana:id/login_username] at index [0]... (DeviceActivity:147) | |
[18:48:42.301] [TRACE] - Getting element with name [Login]... (DeviceActivity:112) | |
[18:48:42.301] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:48:42.301] [TRACE] - Finding root element using [By.id: com.facebook.katana:id/login_root] at index [0]... (DeviceActivity:125) | |
[18:49:12.217] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:12.373] [INFO ] - Tapping on element [UserName]... (DeviceElementActions:247) | |
[18:49:16.897] [INFO ] - Clearing element [UserName]... (DeviceElementActions:87) | |
[18:49:24.959] [INFO ] - Entering text [faisal.khatri@ymail.com] in element [UserName]... (DeviceElementActions:130) | |
[18:49:32.347] [INFO ] - Preparing to perform actions on Android device... (AndroidActivity:52) | |
[18:49:32.356] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:32.387] [INFO ] - Capturing screenshot and saving at [F:\Eclipse_Oxygen\WorkSpace\fbTest/screenshots/SCR-20171031-064932.jpeg]... (DeviceActions:175) | |
[18:49:35.496] [INFO ] - Preparing to perform actions on Android device element [Password]... (AndroidActivity:63) | |
[18:49:35.505] [TRACE] - Getting element with name [Password]... (DeviceActivity:112) | |
[18:49:35.506] [TRACE] - Finding child element of [Login] parent using [By.id: com.facebook.katana:id/login_password] at index [0]... (DeviceActivity:147) | |
[18:49:35.506] [TRACE] - Getting element with name [Login]... (DeviceActivity:112) | |
[18:49:35.506] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:35.506] [TRACE] - Finding root element using [By.id: com.facebook.katana:id/login_root] at index [0]... (DeviceActivity:125) | |
[18:49:36.303] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:36.928] [INFO ] - Tapping on element [Password]... (DeviceElementActions:247) | |
[18:49:41.431] [INFO ] - Clearing element [Password]... (DeviceElementActions:87) | |
[18:49:44.987] [INFO ] - Entering text [mh047268] in element [Password]... (DeviceElementActions:130) | |
[18:49:50.557] [INFO ] - Preparing to perform actions on Android device... (AndroidActivity:52) | |
[18:49:50.562] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:50.563] [INFO ] - Capturing screenshot and saving at [F:\Eclipse_Oxygen\WorkSpace\fbTest/screenshots/SCR-20171031-064950.jpeg]... (DeviceActions:175) | |
[18:49:52.859] [INFO ] - Preparing to perform actions on Android device element [LgnBtn]... (AndroidActivity:63) | |
[18:49:52.876] [TRACE] - Getting element with name [LgnBtn]... (DeviceActivity:112) | |
[18:49:52.876] [TRACE] - Finding child element of [Login] parent using [By.id: com.facebook.katana:id/login_login] at index [0]... (DeviceActivity:147) | |
[18:49:52.877] [TRACE] - Getting element with name [Login]... (DeviceActivity:112) | |
[18:49:52.877] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:52.877] [TRACE] - Finding root element using [By.id: com.facebook.katana:id/login_root] at index [0]... (DeviceActivity:125) | |
[18:49:54.206] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:54.299] [INFO ] - Tapping on element [LgnBtn]... (DeviceElementActions:247) | |
[18:49:58.646] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:58.646] [INFO ] - Preparing to perform actions on Android device element [Continue]... (AndroidActivity:63) | |
[18:49:58.646] [INFO ] - Loading elements on [Android] activity... (DeviceActivity:196) | |
[18:49:58.646] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:49:58.673] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:49:58.673] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:49:58.689] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:49:58.689] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:49:58.705] [TRACE] - Checking if Appium Service is running... (AppiumServer:128) | |
[18:49:58.705] [TRACE] - Getting element with name [Continue]... (DeviceActivity:112) | |
[18:49:58.705] [TRACE] - Finding child element of [MainPage] parent using [By.id: com.facebook.katana:id/dbl_continue] at index [0]... (DeviceActivity:147) | |
[18:49:58.705] [TRACE] - Getting element with name [MainPage]... (DeviceActivity:112) | |
[18:49:58.705] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:49:58.720] [TRACE] - Finding root element using [By.id: android:id/windowContentFrame] at index [0]... (DeviceActivity:125) | |
[18:50:01.011] [TRACE] - Getting [Android] device driver... (Device:118) | |
[18:50:01.089] [INFO ] - Tapping on element [Continue]... (DeviceElementActions:247) | |
[18:50:08.339] [INFO ] - Preparing to perform actions on Android device element [OkBtn]... (AndroidActivity:63) | |
[18:50:08.341] [TRACE] - Getting element with name [OkBtn]... (DeviceActivity:112) | |
[18:50:08.498] [TRACE] - Closign app on [Android] device... (Device:204) | |
[18:50:09.842] [TRACE] - Quitting [Android] device driver... (Device:242) | |
[18:50:13.358] [TRACE] - Trying to stop Appium Service... (AppiumServer:173) | |
[18:50:14.842] [TRACE] - Appium Service Stopped... (AppiumServer:182) |
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
[RemoteTestNG] detected TestNG version 6.11.0 | |
Oct 31, 2017 6:48:41 PM org.openqa.selenium.remote.ProtocolHandshake createSession | |
INFO: Detected dialect: OSS | |
[18:48:42.166] [INFO ] - Preparing to perform actions on Android device element [UserName]... (AndroidActivity:63) | |
[18:48:42.207] [INFO ] - Loading elements on [Android] activity... (DeviceActivity:196) | |
[18:49:12.373] [INFO ] - Tapping on element [UserName]... (DeviceElementActions:247) | |
[18:49:16.897] [INFO ] - Clearing element [UserName]... (DeviceElementActions:87) | |
[18:49:24.959] [INFO ] - Entering text [faisal.khatri@ymail.com] in element [UserName]... (DeviceElementActions:130) | |
[18:49:32.347] [INFO ] - Preparing to perform actions on Android device... (AndroidActivity:52) | |
[18:49:32.387] [INFO ] - Capturing screenshot and saving at [F:\Eclipse_Oxygen\WorkSpace\fbTest/screenshots/SCR-20171031-064932.jpeg]... (DeviceActions:175) | |
[18:49:35.496] [INFO ] - Preparing to perform actions on Android device element [Password]... (AndroidActivity:63) | |
[18:49:36.928] [INFO ] - Tapping on element [Password]... (DeviceElementActions:247) | |
[18:49:41.431] [INFO ] - Clearing element [Password]... (DeviceElementActions:87) | |
[18:49:44.987] [INFO ] - Entering text [mh047268] in element [Password]... (DeviceElementActions:130) | |
[18:49:50.557] [INFO ] - Preparing to perform actions on Android device... (AndroidActivity:52) | |
[18:49:50.563] [INFO ] - Capturing screenshot and saving at [F:\Eclipse_Oxygen\WorkSpace\fbTest/screenshots/SCR-20171031-064950.jpeg]... (DeviceActions:175) | |
[18:49:52.859] [INFO ] - Preparing to perform actions on Android device element [LgnBtn]... (AndroidActivity:63) | |
[18:49:54.299] [INFO ] - Tapping on element [LgnBtn]... (DeviceElementActions:247) | |
[18:49:58.646] [INFO ] - Preparing to perform actions on Android device element [Continue]... (AndroidActivity:63) | |
[18:49:58.646] [INFO ] - Loading elements on [Android] activity... (DeviceActivity:196) | |
[18:50:01.089] [INFO ] - Tapping on element [Continue]... (DeviceElementActions:247) | |
[18:50:08.339] [INFO ] - Preparing to perform actions on Android device element [OkBtn]... (AndroidActivity:63) | |
FAILED: test1 | |
com.github.wasiqb.coteafs.appium.error.DeviceElementNameNotFoundError: DeviceElement with name [OkBtn] not found. | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) | |
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) | |
at java.lang.reflect.Constructor.newInstance(Unknown Source) | |
at com.github.wasiqb.coteafs.error.util.ErrorUtil.fail(ErrorUtil.java:102) | |
at com.github.wasiqb.coteafs.error.util.ErrorUtil.fail(ErrorUtil.java:40) | |
at com.github.wasiqb.coteafs.appium.device.DeviceActivity.getDeviceElement(DeviceActivity.java:187) | |
at com.github.wasiqb.coteafs.appium.device.DeviceActivity.getElement(DeviceActivity.java:113) | |
at com.github.wasiqb.coteafs.appium.android.AndroidActivity.onElement(AndroidActivity.java:64) | |
at com.facebook.test.FbLoginTestWithCoteafsAppium.test1(FbLoginTestWithCoteafsAppium.java:70) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | |
at java.lang.reflect.Method.invoke(Unknown Source) | |
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:108) | |
at org.testng.internal.Invoker.invokeMethod(Invoker.java:661) | |
at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:869) | |
at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1193) | |
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:126) | |
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109) | |
at org.testng.TestRunner.privateRun(TestRunner.java:744) | |
at org.testng.TestRunner.run(TestRunner.java:602) | |
at org.testng.SuiteRunner.runTest(SuiteRunner.java:380) | |
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:375) | |
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:340) | |
at org.testng.SuiteRunner.run(SuiteRunner.java:289) | |
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) | |
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) | |
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1301) | |
at org.testng.TestNG.runSuitesLocally(TestNG.java:1226) | |
at org.testng.TestNG.runSuites(TestNG.java:1144) | |
at org.testng.TestNG.run(TestNG.java:1115) | |
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:114) | |
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251) | |
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77) | |
=============================================== | |
Default test | |
Tests run: 1, Failures: 1, Skips: 0 | |
=============================================== | |
=============================================== | |
Default suite | |
Total tests run: 1, Failures: 1, Skips: 0 | |
=============================================== | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment