Hi,
Can anyone please help me with this
I am trying to run the test in two emulators emulator-5554 and emulator-5556. Both the appium sessions are registered to the selenium Grid, the JSON files are given below so as the testng xml file.
Issue : Application is getting launched in both the emulators. After that in one emulator application is getting closed automatically and in second emulator the script runs few steps and then shut down without any error. There is no error log in the first emulator as well.
When i launch the appium servers, there is continous log generated with below message :
info: Appium REST http interface listener started on 127.0.0.1:4750
info: [debug] Non-default server args: {“address”:“127.0.0.1”,“port”:4750,“logNoColors”:true,“platformName”:“Android”,“platformVersion”:“23”,“automationName”:“Appium”,“nodeconfig”:“C:\Users\lalithsh\Desktop\json\nodeConfig2.json”}
info: Console LogLevel: debug
info: [debug] starting auto register thread for grid. Will try to register every 10000 ms.
info: [debug] Appium successfully registered with the grid on 127.0.0.1:4444
info: → GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.16”,“revision”:“ae6877eff263066b26328d457bd285c0cc62430d”}}}
info: ← GET /wd/hub/status 200 8.878 ms - 105 {“status”:0,“value”:{“build”:{“version”:“1.4.16”,“revision”:“ae6877eff263066b26328d457bd285c0cc62430d”}}}
info: → GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.16”,“revision”:“ae6877eff263066b26328d457bd285c0cc62430d”}}}
info: ← GET /wd/hub/status 200 5.026 ms - 105 {“status”:0,“value”:{“build”:{“version”:“1.4.16”,“revision”:“ae6877eff263066b26328d457bd285c0cc62430d”}}}
info: → GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.4.16”,“revision”:“ae6877eff263066b26328d457bd285c0cc62430d”}}}
info: ← GET /wd/hub/status 200 0.745 ms - 105 {“status”:0,“value”:{“build”:{“version”:“1.4.16”,“revision”:“ae6877eff263066b26328d457bd285c0cc62430d”}}}
info: → GET /wd/hub/status {}
JSON1:
{
“capabilities”:
[
{
“browserName”: “Android”,
“version”:“4.3”,
“maxInstances”: 3,
“platform”:“ANDROID”,
“deviceName”:“emulator-5556”
}],
“configuration”:
{
“nodeTimeout”:120,
“port”:4750,
“hubPort”:4444,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”:“http://127.0.0.1:4750/wd/hub”,
“hub”: “127.0.0.1:4444/grid/register”,
“hubHost”:“127.0.0.1”,
“nodePolling”:2000,
“registerCycle”:10000,
“register”:true,
“cleanUpCycle”:2000,
“timeout”:30000,
“maxSession”:1
}
}
JSON 2:
{
“capabilities”:
[
{
“browserName”: “Android”,
“version”:“4.3”,
“maxInstances”: 3,
“platform”:“ANDROID”,
“deviceName”:“emulator-5554”
}],
“configuration”:
{
“nodeTimeout”:120,
“port”:4723,
“hubPort”:4444,
“proxy”: “org.openqa.grid.selenium.proxy.DefaultRemoteProxy”,
“url”:“http://127.0.0.1:4723/wd/hub”,
“hub”: “127.0.0.1:4444/grid/register”,
“hubHost”:“127.0.0.1”,
“nodePolling”:2000,
“registerCycle”:10000,
“register”:true,
“cleanUpCycle”:2000,
“timeout”:30000,
“maxSession”:1
}
}