CodeceptJS icon indicating copy to clipboard operation
CodeceptJS copied to clipboard

How can I run my test scripts for multiple browsers without running script for multiple times?

Open PoojaMittal27 opened this issue 9 years ago • 6 comments

What are you trying to achieve?

What do you get instead?

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

  • CodeceptJS version:
  • NodeJS Version:
  • Operating System:
  • Protractor || WebDriverIO || Nightmare version (if related)
  • Configuration file:
# paste suite config here

PoojaMittal27 avatar Apr 14 '17 10:04 PoojaMittal27

is this relevant to https://github.com/Codeception/CodeceptJS/issues/464 ?

ghost avatar Apr 14 '17 11:04 ghost

yes

PoojaMittal27 avatar Apr 14 '17 12:04 PoojaMittal27

Maybe this new feature will work for you? http://codecept.io/advanced/#multiple-execution

DavertMik avatar Apr 18 '17 08:04 DavertMik

thanx for this great new feature, Michael ! next challange: adding CrossBrowserTesting.com - configuration to your config file; how do I send my tests through CBT on different CBT-configurations at the same time (multiple execution via CBT) in the same config as my local multiple execution-configfile.

so my challenge in short: 1 config file, in which I can choose to do a local multiple execution or a CBT multiple execution.

joelgrimberg avatar Apr 19 '17 14:04 joelgrimberg

Can someone please provide a working example for this multiple browser implementation? I tried but its not working properly. Some simple example with config pls.

shrikanthkm07 avatar Apr 21 '17 09:04 shrikanthkm07

@joelgrimberg looks like you just need to use this documentation https://help.crossbrowsertesting.com/selenium-testing/frameworks/webdriver-io/

Or you want to run the same tests on different platforms? If yes, please create new issue about this, will think, what can be done for this.

Closing this issue, to run multiple browsers use http://codecept.io/advanced/#multiple-execution

APshenkin avatar Jun 01 '17 09:06 APshenkin