Skip to content

How to run Test Cases in parallel

saickorpu edited this page Jun 4, 2019 · 5 revisions

How to run tests in parallel

This section describe how to run the test cases in parallel i.e., each test sheet will run parallel in your suite file.
To enable parallel running in your config sheet you need to set below key value pairs i.e., c-sheetname

Key Value
test.runparallel true
test.runparallel.threadcount number

How to run ui test on different browser versions with out rewriting or duplicating the test.

To run the single test on different browsers create a config step in your test case sheet and set the action to config for that step. In overrides column you need to define which web driver and version you want to run as shown in below table it can be comma separated or you can write each in each override column.
If you say webdriver::driverName in overrides column and you don't define the version and platform it picks up the default value from config sheet and it will run the testcase with those values.
Similarly if you define webdriver::driverName::version::versionNumber and no platform(OS) it picks up the platform for that driver from the config sheet.
So order should be webdriver::driverName::version::driverVersionNumber::platform::osType

Step Action Target Input Overrides Overrides
stepName config webdriver::chrome::version::71,webdriver::firefox::version::67 webdriver::chrome::version::72::platform::macOS
Clone this wiki locally