SDET Interview Question and Answers.
Jenkins Interview Questions and Answers.
Appium Interview Questions and Answers
Selenium Interview Questions and answers.
GIT Interview Questions and Answer
Test automation frameworks are necessary for several reasons, including:
- Efficiency: Automated tests can be run much faster and more frequently than manual tests, which can save a lot of time and resources.
- Consistency: Automated tests can be run with the same inputs and expected outputs every time, ensuring consistent results.
- Reduced human error: Automated tests remove the possibility of human error, which can lead to more accurate and reliable test results.
- Reusability: Automated tests can be reused for different versions of the software, which can save time and effort.
- Continuous integration: Automated tests can be integrated into continuous integration and continuous delivery pipelines, which can help identify and fix issues early in the development process.
- Scalability: Automated tests can be used to test large and complex applications, which would be impractical or impossible to test manually.
Ans: This is a very tricky question, you should share the exact changes you have made for your framework. For example, you can consider using Retry Listeners to rerun failed test cases. You also need to explain how you have implemented the same.
What is the Test Automation Framework?
Test Automation Framework is an Integral Part of Automation and it also makes sense also as designing & maintaining the Framework needs expertise. A test automation framework is a set of guidelines or rules that can be used to define test cases. These test cases can then be configured and implemented using test automation tools such as Selenium, Puppeteer, etc., to the delivery process via a CI_CD Pipeline.
A test automation framework will consist of practices and tools that are designed to create efficient test cases. These practices range from coding standards, test-data handling methods, object repository management, and managing access control to test environment and external tools, etc.
1. We want to organize and standardize the test suite, which will further help in:
- Reuse of test code
- Ease with which test cases can be added
2. We want to be able to provide a way to organize groups of test cases. This will enable us to run specific tests.
3. Provide a layer of abstraction to protect the test suite against changes in service call protocols in order to minimize changes to the test code.
4. Decoupling the test cases from the automation code could lead to test automation misses, lack of visibility of mapping between the test case to test function. Hence, we want to provide mapping between test cases to its corresponding automation function.
5. We want to be able to run our tests on any endpoint including the development desktops, all stages of the environment (DEVO/BETA/GAMMA etc), to enable integration testing on them.
6. We want to be able to use standard tools for reporting test runs, collecting metrics, deployments.
TestNG allows us to perform sophisticated groupings of test methods. Not only can we declare that methods belong to groups, but we can also specify groups that contain other groups. Then TestNG can be invoked and asked to include a certain set of groups while excluding another set. This gives us maximum flexibility in how we partition our tests. Example:
@Test(groups={"sanitytest","regressiontest"})
Ans: util package in Java is a package which contains various utility classes and interfaces. It provides basic functionality for commonly occurring use cases.
- ExtentReport
- ScreenShotUtility
- JsonReader
- RetryListener
- StringUtil
- AssertionService
Ans: Check POST HERE with all steps to perform Maven setup on Linux machine.
****************************************
TOP 15 BDD - CUCUMBER Interview Q&A
************************************************
✍️AUTHOR: LinkedIn Profile
************************************************
Learn (API-Microservice)Testing+ Selenium UI Automation-SDET with Self Paced Videos prepared by FAANG employees and LIVE Doubt Session
*************************************************
SeleniumWebdriver Automation Testing Interview Questions:
https://automationreinvented.blogspot.com/search/label/SeleniumWebdriver
API Testing Interview Question Set:
https://automationreinvented.blogspot.com/2022/03/top-80-api-testing-interview-questions.html
DevOps Interview Q&A:
https://automationreinvented.blogspot.com/2021/11/top-11-devops-interview-questions-and.html
Kubernetes Interview Question Set
https://automationreinvented.blogspot.com/search/label/Kubernetes
Docker Interview Question Set
https://automationreinvented.blogspot.com/Docker
Linux Interview question Set
https://automationreinvented.blogspot.com/search/label/Linux
Automation Testing/SDET Framework Design
https://automationreinvented.blogspot.com/search/label/FrameworkDesign
Java Related Interview Question Set
https://automationreinvented.blogspot.com/search/label/Java
GIT Interview Question Set:
https://automationreinvented.blogspot.com/2021/09/top-40-git-interview-questions-and.html
Coding Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Coding%20Questions
Mobile Testing Interview Question Set:
https://automationreinvented.blogspot.com/search/label/Mobile%20Testing
Python Interview Question Set for QAE - SDET - SDE:
https://automationreinvented.blogspot.com/search/label/Python
No comments:
Post a Comment