Skip to content

AppServer

Dipjyoti Metia edited this page Jan 8, 2021 · 2 revisions

App Server

cd C:\Users\dipjyotimetia\AppData\Roaming\npm\node_modules\appium\build\lib
@echo off & setlocal
node main.js -a 172.23.126.97 -p 4723 -cp 4723 -bp 4732"
if errorlevel 1 (
echo Not successful
) else (
echo Successful
)node

Device Connect

cd C:\Users\dipjyotimetia\AppData\Local\Android\Sdk\platform-tools
@echo off & setlocal
adb -s 9889d6324131325a34 tcpip 5555
if errorlevel 1 (
echo Not successful
) else (
echo Successful
)adb

Start Appium Server

"C:\Program Files\nodejs\node.exe" "C:\Users\dipjyotimetia\AppData\Roaming\npm\node_modules\appium\build\lib\main.js"

Start Simulator

C:\Users\dipjyotimetia\AppData\Local\Android\Sdk\emulator\emulator -avd Pixel2

Wireless Connect

cd C:\Users\dipjyotimetia\AppData\Local\Android\Sdk\platform-tools
@echo off & setlocal
set IP=172.23.25.185:5555
adb connect %IP% | find /i "connected to" >nul
if errorlevel 1 (
echo Not successful
) else (
echo Successful
)adb

Clone this wiki locally