Make sure your XML file has parallel="false", and not parallel="classes" or "methods". With this setting, it should definitely kick off in serial.
On Wednesday, 21 November 2012 11:50:01 UTC-5, StatusQuo wrote:
I am trying to create a test suite with multiple classes (all are parameterized test classes with @Dataproviders). All of these tests run perfectly individually and each have initilization code in their constructors(driver initilization and other setup procedures).I tried three ways( with parallel attribute set to false)
1) Run a single xml suite with different classes
2) Create different xml suites for each class and then a master suite with the paths of each individual xml suites
3) Created a class file with an main method and added all tests to Xml suite object.
I am trying to run each test class sequentially (order does not matter) but somehow tests get fired up parallelly with two or more browser instances running simultaneously.
Seeking some advice.