Testing Interview Questions| Automation| Selenium Framework| SDET Mock Interview
Вставка
- Опубліковано 29 вер 2024
- In this video we have conducted software testing mock interview for QA/Testers/SDET
Test Plan is a document that describes the scope, objective and weight on software testing task whereas Test Strategy describes how testing needs to be done.
Test Plan is used at the project level whereas Test Strategy is used at the organization level.
Test Plan has the primary goal of how to test, when to test and who will verify whereas Test Strategy has the primary goal of what technique to follow and which module to check.
Test Plan can be changed whereas Test Strategy can’t change.
Test Plan is carried out by the test manager whereas the Test Strategy is carried out by the project manager.
1. What are your current roles & responsibilities, team size & brief about project you are working on
2. Lets consider your project went live and client got a critical defect
so your mgr calls your for doing RCA and what will you do in future to avoid such things?
Any Best practices or guidelines/ standards to follow.
3. what is ALM workflow?
ALM workflow includes
Release Specification
Requirement Specification
Test Planning
Test Execution
Defect Tracking
4. Do you have any incident in your career where you found a very special bug
5. Do you think test cases should be maintained or it is just a wastage of time? what is your opinion
6. what is difference between unit & integration testing
7. what is purpose of writing test cases
8. difference between HashMap and Hashtable?
HashMap and Hashtable both implements Map interface and looks similar, however, there is the following difference between HashMap and Hashtable.
HashMap allows null key and values whereas Hashtable doesn’t allow null key and values.
Hashtable is synchronized but HashMap is not synchronized. So HashMap is better for single threaded environment, Hashtable is suitable for multi-threaded environment.
LinkedHashMap was introduced in Java 1.4 as a subclass of HashMap, so incase you want iteration order, you can easily switch from HashMap to LinkedHashMap but that is not the case with Hashtable whose iteration order is unpredictable.
HashMap provides Set of keys to iterate and hence it’s fail-fast but Hashtable provides Enumeration of keys that doesn’t support this feature.
Hashtable is considered to be legacy class and if you are looking for modifications of Map while iterating, you should use ConcurrentHashMap.
9. What is difference between Array and ArrayList? When will you use Array over ArrayList?
Arrays can contain primitive or Objects whereas ArrayList can contain only Objects.
Arrays are fixed-size whereas ArrayList size is dynamic.
Arrays don’t provide a lot of features like ArrayList, such as addAll, removeAll, iterator, etc.
Although ArrayList is the obvious choice when we work on the list, there are a few times when an array is good to use.
10. what is the purpose of defect review meeting
• To help prioritize defect fixes for Implementation, Legacy support, and Conversion teams.
• To discuss and assign priority and severity to defects, discuss the expected turnaround time and the planned turnaround time.
• To monitor and review the progress of defect fixes that is due or overdue as of current date.
• To determine the extent of retesting required due to a fix/ enhancement.
• To escalate defects/ issues to PMO when a quick resolution is required, or in case of a deadlock on ownership of defects/ issues.
• To identify whether defect is assigned to right team
• Identify defects that need to be deferred to subsequent releases
1. When should we stop testing?
Ans. Testing (both manual and automated) can be stopped when one or more of the following conditions are met-
1. After test case execution - The testing phase can be stopped when one complete cycle of test cases is executed after the last known bug fix with the agreed-upon value of pass-percentage.
2. Once the testing deadline is met - Testing can be stopped after deadlines get met with no high priority issues left in the system.
3. Based on Mean Time Between Failure (MTBF) - MTBF is the time interval between two inherent failures. Based on stakeholder’s decisions, if the MTBF is quite a large one can stop the testing phase.
4. Based on code coverage value - The testing phase can be stopped when the automated code coverage reaches a specific threshold value with sufficient pass-percentage and no critical bug.
She ans all the question really good and clearly not faking the ans... Best Automation Interview
Thanks for watching!!
The method overriding , autoupcasting, inheritance, interface , run time polymorphism all these concepts falls in Webdriver driver = new chromedriver() ;
Bharathi your confidence level is awesome.you nailed the interview. RD your questions also very unique.Great job👍
Thank you for watching!
Great Initiative...
For overriding we have listeners and log4j for reporting
1.Listeners we have Itestlistner and IretryAnalyzer where we over ride methods like ontestsuccess() ontestfailure() and retry() for running failed tc.
2.for Log4j we override methods for creating logs like starttc(), endtc(), etc that are over riden
Yes, you are right
I love the fact that you concentrate so much into CI/CD. Not many people do that!!
Thanks for watching!
Abstract method must be override in child class. As we are using abstraction.
Communication and confidence is good..Nice interview..
Thanks for watching!!
We have implemented one ActionInterface in that we implemented utility methods and these methods are overriding in framework where ever it is required in this way we are achieving overriding concept.
Great to know that
Informative Video 👍All questions matches with real time interview
Thanks for watching!!
Abstract method will override in subclass and we provide implementation for it.
Wonderful, thanks for response!
Creating driver instance with firefox or chrome is example of method overriding in selenium
Great knowlageble interview for new learner as well as experience person.👍
Glad it was helpful!
Very nice.... thank you so much
Most welcome 😊
29:09
thnx sir plz make more mock video
Sure I will
She answered well !! With no hurry.. great confidence and perfect responses
Thanks for watching
By polymorphism
ITestlisterns class we used to override the method
Wonderful response!!
A helpful video , thank you .
Glad it was helpful!
In the Automation we use listers class, we are implementing iTestlistners interface and override its methods as per our needs.
Same we use Retry class to re run the same fail test case as per defined count. we implements IRetryAnalyzer and override it
Wonderful!!
Very informative session..even i have also same knowledge as candidate said about usage of overriding in our framework like get() and navigate ().. I am also looking for answer since very long back.. If anyone knows please let me know...
Thanks for watching!
Whenever a class extends an interface, we have to implement all the unimplemented methods in the interface , by doing so we will get @override annotation above the methods
In this case WebDriver is an interface, and ChromeDriver is a class which is implementing WebDriver, so while using get() it will be overriden
we are already using method overriding in our Automation, but most of us are not recognizing it. we are using it in implicit wait.
driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS)
driver.manage().timeouts().implicitlyWait(10, TimeUnit.MINUTES)