Hi Team,
I am stuck on the last step in launching Appium Grid on 2 Android devices that are connected to the same Windows 7 machine. Your inputs will really help in moving forward:
Steps that I have done so far:
- Clonned the Appium and started the server on 2 different ports
- Created 2 different json files for each port and started Appium server using these files
- Now trying to deploy the selendroid test app on both device at same
time.
One one device it’s being added successfully but on other it error’s out with a message
“uiautomator quit before it successfully launched”
Although the Grid console shows both port connected for DefaultRemoteProxy (version : 1.2.0)
id : http://127.0.0.1:4730, OS : ANDROID and the second one id : http://127.0.0.1:4728, OS : ANDROID
node1.json
{
“capabilities”:
[
{
“browserName”: “Android”,
“version”:“4.4.2”,
“maxInstances”: 1,
“platform”:“ANDROID”
}
],
“configuration”:
{
“cleanUpCycle”:2000,
“timeout”:30000,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”:“http://127.0.0.1:4730/wd/hub”,
“maxSession”: 1,
“port”: “4730”,
“host”: “127.0.0.1”,
“register”: true,
“registerCycle”: 5000,
“hubPort”: “4444”,
“hubHost”: “127.0.0.1”
}
}
node2.json
{
“capabilities”:
[
{
“browserName”: “Android”,
“version”:“4.4.2”,
“maxInstances”: 1,
“platform”:“ANDROID”
}
],
“configuration”:
{
“cleanUpCycle”:2000,
“timeout”:30000,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”:“http://127.0.0.1:4728/wd/hub”,
“maxSession”: 1,
“port”: “4728”,
“host”: “127.0.0.1”,
“register”: true,
“registerCycle”: 5000,
“hubPort”: “4444”,
“hubHost”: “127.0.0.1”
}
}
Let me know if I am missing something or any more configuration required?
Thanks in Advance