Real iOS Device - Unalbe to start session in appium inspector in MAC - appium-ios

Error
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message: . Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
{
"appium:bundleId": "com.iconology.ComicsReader",
"appium:udid": "15cfafc4bbd70317b9ff7ae729a067c859f3890a",
"platformName": "iOS",
"appium:deviceName": "CMX's iPad",
"appium:automationName": "XCUITest"
}

Related

Unable to install WebdriverAgent on iOS simulator, getting error on Appium Desktop

Error Received:
Encountered internal error running command: Error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:8100
{
"platformName": "iOS",
"platformVersion": "15.4",
"deviceName": "iPhone 12",
"automationName": "XCUITest",
"UDID": "DEDB43E2-717B-44C6-963E-34847B5E8D90",
"app": "/Users/Tester/Library/Developer/Xcode/DerivedData/capital-behvzukvlynvsydkreldaexdsiot/Build/Products/Debug-iphonesimulator/CapitalAM.app"
I am using Appium Desktop.
This got fixed when I updated the Appium GUI to the latest version 1.22.2.

unable to create remote session-appium

I'm trying to connect appium inspector with desktop calculator through the following desired Capabilities
{
"platformName": "Windows",
"platformVersion": "10",
"deviceName": "WindowsPC",
"app": "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App"
}
but I get an error:
Failed to create session. An unknown server-side error occurred while processing the command. Original error: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED 127.0.0.1:4724
The default connect port is 4723, if you use 4724, you are using the custom server configuration. Make sure that appium server is running on port 4724.
Also make sure that developer mode enabled
https://learn.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development
and you've started appium server, and appium desktop app as Administrator.

Robot Framwork error: WebDriverException: Message: unknown error: Failed to create Chrome process

Getting this error when I try and run a test. I had to uninstall and reinstall chrome some time back and this then started happening. My chromedriver version is correct for my browser also
[ ERROR ] Calling method 'end_suite' of listener
'C:\Users\JRyan64\Projects\esp-case-management\tests\robot\Execution\ResultsListener.py'
failed: UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in
position 2640: character maps to
Tests.Robot.Tests.Cumulus.ESP.GS Portal.ADUX-11813.Test :: As a Po...
| FAIL | Parent suite setup failed: WebDriverException: Message:
unknown error: Failed to create Chrome process.
In this case there might be multiple reasons why you are getting this error:
running as root or administrator
chromedriver is not accessible, check $Path variable in "Environment Variables" or simply run chromedriver from command line to check if it's accessible.

after installing image crop picker and debug problem

my all project is working fine but when i install image crop picker dependency then it shows the error even there is no build.
FAILURE: Build failed with an exception. Error given below
What went wrong:
Execution failed for task ':app:processDebugResources'.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
F:\bgbyteappfolder\newbgb\node_modules\react-native-image-crop-picker\android\build\intermediates\library_manifest\debug\AndroidManifest.xml:10:5-14:15: AAPT: error: unexpected element found in .
BUILD FAILED in 31s
error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API..
i Am expecting rapid action on this failure stackoverflow family
Upgrade your gradle version by adding classpath 'com.android.tools.build:gradle:4.0.1' in your android/build.gradle file:
buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
}
}
After this clean your build folder by:
cd android
./gradlew clean

Error: connect ECONNREFUSED 127.0.0.1:8100

Could you help with this problem.
Appium 1.7.1
Xcode- 9.0
MacOS Siera 10.13
Capabilities:
{
"platformName": "iOS",
"platformVersion": "11.0",
"deviceName": "iPhone 6",
"app": "/Users/akoval/Downloads/BusyBox.app"
}
An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: Error: connect ECONNREFUSED 127.0.0.1:8100
Put Appium url value as
0.0.0.0:4723
Or
Localhost:4723
Remove the WDA from device and run the scripts again.
This would solve your problem
Try these caps these are working for me
serverCapabilities.setCapability("wdaStartupRetries", "4");
serverCapabilities.setCapability("iosInstallPause","8000" );
serverCapabilities.setCapability("wdaStartupRetryInterval", "20000");

Resources