Created
February 27, 2018 16:30
-
-
Save arjunbm13/4201d95f4ed743d69c15dd8e01df0af2 to your computer and use it in GitHub Desktop.
Appium Log
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.10.0 | |
[TestNG] Running: | |
/Users/arjun/viocautomation/Mobile/TestNGSuiteFiles/SmokeTest.xml | |
[51] [17/11/10 20:15:41] INFO BaseStep: ------------------initilizing---------------- | |
[522] [17/11/10 20:15:41] INFO configuration.ConfigurationFactory: Trying to load configuration application.properties | |
[43] [17/11/10 20:15:41] INFO SmokeTest: Property File Initialized | |
[70] [17/11/10 20:15:41] INFO SmokeTest: Extended Cucumber Report Setup Done | |
[26] [17/11/10 20:15:41] INFO AppiumServer: Available Port is : 59250 | |
[39] [17/11/10 20:15:45] INFO AppiumServer: Appium Server is starting. | |
[Appium] Welcome to Appium v1.7.1 (REV 93051b27d6886dae6df01544c86df579f21f6410) | |
[Appium] Non-default server args: | |
[Appium] address: 127.0.0.1 | |
[Appium] port: 59250 | |
[Appium] log: /Users/arjun/viocautomation/Mobile/Logs/log.txt | |
[Appium] Appium REST http interface listener started on 127.0.0.1:59250 | |
[HTTP] --> GET /wd/hub/status {} | |
[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: [] | |
[debug] [MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.7.1","revision":"93051b27d6886dae6df01544c86df579f21f6410"}} | |
[HTTP] <-- GET /wd/hub/status 200 39 ms - 121 | |
[41] [17/11/10 20:16:26] INFO AppiumServer: Appium Server Started | |
[78] [17/11/10 20:16:26] INFO BaseStep: Launching Application | |
http://127.0.0.1:59250/wd/hub | |
[114] [17/11/10 20:16:26] INFO BaseStep: APPIUM will start with fullReset Mode | |
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"appPackage":"com.mobile.vioc.dev","app":"/Users/arjun/viocautomation/Mobile/Apps/Android/Valvoline_Dev_40001.apk","noReset":false,"unlockKey":"1234","deviceName":"BLR_Mob_92","fullReset":true,"appActivity":"com.mobile.vioc.ValvolineSplashScreenActivity","newCommandTimeout":0,"platformVersion":"7.0","unlockType":"pin","unicodeKeyboard":true,"platformName":"Android","udid":"ce0716070c04943f02","resetKeyboard":true}} | |
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"appPackage":"com.mobile.vioc.dev","app":"/Users/arjun/viocautomation/Mobile/Apps/Android/Valvoline_Dev_40001.apk","noReset":false,"unlockKey":"1234","deviceName":"BLR_Mob_92","fullReset":true,"appActivity":"com.mobile.vioc.ValvolineSplashScreenActivity","newCommandTimeout":0,"platformVersion":"7.0","unlockType":"pin","unicodeKeyboard":true,"platformName":"Android","udid":"ce0716070c04943f02","resetKeyboard":true},null,null] | |
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1510325187938 (20:16:27 GMT+0530 (IST)) | |
[Appium] Creating new AndroidDriver (v1.28.1) session | |
[Appium] Capabilities: | |
[Appium] appPackage: 'com.mobile.vioc.dev' | |
[Appium] app: '/Users/arjun/viocautomation/Mobile/Apps/Android/Valvoline_Dev_40001.apk' | |
[Appium] noReset: false | |
[Appium] unlockKey: '1234' | |
[Appium] deviceName: 'BLR_Mob_92' | |
[Appium] fullReset: true | |
[Appium] appActivity: 'com.mobile.vioc.ValvolineSplashScreenActivity' | |
[Appium] newCommandTimeout: 0 | |
[Appium] platformVersion: '7.0' | |
[Appium] unlockType: 'pin' | |
[Appium] unicodeKeyboard: true | |
[Appium] platformName: 'Android' | |
[Appium] udid: 'ce0716070c04943f02' | |
[Appium] resetKeyboard: true | |
[BaseDriver] The following capabilities were provided, but are not recognized by appium: unlockKey, unlockType. | |
[BaseDriver] Session created with session id: aa961d04-456a-409f-b1b4-8b479d321bea | |
[debug] [AndroidDriver] Getting Java version | |
[AndroidDriver] Java version is: 1.8.0_144 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb | |
[AndroidDriver] Retrieving device list | |
[debug] [ADB] Trying to find a connected android device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[AndroidDriver] Using device: ce0716070c04943f02 | |
[ADB] Checking whether adb is present | |
[ADB] Using adb from /Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb | |
[debug] [ADB] Setting device id to ce0716070c04943f02 | |
[BaseDriver] Using local app '/Users/arjun/viocautomation/Mobile/Apps/Android/Valvoline_Dev_40001.apk' | |
[debug] [AndroidDriver] Checking whether app is actually present | |
[AndroidDriver] Starting Android session | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","wait-for-device"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","echo","ping"] | |
[debug] [Logcat] Starting logcat capture | |
[debug] [AndroidDriver] Enabling Unicode keyboard support | |
[debug] [AndroidDriver] Pushing unicode ime to device... | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","install","/usr/local/lib/node_modules/appium/node_modules/appium-android-ime/bin/UnicodeIME-debug.apk"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","settings","get","secure","default_input_method"] | |
[debug] [AndroidDriver] Unsetting previous IME com.sec.android.inputmethod/.SamsungKeypad | |
[debug] [AndroidDriver] Setting IME to 'io.appium.android.ime/.UnicodeIME' | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ime","enable","io.appium.android.ime/.UnicodeIME"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ime","set","io.appium.android.ime/.UnicodeIME"] | |
[debug] [AndroidDriver] Pushing settings apk to device... | |
[debug] [ADB] Uninstalling and re-installing 'io.appium.settings' | |
[debug] [ADB] Uninstalling io.appium.settings | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","list","packages","io.appium.settings"] | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","am","force-stop","io.appium.settings"] | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","uninstall","io.appium.settings"] | |
[debug] [ADB] ADB command output: Success | |
[ADB] io.appium.settings was successfully uninstalled | |
[debug] [ADB] Getting install status for io.appium.settings | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","list","packages","io.appium.settings"] | |
[debug] [ADB] App is not installed | |
[debug] [ADB] App '/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk' not installed. Installing | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","install","/usr/local/lib/node_modules/appium/node_modules/io.appium.settings/app/build/outputs/apk/settings_apk-debug.apk"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","getprop","ro.build.version.sdk"] | |
[debug] [ADB] Current device property 'ro.build.version.sdk': 24 | |
[debug] [ADB] Device API level: 24 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","dumpsys","package","io.appium.settings"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","dump","io.appium.settings"] | |
[debug] [ADB] Got the following command chunks to execute: pm,grant,io.appium.settings,android.permission.READ_PHONE_STATE,;,pm,grant,io.appium.settings,android.permission.WRITE_SETTINGS,;,pm,grant,io.appium.settings,android.permission.ACCESS_FINE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_COARSE_LOCATION,;,pm,grant,io.appium.settings,android.permission.ACCESS_MOCK_LOCATION,;,pm,grant,io.appium.settings,android.permission.SET_ANIMATION_SCALE,; | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","grant","io.appium.settings","android.permission.READ_PHONE_STATE",";","pm","grant","io.appium.settings","android.permission.WRITE_SETTINGS",";","pm","grant","io.appium.settings","android.permission.ACCESS_FINE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_COARSE_LOCATION",";","pm","grant","io.appium.settings","android.permission.ACCESS_MOCK_LOCATION",";","pm","grant","io.appium.settings","android.permission.SET_ANIMATION_SCALE",";"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ps"] | |
[debug] [ADB] Device API level: 24 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","am","start","-W","-n","io.appium.settings/.Settings","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[debug] [ADB] Device API level: 24 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","appops","set","io.appium.settings","android:mock_location","allow"] | |
[ADB] Getting device platform version | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","getprop","ro.build.version.release"] | |
[debug] [ADB] Current device property 'ro.build.version.release': 7.0 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","wm","size"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","getprop","ro.product.model"] | |
[debug] [ADB] Current device property 'ro.product.model': SM-G930F | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","getprop","ro.product.manufacturer"] | |
[debug] [ADB] Current device property 'ro.product.manufacturer': samsung | |
[debug] [ADB] Uninstalling com.mobile.vioc.dev | |
[debug] [ADB] Getting install status for com.mobile.vioc.dev | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","list","packages","com.mobile.vioc.dev"] | |
[debug] [ADB] App is not installed | |
[ADB] com.mobile.vioc.dev was not uninstalled, because it was not present on the device | |
[AndroidDriver] Remote apk path is /data/local/tmp/fa88983c5fa67d706c7c4825c73a1540.apk | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ls","/data/local/tmp/fa88983c5fa67d706c7c4825c73a1540.apk"] | |
[debug] [AndroidDriver] Checking if app is installed | |
[debug] [ADB] Getting install status for com.mobile.vioc.dev | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","list","packages","com.mobile.vioc.dev"] | |
[debug] [ADB] App is not installed | |
[AndroidDriver] Apk is not yet installed | |
[AndroidDriver] installing apk from remote | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","mkdir","-p","/data/local/tmp"] | |
[AndroidDriver] Clearing out any existing remote apks with the same hash | |
[debug] [AndroidDriver] Removing any old apks | |
[debug] [AndroidDriver] Except ["fa88983c5fa67d706c7c4825c73a1540"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ls","/data/local/tmp/*.apk"] | |
[debug] [ADB] Uninstalling com.mobile.vioc.dev | |
[debug] [ADB] Getting install status for com.mobile.vioc.dev | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","list","packages","com.mobile.vioc.dev"] | |
[debug] [ADB] App is not installed | |
[ADB] com.mobile.vioc.dev was not uninstalled, because it was not present on the device | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","install","-r","/data/local/tmp/fa88983c5fa67d706c7c4825c73a1540.apk"] | |
[debug] [AndroidDriver] Extracting strings from apk /Users/arjun/viocautomation/Mobile/Apps/Android/Valvoline_Dev_40001.apk null /var/folders/r7/jrkm9n_j48sgn0m9qjz999_00000gp/T/com.mobile.vioc.dev | |
[debug] [ADB] Extracting strings for language: default | |
[debug] [ADB] Device API level: 24 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","getprop","persist.sys.locale"] | |
[debug] [ADB] Current device property 'persist.sys.locale': en-GB | |
[debug] [ADB] No strings.xml for language 'en', getting default strings.xml | |
[debug] [ADB] Reading strings from converted strings.json | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","push","/var/folders/r7/jrkm9n_j48sgn0m9qjz999_00000gp/T/com.mobile.vioc.dev/strings.json","/data/local/tmp"] | |
[debug] [AndroidBootstrap] Watching for bootstrap disconnect | |
[debug] [ADB] Forwarding system: 4724 to device: 4724 | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","forward","tcp:4724","tcp:4724"] | |
[debug] [UiAutomator] Starting UiAutomator | |
[debug] [UiAutomator] Moving to state 'starting' | |
[debug] [UiAutomator] Parsing uiautomator jar | |
[debug] [UiAutomator] Found jar name: 'AppiumBootstrap.jar' | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","push","/usr/local/lib/node_modules/appium/node_modules/appium-android-bootstrap/bootstrap/bin/AppiumBootstrap.jar","/data/local/tmp/"] | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Starting UIAutomator | |
[debug] [ADB] Creating ADB subprocess with args: ["-P",5037,"-s","ce0716070c04943f02","shell","uiautomator","runtest","AppiumBootstrap.jar","-c","io.appium.android.bootstrap.Bootstrap","-e","pkg","com.mobile.vioc.dev","-e","disableAndroidWatchers",false,"-e","acceptSslCerts",false] | |
[debug] [UiAutomator] Moving to state 'online' | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] json loading complete. | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Registered crash watchers. | |
[AndroidBootstrap] Android bootstrap socket is now connected | |
[debug] [ADB] Getting connected devices... | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Client connected | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","dumpsys","window"] | |
[AndroidDriver] Screen already unlocked, doing nothing | |
[debug] [ADB] Device API level: 24 | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","am","start","-W","-n","com.mobile.vioc.dev/com.mobile.vioc.ValvolineSplashScreenActivity","-S","-a","android.intent.action.MAIN","-c","android.intent.category.LAUNCHER","-f","0x10200000"] | |
[Appium] New AndroidDriver session created successfully, session aa961d04-456a-409f-b1b4-8b479d321bea added to master session list | |
[debug] [BaseDriver] Event 'newSessionStarted' logged at 1510325220569 (20:17:00 GMT+0530 (IST)) | |
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"platform":"LINUX","webStorageEnabled":false,"takesScreenshot":true,"javascriptEnabled":true,"databaseEnabled":false,"networkConnectionEnabled":true,"locationContextEnabled":false,"warnings":{},"desired":{"appPackage":"com.mobile.vioc.dev","app":"/Users/arjun/viocautomation/Mobile/Apps/Android/Valvoline_Dev_40001.apk","noReset":false,"unlockKey":"1234","deviceName":"BLR_Mob_92","fullReset":true,"appActivity":"com.mobile.vioc.ValvolineSplashScreenActivity","newCommandTimeout":0,"platformVersion":"7.0","unlockType":"pin","unicodeKeyboard":true,"platformName":"Android","udid":"ce0716070c04943f02","resetKeyboard":true},"appPackage":"com.mobile.vioc.dev","app":"/Users/arjun/viocautomation/Mobile/Apps/Android/Valvoline_Dev_40001.apk","noReset":false,"unlockKey":"1234","deviceName":"ce0716070c04943f02","fullReset":true,"appActivity":"com.mobile.vioc.ValvolineSplashScreenActivity","newCommandTimeout":0,"platformVersion":"7.0","unlockType":"pin","unicodeKeyboard":true,"platformName":"Android","udid":"ce0716070c049... | |
[HTTP] <-- POST /wd/hub/session 200 32637 ms - 1242 | |
[125] [17/11/10 20:17:00] INFO BaseStep: Application Launched in Android Device | |
#Author : Arjun B M | |
@HamburgerTest | |
Feature: Hambuger menu | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/welcome_btn_skip"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/welcome_btn_skip","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/welcome_btn_skip","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/welcome_btn_skip","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/welcome_btn_skip' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/welcome_btn_skip] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"1"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"1"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 195 ms - 87 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/1/click {"id":"1"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["1","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"1"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"1"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/1/click 200 501 ms - 76 | |
[25] [17/11/10 20:17:03] INFO LoginTestSteps: Skip Button Clicked | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/log_in"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/log_in","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/log_in","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/log_in","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/log_in' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/log_in] | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"2"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 913 ms - 87 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"2"}} | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/sign_up"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/sign_up","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/sign_up","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/sign_up","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/sign_up' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/sign_up] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"3"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"3"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 50 ms - 87 | |
[20] [17/11/10 20:17:06] INFO LoginTestSteps: User on Login or SignUp Page | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/log_in"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/log_in","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/log_in","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/log_in","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/log_in' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/log_in] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"4"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"4"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 37 ms - 87 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/4/click {"id":"4"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["4","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"4"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"4"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/4/click 200 204 ms - 76 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[30] [17/11/10 20:17:06] INFO LoginTestSteps: Login in Button Clicked | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/email"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/email","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/email","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/email","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/email' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/email] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying. | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/email' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/email] | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 500 709 ms - 164 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"} | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/email"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/email","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/email","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/email","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/email' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/email] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying. | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/email' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/email] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 500 103 ms - 164 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/email"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/email","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/email","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/email","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/email' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/email] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying. | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/email' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/email] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"5"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"5"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 265 ms - 87 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/5/clear {"id":"5"} | |
[debug] [MJSONWP] Calling AppiumDriver.clear() with args: ["5","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getText","params":{"elementId":"5"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"5"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getText | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":""} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"5"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"5"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [AndroidDriver] Sending up to 100 clear characters to device | |
[debug] [AndroidDriver] Sending 50 clear characters to device | |
[debug] [ADB] Clearing up to 50 characters | |
[debug] [ADB] Getting connected devices... | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","input","keyevent","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112"] | |
[debug] [AndroidDriver] Sending 50 clear characters to device | |
[debug] [ADB] Clearing up to 50 characters | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","input","keyevent","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112"] | |
[debug] [MJSONWP] Responding to client with driver.clear() result: null | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/5/clear 200 10930 ms - 76 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/5/value {"id":"5","value":["test@gmail.com"]} | |
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["test@gmail.com"],"5","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"5","text":"test@gmail.com","replace":false,"unicodeKeyboard":true}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"5","text":"test@gmail.com","replace":false,"unicodeKeyboard":true}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 5 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText(). | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: test@gmail.com | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.setValue() result: true | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/5/value 200 6603 ms - 76 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[56] [17/11/10 20:17:28] INFO LoginTestSteps: User ID Entered | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/password"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/password","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/password","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/password","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/password' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/password] | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"6"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 786 ms - 87 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"6"}} | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/6/clear {"id":"6"} | |
[debug] [MJSONWP] Calling AppiumDriver.clear() with args: ["6","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:getText","params":{"elementId":"6"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:getText","params":{"elementId":"6"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: getText | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":""} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"6"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"6"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [AndroidDriver] Sending up to 100 clear characters to device | |
[debug] [AndroidDriver] Sending 50 clear characters to device | |
[debug] [ADB] Clearing up to 50 characters | |
[debug] [ADB] Getting connected devices... | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","input","keyevent","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112"] | |
[debug] [AndroidDriver] Sending 50 clear characters to device | |
[debug] [ADB] Clearing up to 50 characters | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","input","keyevent","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112","67","112"] | |
[debug] [MJSONWP] Responding to client with driver.clear() result: null | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/6/clear 200 7761 ms - 76 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/6/value {"id":"6","value":["Photon@123$"]} | |
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["Photon@123$"],"6","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:setText","params":{"elementId":"6","text":"Photon@123$","replace":false,"unicodeKeyboard":true}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:setText","params":{"elementId":"6","text":"Photon@123$","replace":false,"unicodeKeyboard":true}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: setText | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using element passed in: 6 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Attempting to clear using UiObject.clearText(). | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Sending plain text to element: Photon@123$ | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.setValue() result: true | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/6/value 200 6850 ms - 76 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[61] [17/11/10 20:17:45] INFO LoginTestSteps: User Password Entered | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/txt_log_in"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/txt_log_in","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/txt_log_in","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/txt_log_in","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/txt_log_in' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/txt_log_in] | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"7"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 618 ms - 87 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"7"}} | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/7/click {"id":"7"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["7","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"7"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"7"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/7/click 200 362 ms - 76 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[66] [17/11/10 20:17:46] INFO LoginTestSteps: Sign in Button Clicked | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"android:id/button1"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","android:id/button1","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"android:id/button1","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"android:id/button1","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'android:id/button1' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/button1] | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"8"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 191 ms - 87 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"8"}} | |
[72] [17/11/10 20:17:50] INFO LoginTestSteps: Permission for location access | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"android:id/button1"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","android:id/button1","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"android:id/button1","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"android:id/button1","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'android:id/button1' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=android:id/button1] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"9"}} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"9"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 45 ms - 87 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/9/click {"id":"9"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["9","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"9"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"9"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/9/click 200 646 ms - 76 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[74] [17/11/10 20:17:51] INFO LoginTestSteps: Location Permission Allowed | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.android.packageinstaller:id/permission_allow_button"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.android.packageinstaller:id/permission_allow_button","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.android.packageinstaller:id/permission_allow_button","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.android.packageinstaller:id/permission_allow_button' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.android.packageinstaller:id/permission_allow_button] | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"10"} | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 200 495 ms - 88 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":{"ELEMENT":"10"}} | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/10/click {"id":"10"} | |
[debug] [MJSONWP] Calling AppiumDriver.click() with args: ["10","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"element:click","params":{"elementId":"10"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"element:click","params":{"elementId":"10"}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: click | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [MJSONWP] Responding to client with driver.click() result: true | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element/10/click 200 3126 ms - 76 | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":true} | |
[76] [17/11/10 20:17:55] INFO LoginTestSteps: Location access Permission Allowed | |
[79] [17/11/10 20:17:57] INFO LoginTestSteps: verifying - User is on home page | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/ImageView_logo"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/ImageView_logo","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/ImageView_logo","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/ImageView_logo","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/ImageView_logo' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/ImageView_logo] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying. | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/ImageView_logo' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/ImageView_logo] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 500 2339 ms - 164 | |
[HTTP] --> POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element {"using":"id","value":"com.mobile.vioc.dev:id/ImageView_logo"} | |
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["id","com.mobile.vioc.dev:id/ImageView_logo","aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, class name, accessibility id, -android uiautomator | |
[debug] [BaseDriver] Waiting up to 0 ms for condition | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/ImageView_logo","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"action","action":"find","params":{"strategy":"id","selector":"com.mobile.vioc.dev:id/ImageView_logo","context":"","multiple":false}} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type ACTION | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command action: find | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/ImageView_logo' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/ImageView_logo] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Failed to locate element. Clearing Accessibility cache and retrying. | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Finding 'com.mobile.vioc.dev:id/ImageView_logo' using 'ID' with the contextId: '' multiple: false | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Using: UiSelector[INSTANCE=0, RESOURCE_ID=com.mobile.vioc.dev:id/ImageView_logo] | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":7,"value":"No element found"} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[HTTP] <-- POST /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/element 500 2525 ms - 164 | |
[673] [17/11/10 20:18:02] INFO CommonUtilities: Element is not present : com.mobile.vioc.dev:id/ImageView_logo~id | |
[HTTP] --> GET /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/screenshot {} | |
[debug] [MJSONWP] Calling AppiumDriver.getScreenshot() with args: ["aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [ADB] Device API level: 24 | |
[debug] [MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAABaAAAAoACAYAAABH9IXPAACAAElEQVR4AezBb4yl133Y9+/vd855nvvcmdl/XJLWSKLiXUsIuUylaEX5D2VHNWQptkjLSrWkFcSIkZQNCAMu4AD1i76oC+RFgbZB37QO1DcBHCAQ+EoyUQSO3FpSKJWR1q4dLllSINVA8q6kJXeW8+/e+zznnF91tRlxtdzZnT93Zu7cOZ+P/NPf/yfGhCgBpebtDCOTGHB0CY4eggLCrbJlhnGdlbUVVt8Yoeq4/77T9Ocaiv1mJNYxjK1wNAiOvWFkIpkWTx8QNhiZxDr7S1AqlMCdJAYYib2gBJQKEPZapiMzYisEj6PHdDIi64CxF7IJg9hwfXiMNrFn7pu7zlwYslNKjeC4lSCAMEsyIzIdxVEnjDkaBGVzhpFJDJhWK6MFlts+IpHF+TfYDkeD4LhZYoCRAeMwsax0bY8fjObpTNmqSq8BRpvv4XacZhbnX8dr5laOBsGxU9mE9c6z3AbWojJWO7inGTLnI0VxFBgwSo7vrjaYsWsnqpYTdUdwxs1iFlZbx9Vhj7HFuSFzIVIUOzWIjjdHFSudo5gNfZ9YqAb0q1X2huBoEJRbZUZkOjYjKJp7iCobRAQnjrFkifVOeXNUsdI5ismpXeZYNWS+XmZrBGc9BAURNmMkEgPGPBOiBITA7QkgHFWColQIjs2oKD3foH2PTyPeXHqTN95Yousic/NzeK8UR5EgKLcjCI4emRGGsT8MMDZjZDIjjMReUAJCAIRiOwRHj8wIIzNpKkbPD7mnSSSDNs4xSoE2Cymz75QKQbmV4AChKI4OYywzAgTBoQTeThAUEMB4i+Co2a5Mh5GYlBw9bfTELATHtmValIDgMTKZEUbiMBLN+DCCdg6Mt+n7jHdrIANupozoUo82c1tmwqhbQMIaTiOTpGI0IXJDYC0qRXHUCOAlM+cTg+hIxo41LtP4jFfjVk6NuZCAEW+MKopit8wEM4oZMkoOnxx99oqR... | |
[HTTP] <-- GET /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea/screenshot 200 3071 ms - 1390926 | |
[205] [17/11/10 20:18:06] INFO BaseStep: Screen Shot taken | |
Scenario: VIOC_8.01_TC01 Verify user able to view the Hamburger menu expanded # Hamburger.feature:5 | |
Given Tap on SKIP link on any onboarding screen # LoginTestSteps.Tap_on_SKIP_link() | |
Then Verify user on Login or SignUp Page # LoginTestSteps.verify_user_on_Login_Page() | |
Then Tap on Login button # LoginTestSteps.tap_on_Login_button() | |
Then user enter Vioc email id "test@gmail.com" # LoginTestSteps.user_enter_sentara_id(String) | |
And password "Photon@123$" # LoginTestSteps.password(String) | |
Then click on the sign in button # LoginTestSteps.click_on_the_sign_in_button() | |
Then validate user on Dashboard page # LoginTestSteps.validate_user_on_home_page() | |
java.lang.AssertionError: expected [true] but found [false] | |
at org.testng.Assert.fail(Assert.java:94) | |
at org.testng.Assert.failNotEquals(Assert.java:513) | |
at org.testng.Assert.assertEqualsImpl(Assert.java:135) | |
at org.testng.Assert.assertEquals(Assert.java:116) | |
at org.testng.Assert.assertEquals(Assert.java:305) | |
at org.testng.Assert.assertEquals(Assert.java:315) | |
at com.photon.Valvoline.Utilities.CommonUtilities.isElementPresentVerification(CommonUtilities.java:674) | |
at com.photon.Valvoline.StepLibrary.LoginTestStepLibrary.validateUserOnHomePage(LoginTestStepLibrary.java:80) | |
at com.photon.Valvoline.StepDefinition.LoginTestSteps.validate_user_on_home_page(LoginTestSteps.java:51) | |
at ✽.Then validate user on Dashboard page(Hamburger.feature:12) | |
Then Tap on Hamburger menu # HamburgerMenuTestSteps.tap_on_Hamburger_menu() | |
Then Verify all the components of Hamburger menu displayed # HamburgerMenuTestSteps.verify_all_the_components_of_Hamburger_menu_displayed_and_close_the_hamburger_menu() | |
Then Tap on Settings on Hamburger menu and verify all the components # HamburgerMenuTestSteps.tap_on_Settings_on_Hamburger_menu_and_verify_all_the_components() | |
Then Modify the Settings like enable push notification and press back and observe Settings should be saved automatically when user navigate back and come back to hamburger # HamburgerMenuTestSteps.modify_the_Settings_like_enable_push_notification_and_press_back_and_observe_Settings_should_be_saved_automatically_when_user_navigate_back() | |
Then Tap on Hamburger menu # HamburgerMenuTestSteps.tap_on_Hamburger_menu() | |
Then Tap on FAQs link on Hamburger menu and verify User should be able to expand the subcategory items by tapping the chevron and view the content # HamburgerMenuTestSteps.tap_on_FAQs_link_on_Hamburger_menu_and_verify_User_should_be_able_to_expand_the_subcategory_items_by_tapping_the_chevron_and_view_the_content() | |
Then Tap on Hamburger menu # HamburgerMenuTestSteps.tap_on_Hamburger_menu() | |
Then Tap on My Coupons on hamburger menu and Check the details on My Coupons page and tap on Tap for details CTA # HamburgerMenuTestSteps.tap_on_My_Coupons_on_hamburger_menu_and_Check_the_details_on_My_Coupons_page_and_tap_on_Tap_for_details_CTA() | |
Then Verify the components of coupon data displayed and close the coupon details page # DashboardTestSteps.verifyComponents() | |
Then Tap on My coupons page back button # HamburgerMenuTestSteps.tap_on_My_coupons_page_back_button() | |
Then Tap on Hamburger menu # HamburgerMenuTestSteps.tap_on_Hamburger_menu() | |
Then Tap on Call Us menu option and accept # HamburgerMenuTestSteps.tap_on_Call_Us_menu_option_and_accept() | |
Then Tap on call button and click call # HamburgerMenuTestSteps.tap_on_call_button_and_click_call() | |
Failed scenarios: | |
Hamburger.feature:5 # Scenario: VIOC_8.01_TC01 Verify user able to view the Hamburger menu expanded | |
1 Scenarios (1 failed) | |
20 Steps (1 failed, 13 skipped, 6 passed) | |
1m3.768s | |
java.lang.AssertionError: expected [true] but found [false] | |
at org.testng.Assert.fail(Assert.java:94) | |
at org.testng.Assert.failNotEquals(Assert.java:513) | |
at org.testng.Assert.assertEqualsImpl(Assert.java:135) | |
at org.testng.Assert.assertEquals(Assert.java:116) | |
at org.testng.Assert.assertEquals(Assert.java:305) | |
at org.testng.Assert.assertEquals(Assert.java:315) | |
at com.photon.Valvoline.Utilities.CommonUtilities.isElementPresentVerification(CommonUtilities.java:674) | |
at com.photon.Valvoline.StepLibrary.LoginTestStepLibrary.validateUserOnHomePage(LoginTestStepLibrary.java:80) | |
at com.photon.Valvoline.StepDefinition.LoginTestSteps.validate_user_on_home_page(LoginTestSteps.java:51) | |
at ✽.Then validate user on Dashboard page(Hamburger.feature:12) | |
[HTTP] --> DELETE /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea {} | |
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["aa961d04-456a-409f-b1b4-8b479d321bea"] | |
[debug] [BaseDriver] Event 'quitSessionRequested' logged at 1510325287034 (20:18:07 GMT+0530 (IST)) | |
[Appium] Removing session aa961d04-456a-409f-b1b4-8b479d321bea from our master session list | |
[debug] [AndroidDriver] Shutting down Android driver | |
[debug] [AndroidDriver] Resetting IME to com.sec.android.inputmethod/.SamsungKeypad | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ime","set","com.sec.android.inputmethod/.SamsungKeypad"] | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","am","force-stop","com.mobile.vioc.dev"] | |
[debug] [ADB] Pressing the HOME button | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","input","keyevent",3] | |
[debug] [ADB] Uninstalling com.mobile.vioc.dev | |
[debug] [ADB] Getting install status for com.mobile.vioc.dev | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","pm","list","packages","com.mobile.vioc.dev"] | |
[debug] [ADB] App is installed | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","am","force-stop","com.mobile.vioc.dev"] | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","uninstall","com.mobile.vioc.dev"] | |
[debug] [ADB] ADB command output: Success | |
[ADB] com.mobile.vioc.dev was successfully uninstalled | |
[debug] [AndroidBootstrap] Sending command to android: {"cmd":"shutdown"} | |
[debug] [AndroidBootstrap] Received command result from bootstrap | |
[debug] [UiAutomator] Shutting down UiAutomator | |
[debug] [UiAutomator] Moving to state 'stopping' | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got data from client: {"cmd":"shutdown"} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Got command of type SHUTDOWN | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Returning result: {"status":0,"value":"OK, shutting down"} | |
[debug] [AndroidBootstrap] [BOOTSTRAP LOG] [debug] Closed client connection | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: numtests=1 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream=. | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: id=UiAutomatorTestRunner | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: test=testRunServer | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: class=io.appium.android.bootstrap.Bootstrap | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: current=1 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: 0 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS: stream= | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Test results for WatcherResultPrinter=. | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] Time: 72.621 | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] OK (1 test) | |
[debug] [AndroidBootstrap] [UIAUTO STDOUT] INSTRUMENTATION_STATUS_CODE: -1 | |
[debug] [UiAutomator] UiAutomator shut down normally | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[debug] [ADB] Attempting to kill all uiautomator processes | |
[debug] [ADB] Getting all processes with uiautomator | |
[debug] [ADB] Getting connected devices... | |
[debug] [ADB] 1 device(s) connected | |
[debug] [ADB] Running '/Users/arjun/Desktop/Android/android-sdk-macosx/platform-tools/adb' with args: ["-P",5037,"-s","ce0716070c04943f02","shell","ps"] | |
[ADB] No uiautomator process found to kill, continuing... | |
[debug] [UiAutomator] Moving to state 'stopped' | |
[debug] [Logcat] Stopping logcat capture | |
[debug] [AndroidDriver] Not cleaning generated files. Add `clearSystemFiles` capability if wanted. | |
[debug] [BaseDriver] Event 'quitSessionFinished' logged at 1510325291674 (20:18:11 GMT+0530 (IST)) | |
[debug] [MJSONWP] Received response: null | |
[debug] [MJSONWP] But deleting session, so not returning | |
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null | |
[HTTP] <-- DELETE /wd/hub/session/aa961d04-456a-409f-b1b4-8b479d321bea 200 4642 ms - 76 | |
[212] [17/11/10 20:18:11] INFO BaseStep: Application Closed | |
[47] [17/11/10 20:18:11] INFO AppiumServer: Appium Server Stopped | |
[214] [17/11/10 20:18:11] INFO BaseStep: Appium Server Stopped | |
[85] [17/11/10 20:18:11] INFO SmokeTest: Android is Quit | |
=============================================== | |
Smoke Test | |
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