Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

multiCapabilities: [{ browserName: 'chrome', //mention machine1 ip-address in selenium address value //and give port id for selenium driver seleniumAddress: 'http://192.27.22.35:4444/wd/hub' }, #5477

@vijaychowthri

Description

@vijaychowthri

Hi there!

Is it possible to distribute and execute each scrips with multiple virtual or Jenkins agent Machine ?

For Example :

4 scrips/suite in config.js
4 Node/Agent/Slave machine configured in Jenkins

is it possible distribute each spec-file.js / Suites to each node ?

suites: { s1: ['scenario/test1.js'], s2: ['scenario/test2.js'], s3: ['scenario/test3.js'], s4: ['scenario/test4.js'] }

Config.js :

    'browserName': 'chrome',
    'shardTestFiles': true,
    'maxInstances': 4,
    seleniumAddress: 'http://ip1:4444/wd/hub',
    seleniumAddress: 'http://ip2:4444/wd/hub',
    seleniumAddress: 'http://ip3:4444/wd/hub',
    seleniumAddress: 'http://ip4:4444/wd/hub',

Thanks
Vijay

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions