You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the setup and initial test code generated, and editing the appium.capabilities.json to add my emulator properly, I was able to succesfully run my tests to the emulator.
However, I need to be able to run the tests to a real device connected via USB (Android).
Debugging is on
I added my test device details on the capabilities json as well, so the appium.capabilities.json looks like this now:
One for emulator and one for actual device. The emulator works just fine when running: npm run e2e android
However, when I connect my actual device and run the same command. It will not be shown in the list of devices and the command defaults to the emulator as a fallback.
I managed to get it to try to run to my actual device by using this command instead: npm run e2e -- --runType=realme --ignoreDeviceController --relaxedSecurity
I can confirm that it has now successfully installed the appium service on my device, but cannot move past running my app for testing. With these errors outputted:
Capabilities found at: ********
Automation name set to: UIAutomator1
To change automation name, you need to set it in appium capabilities!
Available applications: ["platforms/android/app/build/outputs/apk/debug/app-debug.apk"]
Pick first application: "platforms/android/app/build/outputs/apk/debug/app-debug.apk"
Application full path: ****\platforms\android\app\build\outputs\apk\debug\app-debug.apk
Platform version is missing! It would be better to set it in order to use the correct device!
Default device: { name: 'RMX1851',
platform: 'android',
config: { density: undefined, offsetPixels: undefined } }
Server args: ["-p","4723","--log-level","info","--relaxed-security"]
Started Server!
sample scenario
before loging . . . .
Session info:
undefined
Appium settings:
Current version of appium doesn't support appium settings!
{"message":"[execute(\"mobile: shell\",{\"command\":\"wm\",\"args\":[\"density\"]})] Not JSON response","data":"The URL '/wd/hub/session/execute' did not map to a valid resource"}
Retry launching appium driver!
Appium driver is NOT started!
(node:10604) [DEP0079] DeprecationWarning: Custom inspection function on Objects via .inspect() is deprecated
Anyone has an idea how to run the tests properly on real devices? (Android / IOS).
The text was updated successfully, but these errors were encountered:
Platform: Nativescript Angular
After the setup and initial test code generated, and editing the appium.capabilities.json to add my emulator properly, I was able to succesfully run my tests to the emulator.
However, I need to be able to run the tests to a real device connected via USB (Android).
I added my test device details on the capabilities json as well, so the appium.capabilities.json looks like this now:
One for emulator and one for actual device. The emulator works just fine when running:
npm run e2e android
However, when I connect my actual device and run the same command. It will not be shown in the list of devices and the command defaults to the emulator as a fallback.
I managed to get it to try to run to my actual device by using this command instead:
npm run e2e -- --runType=realme --ignoreDeviceController --relaxedSecurity
I can confirm that it has now successfully installed the appium service on my device, but cannot move past running my app for testing. With these errors outputted:
Anyone has an idea how to run the tests properly on real devices? (Android / IOS).
The text was updated successfully, but these errors were encountered: