-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS - Nothing is running or the framework is idle after the tests ran successfully #51
Comments
Hey, @suhasini-Ravi this is a known issue and we are currently working on this. |
Hi @thenishant , thank you for the info. Thanks in advance for the help |
Hey @suhasini-Ravi, as of now there is no workaround and the only thing which can be done here is to |
Hey @thenishant Thank you... |
@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, 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 :( |
facing the same issue in 3.1.2 |
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. |
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. |
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' insteadWARNING: 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
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% > :runFragmentationScenario: 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
The text was updated successfully, but these errors were encountered: