Reputation: 1
I have written few test cases using selenium/protractor and running on single page. I need to run same test cases against multiple pages parallely / one by one. How to implement this type of scenario?
Upvotes: 0
Views: 317
Reputation: 1110
Use this library https://www.npmjs.com/package/jasmine-data-provider
You can define different pages as data and run the same test one after another.
Upvotes: 0
Reputation: 525
if I got you right, use it. in protractor.conf add this piece of code
multiCapabilities: [
{'browserName': 'internet explorer'},
{'browserName': 'chrome'}
],
maxSessions: 1,
browserName - which browser you want to utilize maxSessions - how many of them you can run in parallel at a time in the remote system.
Upvotes: 0