Hire QA – Specialized in QA Recruitment, Technical Interviews and Testing Solutions

What is the default priority of test cases in TestNG

Category: TestNG

The default priority of a test when not specified is integer value 0. So, if we have one test case with priority 1 and one without any priority then the test without any priority value will get executed first (as default value will be 0 and tests with lower priority are executed first).

Leave a Reply

Your email address will not be published. Required fields are marked *