QA Associate
QA Associate Interview Questions and Answers for Freshers
Q1. Difference between method overloading and overriding, Explain by code example
Method overloading is having multiple methods in the same class with the same name but different parameters. Method overriding is having a method in a subclass with the same name and parameters as a method in the superclass.
Method overloading is achieved within the same class by having multiple methods with the same name but different parameters.
Method overriding occurs in a subclass when a method has the same name and parameters as a method in the superclass, effectively rep...read more
Q2. explain hard and soft assert
Hard assert stops the test execution when a failure occurs, while soft assert continues the test execution after logging the failure.
Hard assert is used when a failure should stop the test immediately.
Soft assert is used when a failure should be logged but the test should continue.
Example: Hard assert - assert.assertEquals(actual, expected); Soft assert - softAssert.assertEquals(actual, expected); softAssert.assertAll();
Q3. prepare test case template
Test case template for QA testing
Test case ID
Test case description
Test steps
Expected result
Actual result
Pass/Fail status
QA Associate Jobs
Interview Questions of Similar Designations
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month