Reputation: 57
I am trying to execute testcases using testng.xml. But for some reason the classes present inside testng.xml are not executing sequentially.It is executing alphabetically. I have given preserve-order as true. But it is showing below mentioned issue while setting it as true.
redundant default attribute value assignment
I am using intellij as ide.
Upvotes: 0
Views: 740
Reputation: 84
By default, the value is set to True
only. So that's why that warning is shown when you are again setting it to true.
Upvotes: 1
Reputation: 13
Maybe try to add parameter 'priority' to @Test in your code. Lower priority is executed before higher one.
Upvotes: 1