optimusTemplate icon indicating copy to clipboard operation
optimusTemplate copied to clipboard

iOS - Nothing is running or the framework is idle after the tests ran successfully

Open suhasini-Ravi opened this issue 4 years ago • 9 comments

Hi Team,

The framework is not completing the task for iOS and is stopping after successfully running the tests and also report is not generated.

Its getting stopped at "> Building 83% > :runFragmentation" and not getting exited .

Kindly, help coz im not able to proceed further with the automation

Please find the logs below.

MacBook-Pro:Core_BDD_Framework_Mobile $ ./gradlew runFragmentation -DtestFeed=CoreBDDiOS -Dtags=@loginValidNewUser Starting a Gradle Daemon (subsequent builds will be faster) :clean :compileJava UP-TO-DATE :compileGroovy UP-TO-DATE :processResources UP-TO-DATE :classes UP-TO-DATE :jar :assemble :compileTestJava Note: /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/src/test/java/pages/BasePage.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. :compileTestGroovy UP-TO-DATE :processTestResources :testClasses :test :check :build :spinServices Mongo uri mongodb://localhost:27017 Services URI http://localhost:8090/v1 Service commands [java, -jar, /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/libs/optimus-services-2.0.jar, --port=8090, --database=optimus, --uri=mongodb://localhost:27017] :runFragmentation Notifying build start Builds Pathhttp://localhost:8090/v1/builds 2019-10-15 14:59:41 INFO DeviceMatrix:44 - [DeviceDetails{deviceName='iPhone 5s', udid='C475CE08-3284-49CA-A53A-DCB35143E2DE', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6', udid='7A385BAA-6499-4E8F-95FD-549F9BFB3F51', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6 Plus', udid='B31ABD1D-B396-4ED0-9B3D-306EC9E51D81', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6s', udid='BE7E996F-F8F3-4196-A566-B1E169305DAA', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 6s Plus', udid='56BC2EF7-B217-4D37-B728-2048C552FBFE', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 7', udid='5E5EEBDB-F601-414D-8937-829E7DF16DAF', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 7 Plus', udid='1B4728F8-21B2-448C-973D-F5A61DC3451E', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 8', udid='1ADB89B1-C8C3-4A3E-AD73-619FB737825C', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone 8 Plus', udid='98680FB2-2F91-4A85-A704-C393BCE6CBB9', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone SE', udid='7D7CFE1A-03FA-4354-B47D-BE1257A7725B', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone X', udid='F6B77862-5ABE-483D-894D-3D410C543694', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone Xs', udid='FEE0CF2A-1E89-485F-9CFC-B811B58F1FF3', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone Xs Max', udid='B822C8C5-564C-4015-913 2-48AB435113B0', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='iPhone Xʀ', udid='4246CB8E-2090-4B12-9961-BF9810666CF2', status='Available', platform=IOS, platformVersion='12.4', runsOn=SIMULATOR}, DeviceDetails{deviceName='CI iOS 1', udid='', status='Available', platform=IOS, platformVersion='11.4.1', runsOn=DEVICE}] /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/src/test/resources/CoreBDDiOS.json Total devices -- 1 WARNING: Found tags option '~@intent,~@Intent,~@dataIntent,~@DataIntent'. Support for '@tag1,@tag2' will be removed from the next release of Cucumber-JVM. Please use '@tag or @tag2' instead WARNING: Found tags option '~@intent,~@Intent,~@dataIntent,~@DataIntent'. Support for '~@tag' will be removed from the next release of Cucumber-JVM. Please use 'not @tag' instead. Feature: General test cases for login page

@loginValidNewUser Scenario: Login with valid credentials then I should see the overview page # /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/src/test/resources/features/01_login.feature:4

CoreBDDiOS.json Test Feed> CoreBDDiOS.json appJson updated with - {"executionDetails":{"appium_js_path":"/usr/local/bin/appium","appium_node_path":"/usr/local/bin/node"},"testFeed":[{"optimusDesiredCapabilities":{"appiumServerCapabilities":{"app":"app.ipa","platformVersion":"11.4.1","automationName":"XcuiTest","platformName":"iOS","udid":"","deviceName":"CI iOS 1"},"iOSOnlyCapabilities":{"showXcodeLog":false,"clearSystemFiles":true,"useNewWDA":false,"launchTimeout":3000}},"appDir":"app","runsOn":"any","deviceState":{"captureVideo":false},"belongsTo":"coreframework","nativeApp":true}]} 2019-10-15 14:59:43 INFO OptimusController:148 - Starting Scenario -- Login with valid credentials then I should see the overview page updated testFeed -- {"optimusDesiredCapabilities":{"appiumServerCapabilities":{"app":"app.ipa","platformVersion":"11.4.1","automationName":"XcuiTest","platformName":"iOS","udid":"","deviceName":"CI iOS 1"},"iOSOnlyCapabilities":{"showXcodeLog":false,"clearSystemFiles":true,"useNewWDA":false,"launchTimeout":3000}},"appDir":"app","runsOn":"any","deviceState":{"captureVideo":false},"belongsTo":"coreframework","nativeApp":true} -------- All devices and there status -------- C475CE08-3284-49CA-A53A-DCB35143E2DE --- Available 7A385BAA-6499-4E8F-95FD-549F9BFB3F51 --- Available B31ABD1D-B396-4ED0-9B3D-306EC9E51D81 --- Available BE7E996F-F8F3-4196-A566-B1E169305DAA --- Available 56BC2EF7-B217-4D37-B728-2048C552FBFE --- Available 5E5EEBDB-F601-414D-8937-829E7DF16DAF --- Available 1B4728F8-21B2-448C-973D-F5A61DC3451E --- Available 1ADB89B1-C8C3-4A3E-AD73-619FB737825C --- Available 98680FB2-2F91-4A85-A704-C393BCE6CBB9 --- Available 7D7CFE1A-03FA-4354-B47D-BE1257A7725B --- Available F6B77862-5ABE-483D-894D-3D410C543694 --- Available FEE0CF2A-1E89-485F-9CFC-B811B58F1FF3 --- Available B822C8C5-564C-4015-9132-48AB435113B0 --- Available 4246CB8E-2090-4B12-9961-BF9810666CF2 --- Available --- Available Matching Device is Device{platform:"IOS", deviceName:"null", runsOn:"ANY", platformVersion:"11.4.1", udid:""} Scenario id -- /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/src/test/resources/features/01_login.feature:4 Scenario Name -- Login with valid credentials then I should see the overview page [Appium] Welcome to Appium v1.15.1 [Appium] Non-default server args:n [Appium] address: 127.0.0.1 [Appium] port: 21960 [Appium] sessionOverride: true [Appium] logFile: /Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/build/Login-with-valid-credentials-then-I-should-see-the-overview-page-4_.log [Appium] wdaLocalPort: 53867 [Appium] Appium REST http interface listener started on 127.0.0.1:21960 [HTTP] --> GET /wd/hub/statusation [HTTP] {} [debug] [GENERIC] Calling AppiumDriver.getStatus() with args: [] [debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.15.1"}} [HTTP] <-- GET /wd/hub/status 200 7 ms - 68 [HTTP] [HTTP] --> GET /wd/hub/statusation [HTTP] {} [debug] [GENERIC] Calling AppiumDriver.getStatus() with args: [] [debug] [GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.15.1"}} [HTTP] <-- GET /wd/hub/status 200 2 ms - 68 [HTTP] [HTTP] --> POST /wd/hub/sessionion [HTTP] {"desiredCapabilities":{"app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","clearSystemFiles":true,"showXcodeLog":false,"platformVersion":"11.4.1","automationName":"XcuiTest","useNewWDA":false,"platformName":"iOS","udid":"","deviceName":"CI iOS 1","launchTimeout":3000},"capabilities":{"alwaysMatch":{"appium:app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","appium:automationName":"XcuiTest","appium:clearSystemFiles":true,"appium:deviceName":"CI iOS 1","appium:launchTimeout":3000,"platformName":"ios","appium:platformVersion":"11.4.1","appium:showXcodeLog":false,"appium:udid":"","appium:useNewWDA":false},"firstMatch":[{}]}} [debug] [W3C] Calling AppiumDriver.createSession() with args: [{"app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","clearSystemFiles":true,"showXcodeLog":false,"platformVersion":"11.4.1","automationName":"XcuiTest","useNewWDA":false,"platformName":"iOS","udid":"","deviceName":"CI iOS 1","launchTimeout":3000},null,{"alwaysMatch":{"appium:app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","appium:automationName":"XcuiTest","appium:clearSystemFiles":true,"appium:deviceName":"CI iOS 1","appium:launchTimeout":3000,"platformName":"ios","appium:platformVersion":"11.4.1","appium:showXcodeLog":false,"appium:udid":"","appium:useNewWDA":false},"firstMatch":[{}]}] [debug] [BaseDriver] Event 'newSessionRequested' logged at 1571144387175 (14:59:47 GMT+0200 (Central European Summer Time)) [Appium] Appium v1.15.1 creating new XCUITestDriver (v2.133.1) session [debug] [BaseDriver] W3C capabilities and MJSONWP desired capabilities were provided [debug] [BaseDriver] Creating session with W3C capabilities: { [debug] [BaseDriver] "alwaysMatch": { [debug] [BaseDriver] "platformName": "ios", [debug] [BaseDriver] "appium:app": "/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa", [debug] [BaseDriver] "appium:automationName": "XcuiTest", [debug] [BaseDriver] "appium:clearSystemFiles": true, [debug] [BaseDriver] "appium:deviceName": "CI iOS 1", [debug] [BaseDriver] "appium:launchTimeout": 3000, [debug] [BaseDriver] "appium:platformVersion": "11.4.1", [debug] [BaseDriver] "appium:showXcodeLog": false, [debug] [BaseDriver] "appium:udid": "", [debug] [BaseDriver] "appium:useNewWDA": false [debug] [BaseDriver] }, [debug] [BaseDriver] "firstMatch": [ [debug] [BaseDriver] {} [debug] [BaseDriver] ] [debug] [BaseDriver] } [BaseDriver] Session created with session id: de6e3a7e-a850-4456-a8f7-c888a616755e [debug] [XCUITest] Current user: 'suhasini' [debug] [XCUITest] Available devices: [debug] [XCUITest] Creating iDevice object with udid '' [XCUITest] Determining device to run tests on: udid: '', real device: true [XCUITest] Normalized platformVersion capability value '11.4.1' to '11.4' [debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1571144389123 (14:59:49 GMT+0200 (Central European Summer Time)) [BaseDriver] Using local app '/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa' [debug] [BaseDriver] Unzipping '/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa' [debug] [BaseDriver] Extracted 1024 item(s) from '/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa' [debug] [BaseDriver] Matched 1023 item(s) in the extracted archive. Assuming 'Payload/core.app' is the correct bundle [BaseDriver] Unzipped local app to '/var/folders/7y/hgs15zr972g2m49769mvl_4r0000gn/T/2019915-15928-o0oiv9.bljr/Payload/core.app' [debug] [BaseDriver] Event 'appConfigured' logged at 1571144391836 (14:59:51 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Checking whether app '/var/folders/7y/hgs15zr972g2m49769mvl_4r0000gn/T/2019915-15928-o0oiv9.bljr/Payload/core.app' is actually present on file system [debug] [XCUITest] App is present [debug] [iOS] Getting bundle ID from app '/var/folders/7y/hgs15zr972g2m49769mvl_4r0000gn/T/2019915-15928-o0oiv9.bljr/Payload/core.app': 'bundleid' [debug] [BaseDriver] Event 'resetStarted' logged at 1571144391846 (14:59:51 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Reset: running ios real device reset flow [debug] [BaseDriver] Event 'resetComplete' logged at 1571144391846 (14:59:51 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Crash reports root '/Users/suhasini/Library/Logs/CrashReporter/MobileDevice/CI iOS 1' does not exist. Got nothing to gather. [debug] [BaseDriver] Event 'logCaptureStarted' logged at 1571144392102 (14:59:52 GMT+0200 (Central European Summer Time)) [XCUITest] Setting up real device [debug] [XCUITest] Verifying application platform [debug] [XCUITest] CFBundleSupportedPlatforms: ["iPhoneOS"] [debug] [XCUITest] Reset requested. Removing app with id 'bundleid' from the device [debug] [XCUITest] Installing '/var/folders/7y/hgs15zr972g2m49769mvl_4r0000gn/T/2019915-15928-o0oiv9.bljr/Payload/core.app' on device with UUID ''... [debug] [XCUITest] Pushed the app files successfully after 17152ms [XCUITest] Installation is successful after 18754ms [debug] [XCUITest] The app has been installed successfully. [debug] [BaseDriver] Event 'appInstalled' logged at 1571144411260 (15:00:11 GMT+0200 (Central European Summer Time)) [XCUITest] Using WDA path: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent' [XCUITest] Using WDA agent: '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj' [debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 53867 have been found [DevCon Factory] Requesting connection for device on local port 53867, device port 53867 [debug] [DevCon Factory] Cached connections count: 0 [DevCon Factory] Port #53867 is busy [DevCon Factory] Successfully requested the connection for :53867 [debug] [XCUITest] Parsed BUILD_DIR configuration value: '/Users/suhasini/Library/Developer/Xcode/DerivedData/WebDriverAgent-/Build/Products' [debug] [XCUITest] Got derived data root: '/Users/suhasini/Library/Developer/Xcode/DerivedData/WebDriverAgent-' [debug] [XCUITest] Starting WebDriverAgent initialization with the synchronization key '/Users/suhasini/Library/Developer/Xcode/DerivedData/WebDriverAgent-' [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [XCUITest] WDA is not listening at 'http://localhost:53867/' [debug] [XCUITest] WDA is currently not running. There is nothing to cache [debug] [XCUITest] Trying to start WebDriverAgent 1 times with 10000ms interval [debug] [XCUITest] These values can be customized by changing wdaStartupRetries/wdaStartupRetryInterval capabilities [debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1571144413266 (15:00:13 GMT+0200 (Central European Summer Time)) [XCUITest] Launching WebDriverAgent on the device [WebDriverAgent] Fetching dependencies [WebDriverAgent] Dependencies up-to-date [debug] [XCUITest] Killing running processes 'xcodebuild.' for the device ... [debug] [XCUITest] 'pgrep -ifn xcodebuild.' didn't detect any matching processes. Return code: 1 [debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -derivedDataPath /Users/suhasini/Library/Developer/Xcode/DerivedData/WebDriverAgent- -destination id= IPHONEOS_DEPLOYMENT_TARGET=11.4 GCC_TREAT_WARNINGS_AS_ERRORS=0 COMPILER_INDEX_STORE_ENABLE=NO' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent' [debug] [XCUITest] Output from xcodebuild will not be logged. To change this, use 'showXcodeLog' desired capability [debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [XCUITest] Log file for xcodebuild test: /Users/suhasini/Library/Developer/Xcode/DerivedData/WebDriverAgent-/Logs/Test/Test-WebDriverAgentRunner-2019.10.15_15-00-15-+0200.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-5C7A8CC0-5BE4-411A-9DB7-20A1223214A6/WebDriverAgentRunner-634AD7F6-F563-4E94-83EA-6A8CED74A743/Session-WebDriverAgentRunner-2019-10-15_150015-O96RmZ.log [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [iProxy@bc2d6...] Connection was refused to port 53867 [WD Proxy] Got an unexpected response with status undefined: {"code":"ECONNRESET"} [debug] [WD Proxy] Matched '/status' to command name 'getStatus' [debug] [WD Proxy] Proxying [GET /status] to [GET http://localhost:53867/status] with no body [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : { [debug] [WD Proxy] "message" : "WebDriverAgent is ready to accept commands", [debug] [WD Proxy] "state" : "success", [debug] [WD Proxy] "os" : { [debug] [WD Proxy] "name" : "iOS", [debug] [WD Proxy] "version" : "11.4.1", [debug] [WD Proxy] "sdkVersion" : "12.2" [debug] [WD Proxy] }, [debug] [WD Proxy] "ios" : { [debug] [WD Proxy] "simulatorVersion" : "11.4.1", [debug] [WD Proxy] "ip" : "192.168.10.158" [debug] [WD Proxy] }, [debug] [WD Proxy] "ready" : true, [debug] [WD Proxy] "build" : { [debug] [WD Proxy] "upgradedAt" : "1571129796363", [debug] [WD Proxy] "time" : "Oct 15 2019 14:50:29", [debug] [WD Proxy] "productBundleIdentifier" : "com.facebook.WebDriverAgentRunner" [debug] [WD Proxy] } [debug] [WD Proxy] }, [debug] [WD Proxy] "sessionId" : "14EEC00E-1453-4217-A911-DA4F31289C88" [debug] [WD Proxy] } [debug] [XCUITest] WebDriverAgent information: [debug] [XCUITest] { [debug] [XCUITest] "message": "WebDriverAgent is ready to accept commands", [debug] [XCUITest] "state": "success", [debug] [XCUITest] "os": { [debug] [XCUITest] "name": "iOS", [debug] [XCUITest] "version": "11.4.1", [debug] [XCUITest] "sdkVersion": "12.2" [debug] [XCUITest] }, [debug] [XCUITest] "ios": { [debug] [XCUITest] "simulatorVersion": "11.4.1", [debug] [XCUITest] "ip": "192.168.10.158" [debug] [XCUITest] }, [debug] [XCUITest] "ready": true, [debug] [XCUITest] "build": { [debug] [XCUITest] "upgradedAt": "1571129796363", [debug] [XCUITest] "time": "Oct 15 2019 14:50:29", [debug] [XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner" [debug] [XCUITest] } [debug] [XCUITest] } [debug] [XCUITest] WebDriverAgent successfully started after 7774ms [debug] [BaseDriver] Event 'wdaSessionAttempted' logged at 1571144421243 (15:00:21 GMT+0200 (Central European Summer Time)) [debug] [XCUITest] Sending createSession command to WDA [debug] [WD Proxy] Matched '/session' to command name 'createSession' [debug] [WD Proxy] Proxying [POST /session] to [POST http://localhost:53867/session] with body: {"capabilities":{"firstMatch":[{"bundleId":"bundleid","arguments":[],"environment":{},"eventloopIdleDelaySec":0,"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}],"alwaysMatch":{}}} [debug] [WD Proxy] Got response with status 200: {"value":{"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4","capabilities":{"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid"}},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [WD Proxy] Determined the downstream protocol as 'W3C' [debug] [BaseDriver] Event 'wdaSessionStarted' logged at 1571144424980 (15:00:24 GMT+0200 (Central European Summer Time)) [debug] [BaseDriver] Event 'wdaStarted' logged at 1571144424980 (15:00:24 GMT+0200 (Central European Summer Time)) [XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior. [debug] [BaseDriver] Event 'orientationSet' logged at 1571144424981 (15:00:24 GMT+0200 (Central European Summer Time)) [Appium] New XCUITestDriver session created successfully, session de6e3a7e-a850-4456-a8f7-c888a616755e added to master session list [debug] [BaseDriver] Event 'newSessionStarted' logged at 1571144424982 (15:00:24 GMT+0200 (Central European Summer Time)) [debug] [W3C (de6e3a7e)] Cached the protocol value 'W3C' for the new session de6e3a7e-a850-4456-a8f7-c888a616755e [debug] [W3C (de6e3a7e)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"udid":"","useNewWDA":false}} [HTTP] <-- POST /wd/hub/session 200 37810 ms - 603 [HTTP] Oct 15, 2019 3:00:24 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0 INFO: Detected dialect: W3C [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [debug] [WD Proxy] Matched '/' to command name 'getSession' [debug] [WD Proxy] Proxying [GET /] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4] with no body [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : { [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4", [debug] [WD Proxy] "capabilities" : { [debug] [WD Proxy] "device" : "iphone", [debug] [WD Proxy] "browserName" : "core", [debug] [WD Proxy] "sdkVersion" : "11.4.1", [debug] [WD Proxy] "CFBundleIdentifier" : "bundleid" [debug] [WD Proxy] } [debug] [WD Proxy] }, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [debug] [WD Proxy] Proxying [GET /wda/screen] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/wda/screen] with no body [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : {on [debug] [WD Proxy] "statusBarSize" : { [debug] [WD Proxy] "width" : 375, [debug] [WD Proxy] "height" : 20 [debug] [WD Proxy] }, [debug] [WD Proxy] "scale" : 2 [debug] [WD Proxy] }, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [debug] [WD Proxy] Proxying [GET /window/size] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/window/size] with no body [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : { [debug] [WD Proxy] "width" : 375, [debug] [WD Proxy] "height" : 667 [debug] [WD Proxy] }, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 367 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] 2019-10-15 15:00:25 INFO OptimusController:170 - Login-with-valid-credentials-then-I-should-see-the-overview-page-4--driver instance created for UDID: DeviceNameCI iOS 1 [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/screenshot [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getScreenshot() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getScreenshot' [debug] [XCUITest] Taking screenshot with WDA [debug] [WD Proxy] Matched '/screenshot' to command name 'getScreenshot' [debug] [WD Proxy] Proxying [GET /screenshot] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/screenshot] with no body [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : "iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAIAAABFtaRRAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAAEWDeJOgpAAAEAASURBVHgB\r\n7J0HgFbF9fZXwBZT/McUExNrTKImthhNYkxiiUaMICjSRBAQNWg0FmKPMU0TO3Vh\r\nQaxJrIkdu4govZeFZelL2d533zbfb+6zHK677LpL9HOVua7D3Llnzpx57tyZ5z0z\r\nc2+WC0dAICAQEAgIBAQCAp8+BDK+SvXO1UV/SU5ISaVdIukSCZdKuDRpSZ8W/RFp\r\n01+Vc7VRRp8tnfZ/Tgp96P8yhCSmVcRHB3DWR6c6aA4IBAQCAgGBgEBA4GNDABYR\r\nUQ3YDH/wlYjKwDGS/i/VQDWMvrTVTngMaskeUZmIzTQQF7iLZzD+z1/2QfRvW0to\r\nrXygMq1FKsgFBAICAYGAQEDgk4SA6ESmwenSQGUaOAYko4Fn+BqJa2yhH8ZDWo40\r\nsBPlQjuRKEnKGq6a8q3nHz6Egcp8+JgGjQGBgEBAICAQEPj4ERDJiJgFAWQjim7L\r\nLl1oI5XZBtGJiqAg/aG1ochmC96WMW1PC1Sm7ZiFHAGBgEBAICAQEGj/CHi/S4P3\r\nBS4BvWDpiiabCIm/j9yIbbQpZHEMKuSMIeOWIqJlMlv1ezYjkvSRIRaozEcGbVAc\r\nEAgIBAQCAgGBjxOBRKO1t5AMLQEmNDaz/QZqqS9saYszxkiMIqJKEZXRouDtL6rl\r\nnIHKtIxPuBoQCAgEBAICAYFPJAIZz1tgM/aXTLk0DEZshkgD1dgyUcTVNv1pgxIr\r\nfNEDdzFuJM9OpByWEy0uziRchmI/qiNQmY8K2aA3IBAQCAgEBAICHyMCKZfIbOUx\r\nkAn4ht9bBMnQXzQphIHR9E8GotOQ3sqIMqIEebl... [debug] [W3C (de6e3a7e)] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAIAAABFtaRRAAAAAXNSR0IArs4c6QAA\r\nABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAAEWDeJOgpAAAEAASURBVHgB\r\n7J0HgFbF9fZXwBZT/McUExNrTKImthhNYkxiiUaMICjSRBAQNWg0FmKPMU0TO3Vh\r\nQaxJrIkdu4govZeFZelL2d533zbfb+6zHK677LpL9HOVua7D3Llnzpx57tyZ5z0z\r\nc2+WC0dAICAQEAgIBAQCAp8+BDK+SvXO1UV/SU5ISaVdIukSCZdKuDRpSZ8W/RFp\r\n01+Vc7VRRp8tnfZ/Tgp96P8yhCSmVcRHB3DWR6c6aA4IBAQCAgGBgEBA4GNDABYR\r\nUQ3YDH/wlYjKwDGS/i/VQDWMvrTVTngMaskeUZmIzTQQF7iLZzD+z1/2QfRvW0to\r\nrXygMq1FKsgFBAICAYGAQEDgk4SA6ESmwenSQGUaOAYko4Fn+BqJa2yhH8ZDWo40\r\nsBPlQjuRKEnKGq6a8q3nHz6Egcp8+JgGjQGBgEBAICAQEPj4ERDJiJgFAWQjim7L\r\nLl1oI5XZBtGJiqAg/aG1ochmC96WMW1PC1Sm7ZiFHAGBgEBAICAQEGj/CHi/S4P3\r\nBS4BvWDpiiabCIm/j9yIbbQpZHEMKuSMIeOWIqJlMlv1ezYjkvSRIRaozEcGbVAc\r\nEAgIBAQCAgGBjxOBRKO1t5AMLQEmNDaz/QZqqS9saYszxkiMIqJKEZXRouDtL6rl\r\nnIHKtIxPuBoQCAgEBAICAYFPJAIZz1tgM/aXTLk0DEZshkgD1dgyUcTVNv1pgxIr\r\nfNEDdzFuJM9OpByWEy0uziRchmI/qiNQmY8K2aA3IBAQCAgEBAICHyMCKZfIbOUx\r\nkAn4ht9bBMnQXzQphIHR9E8GotOQ3sqIMqIEeblhGhSKyzQwJK7Apeo+NiqTSmEe\r\n... [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/screenshot 200 64 ms - 193688 [HTTP] 2019-10-15 15:00:25 INFO OptimusController:193 - cucumber.runtime.ScenarioImpl@17f2dd85---BOT registered successfully for -- Appium Services are...1 io.appium.java_client.service.local.AppiumDriverLocalService@22a736d7 [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 4 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 3 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='welcome_new_user_title_label']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='welcome_new_user_title_label']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='welcome_new_user_title_label']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"1D000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"1D000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"1D000000-0000-0000-F104-000000000000","ELEMENT":"1D000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 1102 ms - 137 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed [HTTP] {} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed' to command name 'elementDisplayed' [debug] [WD Proxy] Proxying [GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/1D000000-0000-0000-F104-000000000000/displayed] with body: {} [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : true, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed 200 100 ms - 65 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='welcome_new_user_title_label']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='welcome_new_user_title_label']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='welcome_new_user_title_label']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"1D000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"1D000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"1D000000-0000-0000-F104-000000000000","ELEMENT":"1D000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 1127 ms - 137 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed [HTTP] {} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed' to command name 'elementDisplayed' [debug] [WD Proxy] Proxying [GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/1D000000-0000-0000-F104-000000000000/displayed] with body: {} [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : true, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/1D000000-0000-0000-F104-000000000000/displayed 200 115 ms - 65 [HTTP] checkPageReached: true Given I am on onaboarding screen # LoginSteps.iAmOnOnaboardingScreen() [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 3 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='onboarding_new_user_start_button_text_label']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='onboarding_new_user_start_button_text_label']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='onboarding_new_user_start_button_text_label']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"23000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"23000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"23000000-0000-0000-F104-000000000000","ELEMENT":"23000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 1160 ms - 137 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/displayed [HTTP] {} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/displayed' to command name 'elementDisplayed' [debug] [WD Proxy] Proxying [GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/displayed] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/23000000-0000-0000-F104-000000000000/displayed] with body: {} [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : true, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/displayed 200 104 ms - 65 [HTTP] Language name: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<: English (Germany) Language name: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<: [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] Platform name: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<: ios [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='onboarding_new_user_start_button_text_label']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='onboarding_new_user_start_button_text_label']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='onboarding_new_user_start_button_text_label']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"23000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"23000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"23000000-0000-0000-F104-000000000000","ELEMENT":"23000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 1087 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/click [HTTP] {"id":"23000000-0000-0000-F104-000000000000"} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/click] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/23000000-0000-0000-F104-000000000000/click] with body: {"id":"23000000-0000-0000-F104-000000000000"} [debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/23000000-0000-0000-F104-000000000000/click 200 450 ms - 65 [HTTP] And I click on Let's go on onboarding screen # LoginSteps.iContinueOnOnaboardingScreen() [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 3 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_username_title' or @name='login_username_input']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_username_title' or @name='login_username_input']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_username_title' or @name='login_username_input']"} [WD Proxy] Got an unexpected response with status 404: {"value":{"error":"no such element","message":"unable to find an element using 'xpath', value '//[@name='login_username_title' or @name='login_username_input']'","traceback":"(\n\t0 WebDri verAgentLib 0x0000000104a078d0 FBNoSuchElementErrorResponseForRequest + 312\n\t1 WebDriverAgentLib 0x0000000104a07698 +[FBFindElementCommands handleFindElement:] + 460\n\t2 WebDriverAgentLib 0x00000001049e60a0 -[FBRoute_TargetAction mountRequest:intoResponse:] + 220\n\t3 WebDriverAgentLib 0x00000001049d324c __37-[FBWebServer registerRouteHandlers:]_block_invoke + 504\n\t4 RoutingHTTPServer 0x0000000104b52480 -[RoutingHTTPServer handleRoute:withRequest:response:] + 144\n\t5 RoutingHTTPServer 0x0000000104b52c50 __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 44\n\t6 libdispatch.dylib 0x00000001834c0a60 + 16\n\t7 libdispatch.dylib... [debug] [W3C] Matched W3C error code 'no such element' to NoSuchElementError [debug] [W3C (de6e3a7e)] Encountered internal error running command: NoSuchElementError: An element could not be located on the page using the given search parameters. [debug] [W3C (de6e3a7e)] at XCUITestDriver.doNativeFind (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/commands/find.js:126:11) [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 404 1320 ms - 379 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 3 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_username_title' or @name='login_username_input']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_username_title' or @name='login_username_input']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_username_title' or @name='login_username_input']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"5B000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"5B000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"5B000000-0000-0000-F104-000000000000","ELEMENT":"5B000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 1636 ms - 137 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/displayed [HTTP] {} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/displayed' to command name 'elementDisplayed' [debug] [WD Proxy] Proxying [GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/displayed] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/5B000000-0000-0000-F104-000000000000/displayed] with body: {} [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : true, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/displayed 200 162 ms - 65 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_username_title' or @name='login_username_input']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_username_title' or @name='login_username_input']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_username_title' or @name='login_username_input']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"5B000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"5B000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"5B000000-0000-0000-F104-000000000000","ELEMENT":"5B000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 1740 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/click [HTTP] {"id":"5B000000-0000-0000-F104-000000000000"} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/click] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/5B000000-0000-0000-F104-000000000000/click] with body: {"id":"5B000000-0000-0000-F104-000000000000"} [debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5B000000-0000-0000-F104-000000000000/click 200 431 ms - 65 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_username_input']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_username_input']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_username_input']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"91000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"91000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"91000000-0000-0000-F104-000000000000","ELEMENT":"91000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 2867 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/91000000-0000-0000-F104-000000000000/value [HTTP] {"id":"91000000-0000-0000-F104-000000000000","text":"maverick","value":["m","a","v","e","r","i","c","k"]} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.setValue() with args: [["m","a","v","e","r","i","c","k"],"91000000-0000-0000-F104-000000000000","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'setValue' [debug] [WD Proxy] Matched '/element/91000000-0000-0000-F104-000000000000/value' to command name 'setValue' [debug] [Protocol Converter] Added 'text' property "maverick" to 'setValue' request body [debug] [WD Proxy] Proxying [POST /element/91000000-0000-0000-F104-000000000000/value] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/91000000-0000-0000-F104-000000000000/value] with body: {"value":["m","a","v","e","r","i","c","k"],"text":"maverick"} [debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.setValue() result: null [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/91000000-0000-0000-F104-000000000000/value 200 864 ms - 14 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 3 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_password_title']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_password_title']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_password_title']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"5C000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"5C000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"5C000000-0000-0000-F104-000000000000","ELEMENT":"5C000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 2680 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5C000000-0000-0000-F104-000000000000/click [HTTP] {"id":"5C000000-0000-0000-F104-000000000000"} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5C000000-0000-0000-F104-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5C000000-0000-0000-F104-000000000000/click] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/5C000000-0000-0000-F104-000000000000/click] with body: {"id":"5C000000-0000-0000-F104-000000000000"} [debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/5C000000-0000-0000-F104-000000000000/click 200 568 ms - 65 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 3 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_password_input']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_password_input']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_password_input']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"B5000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"B5000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"B5000000-0000-0000-F104-000000000000","ELEMENT":"B5000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 2801 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/B5000000-0000-0000-F104-000000000000/value [HTTP] {"id":"B5000000-0000-0000-F104-000000000000","text":"00000","value":["0","0","0","0","0"]} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.setValue() with args: [["0","0","0","0","0"],"B5000000-0000-0000-F104-000000000000","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'setValue' [debug] [WD Proxy] Matched '/element/B5000000-0000-0000-F104-000000000000/value' to command name 'setValue' [debug] [Protocol Converter] Added 'text' property "00000" to 'setValue' request body [debug] [WD Proxy] Proxying [POST /element/B5000000-0000-0000-F104-000000000000/value] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/B5000000-0000-0000-F104-000000000000/value] with body: {"value":["0","0","0","0","0"],"text":"00000"} [debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.setValue() result: null [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/B5000000-0000-0000-F104-000000000000/value 200 748 ms - 14 [HTTP] When I enter valid credentials # LoginSteps.iEnterValidCredentials() [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 3 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 2 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_bar_submit']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_bar_submit']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_bar_submit']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"4F000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"4F000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"4F000000-0000-0000-F104-000000000000","ELEMENT":"4F000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 2814 ms - 137 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/displayed [HTTP] {} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/displayed' to command name 'elementDisplayed' [debug] [WD Proxy] Proxying [GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/displayed] to [GET http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/4F000000-0000-0000-F104-000000000000/displayed] with body: {} [debug] [WD Proxy] Got response with status 200: { [debug] [WD Proxy] "value" : true, [debug] [WD Proxy] "sessionId" : "62E34148-E0E3-4683-98C2-E5232D1AAFB4" [debug] [WD Proxy] } [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/displayed 200 190 ms - 65 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getSession() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getSession' [XCUITest] Merging WDA caps over Appium caps for session detail response [debug] [W3C (de6e3a7e)] Responding to client with driver.getSession() result: {"udid":"","platformName":"ios","app":"/Users/suhasini/Desktop/Test_Automation/Core_BDD_Framework_Mobile/app/app.ipa","automationName":"XcuiTest","clearSystemFiles":true,"deviceName":"CI iOS 1","launchTimeout":3000,"platformVersion":"11.4.1","showXcodeLog":false,"useNewWDA":false,"device":"iphone","browserName":"core","sdkVersion":"11.4.1","CFBundleIdentifier":"bundleid","pixelRatio":2,"statBarHeight":20,"viewportRect":{"left":0,"top":40,"width":750,"height":1294}} [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e 200 2 ms - 544 [HTTP] [HTTP] --> GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context [HTTP] {} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.getCurrentContext() with args: ["de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'getCurrentContext' [debug] [W3C (de6e3a7e)] Responding to client with driver.getCurrentContext() result: "NATIVE_APP" [HTTP] <-- GET /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/context 200 1 ms - 22 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element [HTTP] {"using":"xpath","value":"//[@name='login_bar_submit']"} [debug] [W3C (de6e3a7e)] Calling AppiumDriver.findElement() with args: ["xpath","//[@name='login_bar_submit']","de6e3a7e-a850-4456-a8f7-c888a616755e"] [debug] [XCUITest] Executing command 'findElement' [debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, -ios class chain, accessibility id [debug] [BaseDriver] Waiting up to 0 ms for condition [debug] [WD Proxy] Matched '/element' to command name 'findElement' [debug] [WD Proxy] Proxying [POST /element] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element] with body: {"using":"xpath","value":"//[@name='login_bar_submit']"} [debug] [WD Proxy] Got response with status 200: {"value":{"ELEMENT":"4F000000-0000-0000-F104-000000000000","element-6066-11e4-a52e-4f735466cecf":"4F000000-0000-0000-F104-000000000000"},"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [debug] [W3C (de6e3a7e)] Responding to client with driver.findElement() result: {"element-6066-11e4-a52e-4f735466cecf":"4F000000-0000-0000-F104-000000000000","ELEMENT":"4F000000-0000-0000-F104-000000000000"} [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element 200 2816 ms - 137 [HTTP] [HTTP] --> POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/click [HTTP] {"id":"4F000000-0000-0000-F104-000000000000"} [W3C (de6e3a7e)] Driver proxy active, passing request on via HTTP proxy [debug] [XCUITest] Executing command 'proxyReqRes' [debug] [WD Proxy] Matched '/wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/click' to command name 'click' [debug] [WD Proxy] Proxying [POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/click] to [POST http://localhost:53867/session/62E34148-E0E3-4683-98C2-E5232D1AAFB4/element/4F000000-0000-0000-F104-000000000000/click] with body: {"id":"4F000000-0000-0000-F104-000000000000"} [debug] [WD Proxy] Got response with status 200: {"value":null,"sessionId":"62E34148-E0E3-4683-98C2-E5232D1AAFB4"} [WD Proxy] Replacing sessionId 62E34148-E0E3-4683-98C2-E5232D1AAFB4 with de6e3a7e-a850-4456-a8f7-c888a616755e [HTTP] <-- POST /wd/hub/session/de6e3a7e-a850-4456-a8f7-c888a616755e/element/4F000000-0000-0000-F104-000000000000/click 200 594 ms - 65 [HTTP] And I click on sign in # LoginSteps.iClickOnSignIn() Iam logged in Then I am logged in # LoginSteps.iLoggedIn() [BaseDriver] Shutting down because we waited 60 seconds for a command [Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability' [Appium] Removing session de6e3a7e-a850-4456-a8f7-c888a616755e from our master session list [DevCon Factory] Releasing connections for device on any port number [DevCon Factory] Found cached connections to release: [":53867"] [DevCon Factory] Releasing the listener for ':53867' [debug] [DevCon Factory] Cached connections count: 0 [debug] [XCUITest] Started background XCTest logs cleanup: find -E /private/var/folders -regex './Session-WebDriverAgentRunner..log$|./StandardOutputAndStandardError.txt$' -type f -exec sh -c 'echo "" > "{}"' ; [XCUITest] Cleaning test logs in '/Users/suhasini/Library/Developer/Xcode/DerivedData/WebDriverAgent-/Logs' folder [debug] [iOS] Clearing log files [debug] [iOS] Deleting '/Users/suhasini/Library/Developer/Xcode/DerivedData/WebDriverAgent-/Logs'. Freeing 2.2M. [debug] [iOS] Finished clearing log files Building 83% > :runFragmentation

suhasini-Ravi avatar Oct 15 '19 13:10 suhasini-Ravi

Hey, @suhasini-Ravi this is a known issue and we are currently working on this. Expect the fix in the upcoming release.

thenishant avatar Oct 16 '19 04:10 thenishant

Hi @thenishant , thank you for the info. Is there any workaround for this where the test execution can be completed without force quitting.

Thanks in advance for the help

suhasini-Ravi avatar Oct 16 '19 07:10 suhasini-Ravi

Hey @suhasini-Ravi, as of now there is no workaround and the only thing which can be done here is to retrigger/rerun the tests.

thenishant avatar Oct 17 '19 04:10 thenishant

Hey @thenishant The tests are running fine and getting executed completely when I run the iOS tests parallel.

Thank you...

suhasini-Ravi avatar Oct 17 '19 13:10 suhasini-Ravi

@suhasini-Ravi how were you able to workaround this? Can you share your environment? I am facing this issue running tests in Distribution mode on one machine, although on my local laptop it runs fine

alohageck0 avatar Nov 01 '19 08:11 alohageck0

@alohageck0, there is no workaround for this and I'm facing the same issue even when running iOS in parallel, and since the tests are not getting completed there is no generation of the report :(

suhasini-Ravi avatar Nov 01 '19 09:11 suhasini-Ravi

facing the same issue in 3.1.2

alohageck0 avatar Jan 03 '20 20:01 alohageck0

I found the root cause for my issue - it was jdk version. Jenkins node had Azul Zulu 8.0.222, but locally I am using AdoptOpenJDK 8.0.232.j9. When I switched to AdoptOpenJDK the issue not reproducible anymore

alohageck0 avatar Jan 03 '20 21:01 alohageck0

@thenishant , @KrishnB

Any update on this issue?

I'm facing this issue when I try to run the iOS tests by connecting both iOS and Android devices at the same time.

But when I run Android tests by connecting both platform devices, the report is generated and also completing the tests.

suhasini-Ravi avatar Jan 26 '21 18:01 suhasini-Ravi