Hi @GannaChernyshova , @alxkor , @DzmitryHumianiuk , @aakashr23 Pls help me here. i imported the project
example_appium_mvn and tried to run with appium studio, i got the invalid session id exception
[INFO] Running healenium.TestEmulatorCalcApp
Jan 08, 2022 3:04:25 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: OSS
Jan 08, 2022 3:05:36 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: OSS
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 82.969 s <<< FAILURE! - in healenium.TestEmulatorCalcApp
[ERROR] testFindElementsOk Time elapsed: 0.066 s <<< ERROR!
org.openqa.selenium.NoSuchSessionException:
invalid session id (A session is either terminated or not started (96fadd11-052b-4d73-853f-707a2d0b5f10), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'MAHESHLAPTOP', ip: '172.25.80.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {appActivity: .Calculator, appBuildVersion: , appPackage: com.android.calculator2, appReleaseVersion: , appiumVersion: 1.8.0, applicationClearData: false, autoAcceptAlerts: false, autoDismissAlerts: false, autoGrantPermissions: false, autoWebview: false, commandTimeouts: 120000, desired: {appActivity: .Calculator, appPackage: com.android.calculator2, deviceName: emulator-5554, platformName: android, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul}, device.category: PHONE, device.majorVersion: 5, device.manufacture: HUAWEI, device.model: CUN-L22, device.name: CUN-L22, device.os: Android, device.screenSize: 720x1280, device.serialNumber: PNTBBCB690927198, device.version: 5.1, deviceName: emulator-5554, deviceUDID: PNTBBCB690927198, dontGoHomeOnQuit: false, dontStopAppOnReset: false, fullReset: false, install.only.for.update: false, installOnlyForUpdate: false, instrumentApp: false, javascriptEnabled: true, keystorePath: ~/.android/debug.keystore, locationServicesAuthorized: false, newSessionWaitTimeout: 600, noReset: false, platform: ANDROID, platformName: android, projectName: , reportDirectory: reports, reportFormat: xml, reportUrl: C:\Users\IGS0258\appiumstud..., reservationDuration: 240, takeScreenshots: true, test.type: Mobile, testName: mobile test 01/08/22 03:04 PM, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul, udid: PNTBBCB690927198, useKeystore: false, waitForDeviceTimeout: 120000}
Session ID: 96fadd11-052b-4d73-853f-707a2d0b5f10
*** Element info: {Using=id, value=digit_7}
at healenium.TestEmulatorCalcApp.testFindElementsOk(TestEmulatorCalcApp.java:80)
[ERROR] testResultOk Time elapsed: 0.009 s <<< ERROR!
org.openqa.selenium.NoSuchSessionException:
invalid session id (A session is either terminated or not started (96fadd11-052b-4d73-853f-707a2d0b5f10), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'MAHESHLAPTOP', ip: '172.25.80.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {appActivity: .Calculator, appBuildVersion: , appPackage: com.android.calculator2, appReleaseVersion: , appiumVersion: 1.8.0, applicationClearData: false, autoAcceptAlerts: false, autoDismissAlerts: false, autoGrantPermissions: false, autoWebview: false, commandTimeouts: 120000, desired: {appActivity: .Calculator, appPackage: com.android.calculator2, deviceName: emulator-5554, platformName: android, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul}, device.category: PHONE, device.majorVersion: 5, device.manufacture: HUAWEI, device.model: CUN-L22, device.name: CUN-L22, device.os: Android, device.screenSize: 720x1280, device.serialNumber: PNTBBCB690927198, device.version: 5.1, deviceName: emulator-5554, deviceUDID: PNTBBCB690927198, dontGoHomeOnQuit: false, dontStopAppOnReset: false, fullReset: false, install.only.for.update: false, installOnlyForUpdate: false, instrumentApp: false, javascriptEnabled: true, keystorePath: ~/.android/debug.keystore, locationServicesAuthorized: false, newSessionWaitTimeout: 600, noReset: false, platform: ANDROID, platformName: android, projectName: , reportDirectory: reports, reportFormat: xml, reportUrl: C:\Users\IGS0258\appiumstud..., reservationDuration: 240, takeScreenshots: true, test.type: Mobile, testName: mobile test 01/08/22 03:04 PM, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul, udid: PNTBBCB690927198, useKeystore: false, waitForDeviceTimeout: 120000}
Session ID: 96fadd11-052b-4d73-853f-707a2d0b5f10
*** Element info: {Using=id, value=digit2}
at healenium.TestEmulatorCalcApp.testAddOperation(TestEmulatorCalcApp.java:91)
at healenium.TestEmulatorCalcApp.testResultOk(TestEmulatorCalcApp.java:67)
[ERROR] testResultHealed Time elapsed: 0.014 s <<< ERROR!
org.openqa.selenium.NoSuchSessionException:
invalid session id (A session is either terminated or not started (96fadd11-052b-4d73-853f-707a2d0b5f10), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'MAHESHLAPTOP', ip: '172.25.80.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {appActivity: .Calculator, appBuildVersion: , appPackage: com.android.calculator2, appReleaseVersion: , appiumVersion: 1.8.0, applicationClearData: false, autoAcceptAlerts: false, autoDismissAlerts: false, autoGrantPermissions: false, autoWebview: false, commandTimeouts: 120000, desired: {appActivity: .Calculator, appPackage: com.android.calculator2, deviceName: emulator-5554, platformName: android, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul}, device.category: PHONE, device.majorVersion: 5, device.manufacture: HUAWEI, device.model: CUN-L22, device.name: CUN-L22, device.os: Android, device.screenSize: 720x1280, device.serialNumber: PNTBBCB690927198, device.version: 5.1, deviceName: emulator-5554, deviceUDID: PNTBBCB690927198, dontGoHomeOnQuit: false, dontStopAppOnReset: false, fullReset: false, install.only.for.update: false, installOnlyForUpdate: false, instrumentApp: false, javascriptEnabled: true, keystorePath: ~/.android/debug.keystore, locationServicesAuthorized: false, newSessionWaitTimeout: 600, noReset: false, platform: ANDROID, platformName: android, projectName: , reportDirectory: reports, reportFormat: xml, reportUrl: C:\Users\IGS0258\appiumstud..., reservationDuration: 240, takeScreenshots: true, test.type: Mobile, testName: mobile test 01/08/22 03:04 PM, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul, udid: PNTBBCB690927198, useKeystore: false, waitForDeviceTimeout: 120000}
Session ID: 96fadd11-052b-4d73-853f-707a2d0b5f10
*** Element info: {Using=id, value=digit2}
at healenium.TestEmulatorCalcApp.testAddOperation(TestEmulatorCalcApp.java:91)
at healenium.TestEmulatorCalcApp.testResultHealed(TestEmulatorCalcApp.java:74)
[ERROR] testFindElementsHealed Time elapsed: 0.014 s <<< ERROR!
Hi @GannaChernyshova , @alxkor , @DzmitryHumianiuk , @aakashr23 Pls help me here. i imported the project
example_appium_mvn and tried to run with appium studio, i got the invalid session id exception
[INFO] Running healenium.TestEmulatorCalcApp
Jan 08, 2022 3:04:25 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: OSS
Jan 08, 2022 3:05:36 PM io.appium.java_client.remote.AppiumCommandExecutor$1 lambda$0
INFO: Detected dialect: OSS
[ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 82.969 s <<< FAILURE! - in healenium.TestEmulatorCalcApp
[ERROR] testFindElementsOk Time elapsed: 0.066 s <<< ERROR!
org.openqa.selenium.NoSuchSessionException:
invalid session id (A session is either terminated or not started (96fadd11-052b-4d73-853f-707a2d0b5f10), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'MAHESHLAPTOP', ip: '172.25.80.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {appActivity: .Calculator, appBuildVersion: , appPackage: com.android.calculator2, appReleaseVersion: , appiumVersion: 1.8.0, applicationClearData: false, autoAcceptAlerts: false, autoDismissAlerts: false, autoGrantPermissions: false, autoWebview: false, commandTimeouts: 120000, desired: {appActivity: .Calculator, appPackage: com.android.calculator2, deviceName: emulator-5554, platformName: android, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul}, device.category: PHONE, device.majorVersion: 5, device.manufacture: HUAWEI, device.model: CUN-L22, device.name: CUN-L22, device.os: Android, device.screenSize: 720x1280, device.serialNumber: PNTBBCB690927198, device.version: 5.1, deviceName: emulator-5554, deviceUDID: PNTBBCB690927198, dontGoHomeOnQuit: false, dontStopAppOnReset: false, fullReset: false, install.only.for.update: false, installOnlyForUpdate: false, instrumentApp: false, javascriptEnabled: true, keystorePath: ~/.android/debug.keystore, locationServicesAuthorized: false, newSessionWaitTimeout: 600, noReset: false, platform: ANDROID, platformName: android, projectName: , reportDirectory: reports, reportFormat: xml, reportUrl: C:\Users\IGS0258\appiumstud..., reservationDuration: 240, takeScreenshots: true, test.type: Mobile, testName: mobile test 01/08/22 03:04 PM, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul, udid: PNTBBCB690927198, useKeystore: false, waitForDeviceTimeout: 120000}
Session ID: 96fadd11-052b-4d73-853f-707a2d0b5f10
*** Element info: {Using=id, value=digit_7}
at healenium.TestEmulatorCalcApp.testFindElementsOk(TestEmulatorCalcApp.java:80)
[ERROR] testResultOk Time elapsed: 0.009 s <<< ERROR!
org.openqa.selenium.NoSuchSessionException:
invalid session id (A session is either terminated or not started (96fadd11-052b-4d73-853f-707a2d0b5f10), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'MAHESHLAPTOP', ip: '172.25.80.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {appActivity: .Calculator, appBuildVersion: , appPackage: com.android.calculator2, appReleaseVersion: , appiumVersion: 1.8.0, applicationClearData: false, autoAcceptAlerts: false, autoDismissAlerts: false, autoGrantPermissions: false, autoWebview: false, commandTimeouts: 120000, desired: {appActivity: .Calculator, appPackage: com.android.calculator2, deviceName: emulator-5554, platformName: android, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul}, device.category: PHONE, device.majorVersion: 5, device.manufacture: HUAWEI, device.model: CUN-L22, device.name: CUN-L22, device.os: Android, device.screenSize: 720x1280, device.serialNumber: PNTBBCB690927198, device.version: 5.1, deviceName: emulator-5554, deviceUDID: PNTBBCB690927198, dontGoHomeOnQuit: false, dontStopAppOnReset: false, fullReset: false, install.only.for.update: false, installOnlyForUpdate: false, instrumentApp: false, javascriptEnabled: true, keystorePath: ~/.android/debug.keystore, locationServicesAuthorized: false, newSessionWaitTimeout: 600, noReset: false, platform: ANDROID, platformName: android, projectName: , reportDirectory: reports, reportFormat: xml, reportUrl: C:\Users\IGS0258\appiumstud..., reservationDuration: 240, takeScreenshots: true, test.type: Mobile, testName: mobile test 01/08/22 03:04 PM, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul, udid: PNTBBCB690927198, useKeystore: false, waitForDeviceTimeout: 120000}
Session ID: 96fadd11-052b-4d73-853f-707a2d0b5f10
*** Element info: {Using=id, value=digit2}
at healenium.TestEmulatorCalcApp.testAddOperation(TestEmulatorCalcApp.java:91)
at healenium.TestEmulatorCalcApp.testResultOk(TestEmulatorCalcApp.java:67)
[ERROR] testResultHealed Time elapsed: 0.014 s <<< ERROR!
org.openqa.selenium.NoSuchSessionException:
invalid session id (A session is either terminated or not started (96fadd11-052b-4d73-853f-707a2d0b5f10), A session could be terminated due to the end of timeout specified by newCommandTimeout https://docs.experitest.com/display/AS/Timeout+Capabilities) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 0 milliseconds
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
System info: host: 'MAHESHLAPTOP', ip: '172.25.80.1', os.name: 'Windows 10', os.arch: 'amd64', os.version: '10.0', java.version: '16.0.2'
Driver info: io.appium.java_client.android.AndroidDriver
Capabilities {appActivity: .Calculator, appBuildVersion: , appPackage: com.android.calculator2, appReleaseVersion: , appiumVersion: 1.8.0, applicationClearData: false, autoAcceptAlerts: false, autoDismissAlerts: false, autoGrantPermissions: false, autoWebview: false, commandTimeouts: 120000, desired: {appActivity: .Calculator, appPackage: com.android.calculator2, deviceName: emulator-5554, platformName: android, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul}, device.category: PHONE, device.majorVersion: 5, device.manufacture: HUAWEI, device.model: CUN-L22, device.name: CUN-L22, device.os: Android, device.screenSize: 720x1280, device.serialNumber: PNTBBCB690927198, device.version: 5.1, deviceName: emulator-5554, deviceUDID: PNTBBCB690927198, dontGoHomeOnQuit: false, dontStopAppOnReset: false, fullReset: false, install.only.for.update: false, installOnlyForUpdate: false, instrumentApp: false, javascriptEnabled: true, keystorePath: ~/.android/debug.keystore, locationServicesAuthorized: false, newSessionWaitTimeout: 600, noReset: false, platform: ANDROID, platformName: android, projectName: , reportDirectory: reports, reportFormat: xml, reportUrl: C:\Users\IGS0258\appiumstud..., reservationDuration: 240, takeScreenshots: true, test.type: Mobile, testName: mobile test 01/08/22 03:04 PM, test_data:testFindElementsOk:digit_7: testFindElementsHealed:digi..., test_data:testResultOk:result: testResultHealed:resul, udid: PNTBBCB690927198, useKeystore: false, waitForDeviceTimeout: 120000}
Session ID: 96fadd11-052b-4d73-853f-707a2d0b5f10
*** Element info: {Using=id, value=digit2}
at healenium.TestEmulatorCalcApp.testAddOperation(TestEmulatorCalcApp.java:91)
at healenium.TestEmulatorCalcApp.testResultHealed(TestEmulatorCalcApp.java:74)
[ERROR] testFindElementsHealed Time elapsed: 0.014 s <<< ERROR!