Execute Protractor Test in parallel on different browser

Standard

In conf.js, You already have attribute named as ‘capabilities‘, You can set it to ‘chrome’ or ‘firefox’ or whatever I need and it runs just as expected.

capabilities: {
    'browserName': 'chrome'
},

using multiCapabilities will run all the tests in each of the browsers. So the configuration below will run every test twice, once in Firefox and once in Chrome

multiCapabilities: [{
            'browserName': 'chrome'
        }, {
            'browserName': 'firefox'
        }],

2015-11-09_12-50-15

Advertisements

2 thoughts on “Execute Protractor Test in parallel on different browser

  1. Aneesh

    Thanks for the tutorial. Is there any way to have different spec files for different browsers? My scenario involves parallel testing on web and mobile browsers.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s