Stack the browser by replacing the session name with a class or test Name

I use TestNG to run parallel test execution on the browser stack.

In the json Browserstack configuration file, I declared all the necessary code.

Is it possible to pass a user name for each session in parallel execution

Here is my configuration file

{
  "server": "hub-cloud.browserstack.com",
  "user": "username",
  "key": "user",

  "capabilities": {
    "build": "Client Side",
    "name": "Test"
    "browserstack.debug": true
  },

  "environments": {
    "chrome": {
      "browser": "chrome"
    },
    "firefox": {
      "browser": "firefox"
    },
    "safari": {
      "browser": "safari"
    },
    "ie": {
      "browser": "internet explorer"
    }
  }
}

For each test class inside the package. The Browserstack Automate Dashboard control panel displays the Test Test Test, where, when I execute all the classes inside the package.

Can we pass a custom name for each class inside the assembly.

+4
source share

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


All Articles