
Bajaj Finserv


10+ Bajaj Finserv QA Automation Engineer Interview Questions and Answers
Q1. Which framework you are using? explain your framework?
I am using the Selenium WebDriver framework for automation testing.
Selenium WebDriver is a popular open-source framework for automating web applications.
It supports multiple programming languages such as Java, Python, C#, etc.
It provides a rich set of APIs for interacting with web elements and performing actions.
It also supports parallel execution and integration with other tools like TestNG and Maven.
I have used it to automate testing for various web applications such as e-c...read more
Q2. Which annotation do you use for opening and closing browser?
The @BeforeMethod and @AfterMethod annotations are used for opening and closing the browser.
The @BeforeMethod annotation is used to open the browser before each test method.
The @AfterMethod annotation is used to close the browser after each test method.
These annotations are part of the TestNG framework.
Example: @BeforeMethod public void setUp() { //code to open browser } @AfterMethod public void tearDown() { //code to close browser }
Q3. what is Regression and Sanity testing? how and when you do it?
Regression testing ensures that changes to the code do not affect existing functionality. Sanity testing checks if the critical functionalities are working after a small change.
Regression testing is done after making changes to the code to ensure that existing functionalities are not affected.
Sanity testing is done after a small change to ensure that critical functionalities are still working.
Regression testing is done after every major change, while sanity testing is done af...read more
Q4. Types of environments you use in your organization?
We use multiple environments including development, testing, staging, and production.
Development environment for coding and testing new features
Testing environment for automated and manual testing
Staging environment for final testing before deployment
Production environment for live usage
Each environment is isolated and has its own database and configurations
We also use virtual environments for testing different operating systems and browsers
Q5. how to execute failed test cases?
Failed test cases can be executed by identifying the root cause of failure and fixing it before re-executing the test case.
Identify the root cause of failure by analyzing the test results and logs
Fix the issue causing the failure
Re-run the test case to ensure it passes
Update the test case status and report any defects found
Repeat the process for all failed test cases
Q6. How do you perform API testing?
API testing involves verifying the functionality, reliability, performance, and security of APIs.
Identify the API endpoints and their expected behavior
Create test cases to cover all possible scenarios
Use tools like Postman, SoapUI, or JMeter to send requests and validate responses
Verify the response status codes, headers, and payload
Test for security vulnerabilities like SQL injection or cross-site scripting
Automate API tests using frameworks like Selenium or RestAssured
Q7. Can you find xpath on any website?
Yes, but it may not always be the most efficient or reliable method.
Xpath can be used to locate elements on any website, but it may require some trial and error to find the correct path.
Other methods such as CSS selectors or ID attributes may be more efficient in some cases.
Xpath can also be affected by changes to the website's structure or layout.
Using browser developer tools can help in identifying the correct xpath for an element.
Q8. Difference between SDLC vs STLC ?
SDLC is the process of developing software while STLC is the process of testing software.
SDLC includes planning, designing, coding, testing, and maintenance stages while STLC includes test planning, test case development, test execution, and test closure stages.
SDLC focuses on the development of software while STLC focuses on the testing of software.
SDLC is a broader term that includes STLC as a part of it.
SDLC is a continuous process while STLC is a sequential process.
Exampl...read more
Q9. Different annotations and its hierarchy?
Annotations are used in Java to provide additional information about classes, methods, and fields.
Annotations are declared using the @ symbol followed by the annotation name.
Annotations can have attributes that can be set using key-value pairs.
Annotations can be applied to classes, methods, fields, parameters, and local variables.
Annotations can be inherited from superclasses or interfaces.
Annotations can be used for documentation, code analysis, and runtime processing.
Some c...read more
Q10. what are selenium waits?
Selenium waits are used to synchronize the test script execution with the web application's response time.
Selenium waits are used to handle synchronization issues in test automation.
There are three types of waits in Selenium: Implicit, Explicit, and Fluent waits.
Implicit waits wait for a certain amount of time before throwing an exception if the element is not found.
Explicit waits wait for a certain condition to occur before proceeding with the next step.
Fluent waits wait for...read more
Q11. Different parameters in postman tool?
Postman tool allows different parameters to be used for API testing.
Query Parameters: Used to filter and sort data in the API response.
Path Parameters: Used to identify a specific resource in the API.
Header Parameters: Used to provide additional information about the request.
Body Parameters: Used to send data in the request body.
Form Data Parameters: Used to send data in the form of key-value pairs.
Environment Variables: Used to store and reuse values across requests.
Q12. Authorization in postman tool?
Authorization in Postman tool is used to authenticate and authorize requests sent to APIs.
Authorization can be set in the Headers tab of a request in Postman
Common authorization methods include Basic Auth, OAuth 2.0, and API keys
Authorization can also be set globally for all requests in a collection
Postman also supports automatic token refresh for OAuth 2.0 authorization
More about working at Bajaj Finserv







Interview Process at Bajaj Finserv QA Automation Engineer

Top QA Automation Engineer Interview Questions from Similar Companies



Reviews
Interviews
Salaries
Users/Month

