What if the priority of a test case in TestNG is zero?

Asked by Last Modified  

2 Answers

Follow 2
Answer

Please enter your answer

IT Corporate Trainer with 9 years of experience in Edu tech

test cases with lower priority get executed first. One test method is allowed to have only one test priority in TestNG. If test priority is not defined explicitly while running multiple cases, TestNG assigns all cases with a Default test priority, i.e., zero (0).
Comments

Professional Trainer

If test priority is not defined explicitly while running multiple cases, TestNG assigns all cases with a Default test priority
Comments

Related Questions

this is free class or with fee class tell me
it will cost you only 4500/- for selenium testing
Profile Photo
Basavaraju
I want to know mobile application testing training institutes in Bangalore.
Hi Nithwesh, Why don't you go for online training classes where you can save time and money.
Profile Photo
Nithwesh
I want to do online software testing course. Manual + Automation.
I would recommend a free course of JAVA, Selenium, and Manual testing for you. No charges for tuition at the student home. Online is good but I don't provide that. 100 % free and world class education.
Profile Photo
Baby
I want to post my availability to work as a freelancer for doing Software development or testing related work, or even technical content writing. How can I place myself on UrbanPro?
Hello, Good morning! I recommend following couple of options for you in order to showcase your skills and share your experience among others. 1. Build your strong profile over elance or freelance portal....
Profile Photo
Nilambari
1 0
View Comments7

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

Priority vs Severity
Priority and severity level of defects needed to be defined as the development team cannot resolve all defects simultaneously. The test team needs to indicate how soon they want to get the defect fixed,...
V

Vijay

0 0
View Comments0

Manual Testing / Black Box Testing / Functional Testing.
Software Testing Scope is very high. Testing is forever. Career growth. Testing Finding the problems and reporting to developers. (Applications) Finally developers will fix the issues.
D


Selenium
Selenium Overview: Selenium Components and Architecture. Why Java for Selenium, Installing Java Eclipse. First Eclipse Project and Java program. Platform independence. Selenium...
Profile Photo

Priority in TestNG
public class Priority { @Test (priority=1)public void login() {System.out.println("login");} @Testpublic void email1() {System.out.println("email1");} @Test (priority=-2)public void email2() {System.out.println("email2");} //I...
S

Sarthak C.

0 0
View Comments0

Recommended Articles

A lot of students who look forward to build a career in IT are keen to know if Software Testing could be stepping stone for them. Software testing is processes by means quality of the software is tested and improved. It is primarily done to figure out the differences between expected output and the actual output in software...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Whether it was the Internet Era of 90s or the Big Data Era of today, Information Technology (IT) has given birth to several lucrative career options for many. Though there will not be a “significant" increase in demand for IT professionals in 2014 as compared to 2013, a “steady” demand for IT professionals is rest assured...

Read full article >

Business Process outsourcing (BPO) services can be considered as a kind of outsourcing which involves subletting of specific functions associated with any business to a third party service provider. BPO is usually administered as a cost-saving procedure for functions which an organization needs but does not rely upon to...

Read full article >

Looking for Software Testing classes?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you