appium / appium-base-driver

Base class for an Appium driver
Other
82 stars 130 forks source link

Allow 'data:' scheme in setUrl validator #52

Closed ChristiaanScheermeijer closed 8 years ago

ChristiaanScheermeijer commented 8 years ago

Protractor uses url data:text/html,<html></html> to defer Angular bootstrap, but this URL isn't valid according to the setUrl method.

Each test fails with error Url or Uri must start with <scheme>://

imurchie commented 8 years ago

Fix published in appium-base-driver@2.0.4. This can be manually installed, or it will be in Appium 1.5.4.

ChristiaanScheermeijer commented 8 years ago

Thanks!

snehasis commented 8 years ago

Hey , How to solve this issue ? How do I need to update appium-base-driver@2.0.4 so that my appium can use it ?

imurchie commented 8 years ago

If you are using Appium from source, you can run:

rm -rf node_modules
npm install

If you are using Appium from npm, you will need to re-install with the --no-shrinkwrap option:

npm install -g appium --no-shrinkwrap

// or, installing locally
npm install appium --no-shrinkwrap
snehasis commented 8 years ago

@imurchie

Hi, I was using npm to install so I run the command you gave, after that the old error is gone but I am getting something else on the same now.

Message: Failed: Method is not implemented Stack: WebDriverError: Method is not implemented at WebDriverError (/Users/snmohapatra/Snehasis/stores-ui-poc/build/opt/browser/www/node_modules/protractor/node_modules/selenium-webdriver/error.js:27:10)

Do you have any idea on this ?

snehasis commented 8 years ago

After googling I found that it can relate with autoWebview: true , and after doing this the same error came back

Message: Failed: An unknown server-side error occurred while processing the command. Original error: Url or Uri must start with :// Stack: WebDriverError: An unknown server-side error occurred while processing the command. Original error: Url or Uri must start with :// at WebDriverError (/Users/snmohapatra/Snehasis/stores-ui-poc/build/opt/browser/www/node_modules/protractor/node_modules/selenium-webdriver/error.js:27:10)

@imurchie Can You please help ?

imurchie commented 8 years ago

I need more information in order to try to say anything. Can you post, in a [gist](https://gist.github.com], the entire Appium server logs?

snehasis commented 8 years ago

Hi,

I think it got resolved by removing a slash (/) from the beforeEach statement. Before : (Not Working)

beforeEach(function () {
         browser.get('/#/');
    });

After: (Working)

 beforeEach(function () {
         browser.get('#/');
    });

But Now the issue is there in the Andoird where it always says TimeOut. Android Setting :

{
        platformName: 'android',
        platformVersion: 'N',
        deviceName: 'Default',
        browserName: "",
        autoWebview: true,
        app: '/Users/snmohapatra/Snehasis/stores-ui-poc/build/opt/android/android-release.apk'
    }

Please find the log file here . https://gist.github.com/snehasis/4d77e8619426b1d55430cca97e6a3452

Thanks

acdurai commented 8 years ago

Hi

Am facing the below issue for iOS mobile app automation. If any one have some suggestions please let me know. org.openqa.selenium.WebDriverException: An unknown server-side error occurred while processing the command. Original error: Url or Uri must start with :// (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 30 milliseconds

imurchie commented 8 years ago

@acdurai What is the uri? Can you provide more of the logs so we can see what is going on?

acdurai commented 8 years ago

Hi @imurchie , please find below the capabilities and error log details.

       DesiredCapabilities capabilities = new DesiredCapabilities();
    capabilities.setCapability(CapabilityType.BROWSER_NAME, "");
    capabilities.setCapability("platformVersion", "9.2");
    capabilities.setCapability("platformName", "IOS");
    capabilities.setCapability("app", "/Users/Desktop/Payload/testing.ipa");
    capabilities.setCapability("deviceName", "iPhone 6S");
    app = new IOSDriver<IOSElement>(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);
imurchie commented 8 years ago

The server log is what I need, not the client output, which differs from client to client.

Wherever you run the appium command, that output is the server logs. Please post them as a gist so as not to make things difficult here.

acdurai commented 8 years ago

@imurchie

Please find the server log

Launching Appium with command: '/Applications/Appium.app/Contents/Resources/node/bin/node' appium/build/lib/main.js --address "127.0.0.1" --session-override --pre-launch --debug-log-spacing --platform-version "9.2" --platform-name "iOS" --app "/Users/chelladurai_a/Desktop/Payload/testing.ipa" --udid "0d22dd361f380079fca3e3d87qwwwd29d28cd55c0" --device-name "iPhone6s" --show-ios-log --log "/Users/chelladurai_a/Eclipse/workspace/Lando/omniture/serverLog/iosappium.log"

[Appium] Welcome to Appium v1.5.3

[Appium] Non-default server args:

[Appium] address: '127.0.0.1'

[Appium] sessionOverride: true [Appium] launch: true [Appium] log: '/Users/chelladurai_a/Eclipse/workspace/Lando/omniture/serverLog/iosappium.log' [Appium] debugLogSpacing: true [Appium] platformName: 'iOS' [Appium] platformVersion: '9.2' [Appium] deviceName: 'iPhone6s'

[Appium] app: '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [Appium] udid: '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0' [Appium] showIOSLog: true [Appium] Deprecated server args: [Appium] --platform-name => --default-capabilities '{"platformName":"iOS"}' [Appium] --platform-version => --default-capabilities '{"platformVersion":"9.2"}' [Appium] --device-name => --default-capabilities '{"deviceName":"iPhone6s"}'

[Appium] --app => --default-capabilities '{"app":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}' [Appium] -U,--udid => --default-capabilities '{"udid":"0d22dd361f380079fca3e3d87qwwwd29d28cd55c0"}' [Appium] --show-ios-log => --default-capabilities '{"showIOSLog":true}' [Appium] Default capabilities, which will be added to each request unless overridden by desired capabilities:

[Appium] platformName: 'iOS' [Appium] platformVersion: '9.2'

[Appium] deviceName: 'iPhone6s' [Appium] app: '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [Appium] udid: '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0' [Appium] showIOSLog: true

[Appium] Appium REST http interface listener started on 127.0.0.1:4723

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

[HTTP] <-- GET /wd/hub/status 200 111 ms - 83

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

[HTTP] <-- GET /wd/hub/status 200 102 ms - 83

[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"browserName":"","platformName":"iOS","deviceName":"iPhone 5","platformVersion":"7.1"}}

[MJSONWP] Calling AppiumDriver.createSession() with args: [{"browserName":"","platfor...

[Appium] Creating new IosDriver session [Appium] Capabilities: [Appium] browserName: '' [Appium] platformName: 'iOS' [Appium] deviceName: 'iPhone 5' [Appium] platformVersion: '7.1' [Appium] app: '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [Appium] udid: '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0' [Appium] showIOSLog: true [BaseDriver] Session created with session id: c5b34745-2b01-4f6d-a13e-043d62190fc8 [debug] [iOS] Not auto-detecting udid. [iOS] iOS version 7.1 support has been deprecated and will be removed in a future version of Appium. [BaseDriver] Using local app '/Users/chelladurai_a/Desktop/Payload/testing.ipa' [debug] [BaseDriver] Copying local zip to tmp dir

[debug] [BaseDriver] Unzipping /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/appium-app.zip

[debug] [BaseDriver] Testing zip archive: /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/appium-app.zip

[BaseDriver] Unzipped local app to '/var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/Payload/testing.app'

[debug] [iOS] Removing any remaining instruments sockets [debug] [iOS] Cleaned up instruments socket /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock [debug] [iOS] No language specified. Using default strings

[debug] [iOS] Strings file not found. Looking in 'en.lproj' directory [debug] [iOS] Parsed app 'Localizable.strings' [debug] [ios-app-utils] Getting bundle ID from app

[iOS] Extracted bundleID: com.wa.app from app: /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/201686-4941-19zhovb/Payload/testing.app [debug] [iOS] Creating instruments [debug] [UIAuto] Preparing bootstrap code [debug] [UIAuto] Dynamic bootstrap dir: /Users/chelladurai_a/Library/Application Support/appium/bootstrap [debug] [UIAuto] Dynamic env: {"nodePath":"/Applications/Appium.app/Contents/Resources/node/bin/node","commandProxyClientPath":"/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js","instrumentsSock":"/var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock","interKeyDelay":null,"justLoopInfinitely":false,"autoAcceptAlerts":false,"autoDismissAlerts":false,"sendKeyStrategy":"grouped"}

[debug] [UIAuto] Dynamic bootstrap code: // This file is automatically generated. Do not manually modify! ... [debug] [UIAuto] Dynamic bootstrap path: /Users/chelladurai_a/Library/Application Support/appium/bootstrap/bootstrap-445d972a3471fee9.js

[debug] [UIAuto] Reusing dynamic bootstrap: /Users/chelladurai_a/Library/Application Support/appium/bootstrap/bootstrap-445d972a3471fee9.js

[debug] [iOS] Running ios real device reset flow

[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog [debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'

[debug] [iOS] Creating iDevice object with udid 0d22dd361f380079fca3e3d87qwwwd29d28cd55c0

[debug] [iOS] App is installed.

[debug] [iOS] fullReset not requested. No need to install. [debug] [iOS] Starting UIAutoClient, and launching Instruments.

[debug] [UIAuto] Instruments socket server started at /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock

[debug] [Instruments] Instruments is at: /Applications/Xcode.app/Contents/Developer/usr/bin/instruments

[debug] [Instruments] Attempting to launch instruments, this is try #1 [Instruments] Launching instruments

[debug] [Instruments] Attempting to run app on real device with UDID '0d22dd361f380079fca3e3d87qwwwd29d28cd55c0'

[debug] [Instruments] Found Insruments-Without-Delay: /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-instruments/thirdparty/iwd7

[debug] [Instruments] Spawning instruments with command: '/Applications/Xcode.app/Contents/Developer/usr/bin/instruments -t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate -D /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/appium-instruments/instrumentscli0.trace -w 0d22dd361f380079fca3e3d87qwwwd29d28cd55c0 com.wa.app -e UIASCRIPT "/Users/chelladurai_a/Library/Application Support/appium/bootstrap/bootstrap-445d972a3471fee9.js" -e UIARESULTSPATH /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/appium-instruments' [debug] [Instruments] And extra without-delay env: {} [debug] [Instruments] And launch timeouts (in ms): {"global":90000}

[debug] [Instruments] [INST STDERR] 2016-09-06 12:14:48.100 instruments[4959:172165] WebKit Threading Violation - initial use of WebKit from a secondary thread.

[debug] [Instruments] [INST STDERR] 2016-09-06 12:14:49.495 instruments[4959:172166] Failed to start Instruments daemon on 'Chelladurai's iPhone (9.3.5)' (The service is invalid.)

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:49 Automation-team-iPhone SpringBoard[61] : HW kbd: Failed to set (null) as keyboard focus

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:49 Automation-team-iPhone SpringBoard[61] : UNNotificationRegistrarConnectionListener connection invalidated

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:49 Automation-team-iPhone com.apple.xpc.launchd1 : Service exited due to signal: Killed: 9

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61] : Application 'UIKitApplication:com.wa.app[0x1439]' quit via signal.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone kernel[0] : xpcproxy[713] Container: /private/var/mobile/Containers/Data/Application/1E5A0527-CD9C-4E35-BCF1-7935FBBC310D (sandbox) [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61] : CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61] : CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61] : CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61] : CGContextSaveGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61] : CGContextTranslateCTM: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone SpringBoard[61] : CGContextRestoreGState: invalid context 0x0. If you want to see the backtrace, please set CG_CONTEXT_SHOW_BACKTRACE environmental variable. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone DTServiceHub[278] : kernel symbolicator unable to open /mach.release.s8000

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone DTServiceHub[278] : Device Info Service was unable to create symbolicator for the kernel

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : *\ -[NSKeyedUnarchiver initForReadingWithData:]: data is NULL

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [W] -[UAConfig validate] [Line 181] Production App Key is not valid. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [W] -[UAConfig validate] [Line 185] Production App Secret is not valid.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [I] +[UAirship executeUnsafeTakeOff:] [Line 186] UAirship Take Off! Lib Version: 6.4.0 App Key: FKRZT--pTiO4uDk0NZTqDA Production: NO. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] +[UAirship executeUnsafeTakeOff:] [Line 194] Setting User-Agent for UA requests to wa 19 (iPhone; iPhone OS 9.1; UALib 6.4.0; FKRZT--pTiO4uDk0NZTqDA; en_US) [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] +[UAirship executeUnsafeTakeOff:] [Line 199] Registering UAURLProtocol. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] +[UAKeychainUtils getDeviceID] [Line 213] Retrieved Device ID info from keychain. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] +[UAKeychainUtils getDeviceID] [Line 240] Loaded Device ID: 4DDDB043-F4CB-4CE0-AFB2-BDDF0E6F8E4F [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : HKObserverQuery, Error activating query: Error Domain=com.apple.healthkit Code=5 "Authorization not determined" UserInfo={NSLocalizedDescription=Authorization not determined} [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : Channel ID: c146e643-f9fd-427a-afd1-9e45fd5fbd42 [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] -[UANamedUser update] [Line 60] New or re-install, skipping named user update.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] -[UAUserAPIClient requestToUpdateUser:payload:] [Line 190] Request to update user with body: {"ios_channels":{"add":["c146e643-f9fd-427a-afd1-9e45fd5fbd42"]}} [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 589] Attempting to send update. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 592] No channel ID, skipping send. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [I] +[UAirship executeUnsafeTakeOff:] [Line 263] Automatic setup enabled. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] +[UAAppDelegateProxy swizzle:implementation:class:] [Line 101] Swizzling implementation for application:handleActionWithIdentifier:forRemoteNotification:completionHandler: class AppDelegate [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] +[UAAppDelegateProxy swizzle:implementation:class:] [Line 101] Swizzling implementation for application:handleActionWithIdentifier:forRemoteNotification:withResponseInfo:completionHandler: class AppDelegate [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] +[UAAppDelegateProxy swizzle:implementation:class:] [Line 101] Swizzling implementation for application:didReceiveRemoteNotification: class AppDelegate [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] +[UAAppDelegateProxy swizzle:implementation:class:] [Line 101] Swizzling implementation for application:didRegisterForRemoteNotificationsWithDeviceToken: class AppDelegate [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] +[UAAppDelegateProxy swizzle:implementation:class:] [Line 101] Swizzling implementation for application:didRegisterUserNotificationSettings: class AppDelegate [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] +[UAAppDelegateProxy swizzle:implementation:class:] [Line 106] Adding implementation for application:didFailToRegisterForRemoteNotificationsWithError: class AppDelegate [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : 🚨Urban Airship Implementation Error🚨 - Application is not configured for background notifications. Please enable remote notifications in the application's background modes.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] -[UAAnalytics addEvent:] [Line 248] Adding app_init event F37DA802-D368-4D15-8891-A1716E59BC0B. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] -[UAAnalytics addEvent:] [Line 251] Added: UAEvent ID: F37DA802-D368-4D15-8891-A1716E59BC0B type: app_init time: 1473182090.931973 data: { [iOSLog] [IOS_SYSLOG_ROW] carrier = "AT&T"; [iOSLog] [IOS_SYSLOG_ROW] "connection_type" = cell; [iOSLog] [IOS_SYSLOG_ROW] "daylight_savings" = true; [iOSLog] [IOS_SYSLOG_ROW] foreground = true; [iOSLog] [IOS_SYSLOG_ROW] "lib_version" = "6.4.0";

[iOSLog] [IOS_SYSLOG_ROW] "notification_types" = ( [iOSLog] [IOS_SYSLOG_ROW] ); [iOSLog] [IOS_SYSLOG_ROW] "os_version" = "9.1"; [iOSLog] [IOS_SYSLOG_ROW] "package_version" = 19; [iOSLog] [IOS_SYSLOG_ROW] "time_zone" = "-18000"; [iOSLog] [IOS_SYSLOG_ROW] "user_id" = XBjRt70GRRmKUChbthIH8g; [iOSLog] [IOS_SYSLOG_ROW] }. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 589] Attempting to send update.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 629] Analytics data scheduled to send in 14.800896 seconds. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] -[UAPush updateRegistration] [Line 906] APNS registration is out of date, updating. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] -[UAPush updateAPNSRegistration] [Line 1059] Unregistering for user notification types. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : [D] -[UAPush updateAPNSRegistration] [Line 1063] To re-register for push, userPushNotificationsEnabled must be set to YES and the user must use the iOS Settings app to enable notifications.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Config - Attempting to load config file from /var/mobile/Containers/Bundle/Application/9EC63ACD-9496-48C6-AAF5-87A8E2C0F6A8/testing.app/ADBMobileConfig.json [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Config - Loaded 8 root elements [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Warning: Config - "server" is required for Audience Manager configuration [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Messages - Attempting to load bundled In-App Messages. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Messages - Attempting to load cached In-App Messages. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Config - Attempting to load cached POI data.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone Unknown[716] : [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Config - Attempting to download remote POI's. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Messages - Attempting to download remote In-App Messages. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Cached Files - Attempting to download and cache data at [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: ID Service - Sending id sync call [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:50 Automation-team-iPhone testing[713] : ADBMobile Debug: Cached Files - Attempting to download and cache data at [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : apigee: dataClient created [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : apigee: monitoringClient created [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAPush applicationDidBecomeActive] [Line 801] Application did become active. Updating registration. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAChannelRegistrar updateChannel:channelLocation:withPayload:] [Line 99] Updating channel c146e643-f9fd-427a-afd1-9e45fd5fbd42 [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAChannelAPIClient updateChannelWithLocation:withPayload:onSuccess:onFailure:] [Line 146] Updating channel at location https://api/channels/c146e643-f9fd-427a-afd1-9e45fd5fbd42 with JSON payload {"channel":{"background":false,"push_address":"df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68","opt_in":false,"set_tags":true,"tags":["visited_pharmacy","visited_shopping","login_successfully_Logged_In","visited_in_store_mode"],"device_type":"ios"},"identity_hints":{"user_id":"XBjRt70GRRmKUChbthIH8g","device_id":"4DDDB043-F4CB-4CE0-AFB2-BDDF0E6F8E4F"}}. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAInboxMessageList retrieveMessageListWithSuccessBlock:withFailureBlock:] [Line 118] Retrieving message list.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAInboxAPIClient requestToRetrieveMessageList] [Line 84] Request to retrieve message list: https://api/user/XBjRt70GRRmKUChbthIH8g/messages/ [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics didBecomeActive] [Line 173] Application did become active.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone locationd[70] : Location icon should now be in state 'Active'

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone notification_proxy[174] : 0x16e087000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error!

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone notification_proxy[174] : 0x16e087000 -[MNPLockdownConnection receiveMessage]: lockdown_receive_message error! [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: ID Service - Got ID Response (mid: 08216770160309647753414715359510243754, blob: cIBAx_aQzFEHcPoEv0GwcQ, hint: 9, ttl: 604800) [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone limitadtrackingd[177] : Not scheduling a new BTA job; keeping previously scheduled job should run after 71086s from now when the network is available.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Audience Manager - Your config file is not set up to use Audience Manager

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Cached Files - Remote server returned 304 when requesting URL [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Messages - Attempting to load remote In-App Messages. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Analytics - Request Queued (ndh=1&t=00%2F00%2F0000%2000%3A00%3A00%200%20300&c.&a.&Resolution=750x1334&internalaction=Lifecycle&DayOfWeek=3&CarrierName=AT%26T&HourOfDay=12&DaysSinceLastUse=0&LaunchEvent=LaunchEvent&DaysSinceFirstUse=7&OSVersion=iOS%209.1&RunMode=Application&AppID=wa%206.2%20%2819%29&Launches=9&DeviceName=iPhone8%2C1&CrashEvent=CrashEvent&.a&.c&mid=08216770160309647753414715359510243754&pev2=ADBINTERNAL%3ALifecycle&pageName=wa%2F19&pe=lnk_o&ce=UTF-8&aamlh=9&aamb=cIBAx_aQzFEHcPoEv0GwcQ) [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Analytics - Request Queued (ndh=1&t=00%2F00%2F0000%2000%3A00%3A00%200%20300&c.&a.&OSVersion=iOS%209.1&CarrierName=AT%26T&DeviceName=iPhone8%2C1&RunMode=Application&AppID=wa%206.2%20%2819%29&Resolution=750x1334&TimeSinceLaunch=1&.a&Advertising_Identifier=1DC15438-9476-4976-8CE3-7F48A6038308&.c&mid=08216770160309647753414715359510243754&pev2=AMACTION%3A&pageName=wa%2F19&pe=lnk_o&ce=UTF-8&aamlh=9&aamb=cIBAx_aQzFEHcPoEv0GwcQ)

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Analytics - Request Queued (ndh=1&t=00%2F00%2F0000%2000%3A00%3A00%200%20300&c.&a.&OSVersion=iOS%209.1&DeviceName=iPhone8%2C1&RunMode=Application&AppID=wa%206.2%20%2819%29&CarrierName=AT%26T&TimeSinceLaunch=1&Resolution=750x1334&.a&.c&mid=08216770160309647753414715359510243754&pageName=wa%20App%20HomePage%20%7C%20HomeScreen%20%7C%20iPhone&ce=UTF-8&aamlh=9&aamb=cIBAx_aQzFEHcPoEv0GwcQ)

[debug] [Instruments] [INST STDERR] 2016-09-06 12:14:51.644 instruments[4959:172065] Failed to start Instruments daemon on 'Chelladurai's iPhone (9.3.5)' (The service is invalid.)

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone wa[713] : -[ApigeeMonitoringClient startMonitoring] Configuration values applied

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone wa[713] : -[ApigeeMonitoringClient startMonitoring] INIT_AGENT

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Cached Files - Remote server returned 304 when requesting URL

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Config - Attempting to load remote POI's.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : ADBMobile Debug: Analytics - Successfully sent hit(ndh=1&t=00%2F00%2F0000%2000%3A00%3A00%200%20300&c.&a.&Resolution=750x1334&internalaction=Lifecycle&DayOfWeek=3&CarrierName=AT%26T&HourOfDay=12&DaysSinceLastUse=0&LaunchEvent=LaunchEvent&DaysSinceFirstUse=7&OSVersion=iOS%209.1&RunMode=Application&AppID=wa%206.2%20%2819%29&Launches=9&DeviceName=iPhone8%2C1&CrashEvent=CrashEvent&.a&.c&mid=08216770160309647753414715359510243754&pev2=ADBINTERNAL%3ALifecycle&pageName=wa%2F19&pe=lnk_o&ce=UTF-8&aamlh=9&aamb=cIBAx_aQzFEHcPoEv0GwcQ) [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [I] -[UAPush appRegisteredUserNotificationSettings] [Line 1116] Application did register with user notification types 7. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : Device token: df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68 [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [I] -[UAPush appRegisteredForRemoteNotificationsWithDeviceToken:] [Line 1101] Application registered device token: df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68 [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAAnalytics addEvent:] [Line 248] Adding device_registration event 57000DEC-B178-408E-A401-6DD00FDB28BE. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics addEvent:] [Line 251] Added: UAEvent ID: 57000DEC-B178-408E-A401-6DD00FDB28BE type: device_registration time: 1473182091.821653 data: { [iOSLog] [IOS_SYSLOG_ROW] "channel_id" = "c146e643-f9fd-427a-afd1-9e45fd5fbd42";

[iOSLog] [IOS_SYSLOG_ROW] "device_token" = df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68; [iOSLog] [IOS_SYSLOG_ROW] "user_id" = XBjRt70GRRmKUChbthIH8g; [iOSLog] [IOS_SYSLOG_ROW] }. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 589] Attempting to send update. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 607] Upload already scheduled with delay less than 13.913511 seconds. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAChannelRegistrar registerWithChannelID:channelLocation:withPayload:forcefully:] [Line 58] Ignoring registration request, one already in progress.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [I] -[UAPush appRegisteredUserNotificationSettings] [Line 1116] Application did register with user notification types 7. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [I] __56-[UAInboxMessageList refreshInboxWithCompletionHandler:]_block_invoke_2 [Line 379] Inbox messages updated. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] __56-[UAInboxMessageList refreshInboxWithCompletionHandler:]_block_invoke_2 [Line 381] Loaded saved messages: ( [iOSLog] [IOS_SYSLOG_ROW] ). [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : Device token: df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68 [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [I] -[UAPush appRegisteredForRemoteNotificationsWithDeviceToken:] [Line 1101] Application registered device token: df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68 [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAAnalytics addEvent:] [Line 248] Adding device_registration event 71F6FEB4-43F5-414B-8E22-F21E01542AE1. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics addEvent:] [Line 251] Added: UAEvent ID: 71F6FEB4-43F5-414B-8E22-F21E01542AE1 type: device_registration time: 1473182091.883328 data: { [iOSLog] [IOS_SYSLOG_ROW] "channel_id" = "c146e643-f9fd-427a-afd1-9e45fd5fbd42"; [iOSLog] [IOS_SYSLOG_ROW] "device_token" = df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68; [iOSLog] [IOS_SYSLOG_ROW] "user_id" = XBjRt70GRRmKUChbthIH8g; [iOSLog] [IOS_SYSLOG_ROW] }. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 589] Attempting to send update. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 607] Upload already scheduled with delay less than 13.850033 seconds. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAChannelRegistrar registerWithChannelID:channelLocation:withPayload:forcefully:] [Line 58] Ignoring registration request, one already in progress.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : Device token: df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [I] -[UAPush appRegisteredForRemoteNotificationsWithDeviceToken:] [Line 1101] Application registered device token: df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68 [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAAnalytics addEvent:] [Line 248] Adding device_registration event CA1EA030-43B1-434E-9F09-94F48A59E654. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics addEvent:] [Line 251] Added: UAEvent ID: CA1EA030-43B1-434E-9F09-94F48A59E654 type: device_registration time: 1473182091.953973 data: { [iOSLog] [IOS_SYSLOG_ROW] "channel_id" = "c146e643-f9fd-427a-afd1-9e45fd5fbd42"; [iOSLog] [IOS_SYSLOG_ROW] "device_token" = df0a4adf6f5cb2218480745cf7524f9cdd2be5b3c6e97081a46f0741f20f0d68; [iOSLog] [IOS_SYSLOG_ROW] "user_id" = XBjRt70GRRmKUChbthIH8g; [iOSLog] [IOS_SYSLOG_ROW] }. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 589] Attempting to send update. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [T] -[UAAnalytics sendWithDelay:] [Line 629] Analytics data scheduled to send in 13.779661 seconds. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone testing[713] : [D] -[UAChannelRegistrar registerWithChannelID:channelLocation:withPayload:forcefully:] [Line 58] Ignoring registration request, one already in progress.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:51 Automation-team-iPhone wa[713] : -[ApigeeMonitoringClient uploadEvents] [iOSLog] [IOS_SYSLOG_ROW] {"message":"Successfully sent Message to queue"}

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [T] 60-[UAUserAPIClient updateUser:channelID:onSuccess:onFailure:]_block_invoke_3 [Line 131] User successfully updated. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [I] __20-[UAUser updateUser]_block_invoke150 [Line 234] Updated user XBjRt70GRRmKUChbthIH8g successfully. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : ADBMobile Debug: Analytics - Successfully sent hit(ndh=1&t=00%2F00%2F0000%2000%3A00%3A00%200%20300&c.&a.&OSVersion=iOS%209.1&CarrierName=AT%26T&DeviceName=iPhone8%2C1&RunMode=Application&AppID=wa%206.2%20%2819%29&Resolution=750x1334&TimeSinceLaunch=1&.a&Advertising_Identifier=1DC15438-9476-4976-8CE3-7F48A6038308&.c&mid=08216770160309647753414715359510243754&pev2=AMACTION%3A&pageName=wa%2F19&pe=lnk_o&ce=UTF-8&aamlh=9&aamb=cIBAx_aQzFEHcPoEv0GwcQ) [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [T] 80-[UAChannelAPIClient updateChannelWithLocation:withPayload:onSuccess:onFailure:]_block_invoke95 [Line 160] Retrieved channel response: {"ok":true,"channel_id":"c146e643-f9fd-427a-afd1-9e45fd5fbd42"} [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [I] -[UAPush registrationSucceededWithPayload:] [Line 1122] Channel registration updated successfully. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [D] 59-[UAInboxAPIClient retrieveMessageListOnSuccess:onFailure:]_block_invoke_3 [Line 172] Setting Last-Modified time to '(null)' for user XBjRt70GRRmKUChbthIH8g's message list. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [T] __59-[UAInboxAPIClient retrieveMessageListOnSuccess:onFailure:]_block_invoke_3 [Line 177] Retrieved message list response: { [iOSLog] [IOS_SYSLOG_ROW] "messages" : [ ], [iOSLog] [IOS_SYSLOG_ROW] "badge" : 0 [iOSLog] [IOS_SYSLOG_ROW] } [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [D] 75-[UAInboxMessageList retrieveMessageListWithSuccessBlock:withFailureBlock:]_block_invoke71 [Line 156] Refreshing message list. [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [I] __56-[UAInboxMessageList refreshInboxWithCompletionHandler:]_block_invoke_2 [Line 379] Inbox messages updated.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [D] __56-[UAInboxMessageList refreshInboxWithCompletionHandler:]_block_invoke_2 [Line 381] Loaded saved messages: ( [iOSLog] [IOS_SYSLOG_ROW] ).

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [D] -[UAChannelRegistrar registerWithChannelID:channelLocation:withPayload:forcefully:] [Line 73] Ignoring registration request, registration is up to date.

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : [I] -[UAPush registrationSucceededWithPayload:] [Line 1122] Channel registration updated successfully.

[UIAuto] Instruments is ready to receive commands [debug] [iOS] Instruments launched. Starting poll loop for new commands.

[debug] [iOS] Setting bootstrap config keys/values [debug] [UIAuto] Socket data received (2 bytes) [debug] [UIAuto] Got a result when we were not expecting one! Ignoring it [debug] [UIAuto] Sending command to instruments: target = $.target(); au = $; $.isVerbose = true;

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : CUICatalog: Invalid asset name supplied:

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : CUICatalog: Invalid asset name supplied: [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : ADBMobile Debug: Analytics - Request Queued (ndh=1&t=00%2F00%2F0000%2000%3A00%3A00%200%20300&c.&In_Store_Mode_Engaged=1&channel=In%20Store%20Mode&wa_Store_Number=59400&a.&OSVersion=iOS%209.1&CarrierName=AT%26T&DeviceName=iPhone8%2C1&AppID=wa%206.2%20%2819%29&RunMode=Application&Resolution=750x1334&TimeSinceLaunch=2&.a&.c&mid=08216770160309647753414715359510243754&pageName=Entering%20In-Store%20Mode%20%7C%20Home%20%7C%20iPhone&ce=UTF-8&aamlh=9&aamb=cIBAx_aQzFEHcPoEv0GwcQ) [iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : CUICatalog: Invalid asset name supplied:

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : ADBMobile Debug: Analytics - Successfully sent hit(ndh=1&t=00%2F00%2F0000%2000%3A00%3A00%200%20300&c.&In_Store_Mode_Engaged=1&channel=In%20Store%20Mode&wa_Store_Number=59400&a.&OSVersion=iOS%209.1&CarrierName=AT%26T&DeviceName=iPhone8%2C1&AppID=wa%206.2%20%2819%29&RunMode=Application&Resolution=750x1334&TimeSinceLaunch=2&.a&.c&mid=08216770160309647753414715359510243754&pageName=Entering%20In-Store%20Mode%20%7C%20Home%20%7C%20iPhone&ce=UTF-8&aamlh=9&aamb=cIBAx_aQzFEHcPoEv0GwcQ)

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:52 Automation-team-iPhone testing[713] : CUICatalog: Invalid asset name supplied:

[debug] [Instruments] [INST] 2016-09-06 17:14:52 +0000 Debug: evaluation finished

[debug] [Instruments] [INST] 2016-09-06 17:14:52 +0000 Debug: responding with:

[debug] [Instruments] [INST] 2016-09-06 17:14:52 +0000 Debug: Running system command #1: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock 2,{"status":0,"v...

[debug] [UIAuto] Socket data received (27 bytes)

[debug] [UIAuto] Got result from instruments: {"status":0,"value":true} [debug] [iOS] Setting initial orientation to PORTRAIT [debug] [UIAuto] Sending command to instruments: au.setScreenOrientation('PORTRAIT')

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:53 Automation-team-iPhone timed[68] : (Note ) CoreTime: Want active time in 21.84min. Need active time in 42.67min. Remaining retry interval: 0.000000min.

[debug] [Instruments] [INST] 2016-09-06 17:14:53 +0000 Debug: Got new command 1 from instruments: au.setScreenOrientation('PORTRAIT')

[debug] [Instruments] [INST] 2016-09-06 17:14:53 +0000 Debug: evaluating au.setScreenOrientation('PORTRAIT') [debug] [Instruments] [INST] 2016-09-06 17:14:53 +0000 Debug: target.setDeviceOrientation("1")

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:54 Automation-team-iPhone timed[68] : (Note ) CoreTime: Want active time in 22.46min. Need active time in 43.30min. Remaining retry interval: 0.000000min.

[debug] [Instruments] [INST] 2016-09-06 17:14:54 +0000 Debug: evaluation finished

[debug] [Instruments] [INST] 2016-09-06 17:14:54 +0000 Debug: responding with:

[debug] [Instruments] [INST] 2016-09-06 17:14:54 +0000 Debug: Running system command #2: /Applications/Appium.app/Contents/Resources/node/bin/node /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-ios-driver/node_modules/appium-uiauto/build/lib/bin/command-proxy-client.js /var/folders/fd/2svfncfn6l15xl407zdj6x0h0000gq/T/instruments_sock 2,{"status":0,"v...

[debug] [UIAuto] Socket data received (33 bytes)

[debug] [UIAuto] Got result from instruments: {"status":0,"value":"PORTRAIT"}

[debug] [iOS] Waiting for app source to contain elements [debug] [UIAuto] Sending command to instruments: au.mainApp().getTreeForXML()

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:55 Automation-team-iPhone timed[68] : (Note ) CoreTime: Want active time in 23.03min. Need active time in 43.87min. Remaining retry interval: 0.000000min.

[debug] [Instruments] [INST] 2016-09-06 17:14:55 +0000 Debug: Got new command 2 from instruments: au.mainApp().getTreeForXML()

[debug] [Instruments] [INST] 2016-09-06 17:14:55 +0000 Debug: evaluating au.mainApp().getTreeForXML()

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:56 Automation-team-iPhone kernel[0] : Sandbox: ScriptAgent(714) deny(1) file-read-data /Developer/Library/Daemons/PlugIns/UIAutomation.bundle

[debug] [Instruments] [INST] 2016-09-06 17:14:56 +0000 Debug: evaluation finished

[debug] [UIAuto] Socket data received (8188 bytes)

[debug] [UIAuto] Socket data received (1786 bytes) [debug] [UIAuto] Got result from instruments: {"status":0,"value":{"UIAApplication":{"@":{"name":"wa","label":"wa","value":null,"dom":null,"enabled":true,"valid":true,"visible":true,"hint":null,"path":"/0","x":0,"y":0,"width":375,"height":667},">":[{"UIAWindow":{"@":{"name":null,"label":null,"value":null,"dom":null,"enabled":true,

[Appium] New IosDriver session created successfully, session c5b34745-2b01-4f6d-a13e-043d62190fc8 added to master session list [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,... [HTTP] <-- POST /wd/hub/session 200 22055 ms - 686

[HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/timeouts {"type":"implicit","ms":500}

[MJSONWP] Calling AppiumDriver.timeouts() with args: ["implicit",500,"c5b34745-2...

[debug] [iOS] Executing iOS command 'timeouts' [debug] [BaseDriver] Set implicit wait to 500ms [HTTP] <-- GET /wd/hub/status - - ms - - [MJSONWP] Responding to client with driver.timeouts() result: null [HTTP] <-- POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/timeouts 200 8 ms - 76 [HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/url {"url":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}

[MJSONWP] Encountered internal error running command: Error: Url or Uri must start with :// at Object.setUrl (lib/mjsonwp/validators.js:18:13) at asyncHandler$ (lib/mjsonwp/mjsonwp.js:218:32) at tryCatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40) at GeneratorFunctionPrototype.invoke as _invoke at GeneratorFunctionPrototype.prototype.(anonymous function) as next at invoke (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37) at enqueueResult (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:185:17) at new Promise (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:197:7) at AsyncIterator.enqueue (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:184:12) at AsyncIterator.prototype.(anonymous function) as next at Object.runtime.async (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:209:12) at asyncHandler (lib/mjsonwp/mjsonwp.js:254:20) at lib/mjsonwp/mjsonwp.js:280:15 at Layer.handle as handle_request at next (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/route.js:131:13) at Route.dispatch (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/route.js:112:3) at Layer.handle as handle_request at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:277:22 at param (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:349:14) at param (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:365:14) at Function.process_params (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:410:3) at next (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:271:10) at logger (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/morgan/index.js:144:5) at Layer.handle as handle_request at trim_prefix (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:312:13) at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:280:7 at Function.process_params (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:330:12) at next (/Applications/A [HTTP] <-- POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/url 500 42 ms - 209

ppium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/express/lib/router/index.js:271:10) at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/lib/read.js:129:5 at invokeCallback (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/node_modules/raw-body/index.js:262:16) at done (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/node_modules/raw-body/index.js:251:7) at IncomingMessage.onEnd (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/appium-base-driver/node_modules/body-parser/node_modules/raw-body/index.js:308:7) at emitNone (events.js:80:13) at IncomingMessage.emit (events.js:179:7)

[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

[iOSLog] [IOS_SYSLOG_ROW] Sep 6 12:14:57 Automation-team-iPhone timed[68] : (Note ) CoreTime: Want active time in 23.55min. Need active time in 44.39min. Remaining retry interval: 0.000000min.

[HTTP] --> GET /wd/hub/status {}

[MJSONWP] Calling AppiumDriver.getStatus() with args: []

[MJSONWP] Responding to client with driver.getStatus() result: {"build":{"version":"1.5.3"...

[HTTP] <-- GET /wd/hub/status 200 108 ms - 83

imurchie commented 8 years ago

You cannot set the url to be a local file. What is the use-case for this?

acdurai commented 8 years ago

@imurchie

how to do the it.

I want to test the iOS native application. Until 1.4.x it was worked fine,while we upgrading to appium 1.5.x we are facing this issue. That too issue only for iOS,it works for android

imurchie commented 8 years ago

What is the use case for doing this?

acdurai commented 8 years ago

@imurchie,

Am getting this issue,after the application is launched through the automation script.

imurchie commented 8 years ago

But why are you trying to go to this url? What is it trying to do?

acdurai commented 7 years ago

Am setting the application path as DesiredCapabilities for the server arguments that's it ,am passing (application path) it as a URL

imurchie commented 7 years ago

I guess I'm just confused. There is an explicit call to change the url, to a local file:

[HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/url {"url":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}
acdurai commented 7 years ago

@imurchie , This is the issue am facing in iOS for latest Appium (1.5.x). I works great in < 1.5

jlipps commented 7 years ago

@acdurai why are you trying to navigate to an IPA file?

This is in the logs:

[HTTP] --> POST /wd/hub/session/c5b34745-2b01-4f6d-a13e-043d62190fc8/url {"url":"/Users/chelladurai_a/Desktop/Payload/testing.ipa"}

Which means you're trying to navigate a webview or browser to that URL. You're not even in a browser, so this doesn't make sense at all. You should simply remove the client url command.

acdurai commented 7 years ago

@jlipps, Am trying to run the automation testcases for ios Native application in iPhone. Upto appium 1.4.x version am able to run the test in iPhone. Am facing this issue only with appium 1.5.x versions alone for iOS only(Android it work's fine).

Below are the my desired capabilities. DesiredCapabilities capabilities = new DesiredCapabilities(); capabilities.setCapability(CapabilityType.BROWSER_NAME, ""); capabilities.setCapability("platformVersion", "9.2"); capabilities.setCapability("platformName", "IOS"); capabilities.setCapability("app", "/Users/chelladurai_a/Desktop/Payload/testing.ipa"); capabilities.setCapability("deviceName", "iPhone 6S"); app = new IOSDriver(new URL("http://127.0.0.1:4723/wd/hub"), capabilities);

jlipps commented 7 years ago

Your desired capabilities aren't the problem. It's other parts of your test. If you paste your complete test code I will point it out.