QA
QA Interview Questions and Answers for Freshers
Q1. Write BDD Usecase for given Scenario?
BDD usecase for user login scenario
Given the user is on the login page
When the user enters valid credentials
Then the user should be redirected to the dashboard
And the user should be able to access all the features
Q2. Write Selenium script for verifying login without testng
Selenium script for login verification without TestNG
Create a WebDriver instance
Navigate to the login page
Enter valid credentials
Click on the login button
Verify if the user is logged in successfully
Q3. How do you read excel using Selenium
Excel can be read using Apache POI library in Selenium
Download Apache POI library and add it to the project
Create a FileInputStream object to read the excel file
Create a Workbook object and load the excel file
Get the sheet and iterate through rows and columns to read data
Q4. Selenium script with Junit
Selenium script with Junit is used for automated testing of web applications.
Selenium is a tool for automating web browsers
Junit is a unit testing framework for Java
Selenium script with Junit can be used to test web applications
It can simulate user actions and verify expected results
Q5. Explain about STLC
STLC stands for Software Testing Life Cycle, which is a process of testing software from planning to deployment.
STLC consists of several phases such as requirement analysis, test planning, test design, test execution, and test closure.
Each phase has its own set of activities and deliverables.
STLC ensures that the software meets the quality standards and requirements of the stakeholders.
STLC helps in identifying defects early in the development cycle, which reduces the cost of...read more
QA Jobs
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