Problems connecting the appium to the selenium grid

I'm having difficulty connecting Appium to a selenium grid.

Here is what I have for the nodeconfig file:

{
  "capabilities":
      [
        {
          "browserName":"iPhone5",
          "version":"6.1,
          "maxInstances": 1,
          "platform":"MAC"
        }
      ],
  "configuration":
  {
    "cleanUpCycle":2000,
    "timeout":30000,
    "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
    "url":`"http://127.0.0.1:4725/wd/hub",`
    "host": 127.0.0.1,
    "port": 4723,
    "maxSession": 1,
    "register": true,
    "hub": `"http://192.168.28.74:4444/grid/register"`
  }
}

Using the Appium app, I click on launch. It does not cause any errors, but I do not see it on the Grid console page.

If anyone has experience connecting Appium on a Mac to a Grid, can you go through it?

+4
source share
1 answer

Appium iOS Mac OS X . Selenium Server , Jenkins Selenium. node node.js Appium.app .

, , .

, , nodeconfig - :

"browserName":"iPhone5", <- here you have different types of double quotes " and "
"version":"6.1 <- here the same and also one is missing.

, JSON.

, :

{
  "capabilities":
      [
        {
          "browserName": "iPhone5",
          "version":"7.1",
          "maxInstances": 1,
          "platform":"MAC"
        }
      ],
  "configuration":
  {
    "cleanUpCycle":2000,
    "timeout":30000,
    "proxy": "org.openqa.grid.selenium.proxy.DefaultRemoteProxy",
    "url":"http://127.0.0.1:4723/wd/hub",
    "host": "127.0.0.1",
    "port": 4723,
    "maxSession": 1,
    "register": true,
    "registerCycle": 5000,
    "hubPort": 4444,
    "hubHost": "192.168.33.101"
  }
}

, .

+3

Source: https://habr.com/ru/post/1544794/


All Articles