Manual Testing Interview Question: Difference Between Error, Defect, and Failure
Most of the time we face this question in our testing interview and most of the people find it difficult to find the difference between these term even after living in the industry since long time.
Error: This is cause due to human actions like code is not following the standard, there is some mistake in syntax, or there is mistake in invocation of variable or might be there is some mistakes in which database connectivity code is faulty. These all are counted as Error.
Defect: Defect is formal name of bug and if we are tester than we would be familiar with Bug.Defects may occurs due to errors(Mistakes in code or document) that cause deviation from actual result. Once a tester find error then this is called defect and when this is acknowledge by Developer or Design team along with Manager this become Bug.
Failure: Failure are caused by environment or sometime due to mishandling of product. Suppose we are using a compass just beside a current running wire then this will not show the correct direction and this is not helping in getting the right information from the product. In the same way radiation,magnetism,Electronic field. These things not only have impact on product but also impacts its hardware also.
In other way when a defect is found by end-user then this is called failure.
Hope this will help you to answer one more question in your interview
Nice
There is one point which I feel i should mention to correct the concept,
Tester observe the difference in behaviour then they see failure. and enter the details in system to track.
So tester always observe failure not errors. When defective code is executed, failures occur, If these failures are visible to customers, users, or other stakeholders, dissatisfaction with system quality may result
People make errors which introduce defects in the system and Tester observe the effect of defect whcih is failure.
So developer introduce defects because of errors, tetsre find the failure and developer again find the defect by debugging i.e. the root cause of the failure and fix it. Then Tester verify the failure i.e. failure is gone or not.
In short Failure occurs due to defect and defect occurs due to erros.
Hope this helps
Thank you Sir for correcting me..I am very happy today to see you here on my blog..
Thank you once again..
Please check below answer wheather my view is correct or not.
Defect : When an error founded by test engineer, then it is called as a defect.
Bug : Those error aggreed by the developer then it is called as bug.
Error : syntax error, logical user interface error, grafical user interface error.
It is a mismatch in a coding.
It is a deviation between the actuval result and expected result.
Kindly, let me know your comments on the same.
You are correct and have good understanding between these terminology.
But after all, these all term intends us to understand that actual behavior is varying from the expected one.
Hello sir,
can u explain what is the difference between test life cycle and software testing life cycle??
Hello sir,
Again i have one more doubt,what is test scenario??
and what is the difference between test case and test scenario sir
???
Thanks,
Monica
Go to this link
http://abodeqa.com/2012/05/07/difference-between-test-case-and-test-scenario/
A mistake in coding is called error ,error found by tester is called defect, defect accepted by development team then it is called bug ,build does not meet the requirements then it Is failure.
Nice conclusion..appreciated
Can you explain citrix protocol in HP LR with example.