TestComplete: Appium connection error: Failed to connect to 0.0.0.0://. The parameter is incorrect

Viewed 11

I am new to TestComplete, and working on Android app mobile testing. I have setup my system with prerequisites and configured the environment. Note: First I installed appium 1.22.2, however upon issues re-red the tutorials from the source at: https://support.smartbear.com/testcomplete/docs/app-testing/mobile/device-cloud/configure-appium/android-on-windows.html

I reverted to version 1.20.0 as the supported version.

Currently, I am using trial versions of TestComplete (15.47) and the BitBar trial account. The issues I am facing are:

1.Earlier I was getting errors upon installing UiAutomator2 or any versions of this driver

        using npm i appium-uiautomator2-driver  or
        using npm i -g appium-uiautomator2-driver

    1.1 However now it is installed 

however, since this driver has installed starting appium showing deprecation as below:

enter image description here

  1. Whenever I try to connect a locally connected device using the Local Appium option then I am getting the following: enter image description here

    2.1 I have tried both ways to use the deviceName e.g. revealed in the adb devices and shown in Android Studio.

     "deviceName" : "samsung SM-A107F" name shown in Appium studio R9DN6009VPJ
    
     "deviceName" : "R9DN6009VPJ"      name shown in adb devices
    

    2.2 I have tried both formats of the path of the app with forward slash / and backward slash, "app":"D:/TestCompleteProjects/AppFiles/Universal TV Remote Control_v2.0.1_apkpure.com.apk" "app":"D:\TestCompleteProjects\AppFiles\Universal TV Remote Control_v2.0.1_apkpure.com.apk"

but the issue has not been resolved.

Following are the details of my system:

a- Operating System : Windows 11 Professional

b- RAM : 16 GB

c- Processor : Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz 2.50 GHz

d- Installed Packages:

enter image description here

e- Device Profile:

enter image description here

f- Android Studio Device Names:

enter image description here

enter image description here

0 Answers
Related