Test Analyst
100+ Test Analyst Interview Questions and Answers

Asked in TCS

Q. Which is better, star schema or snowflake schema?
Both have their own advantages and disadvantages depending on the use case.
Star schema is simpler and easier to understand, but may not be suitable for complex data relationships.
Snowflake schema is more normalized and can handle complex data relationships, but can be more difficult to understand and maintain.
The choice between the two depends on the specific requirements of the project and the data being analyzed.
For example, a data warehouse for a retail company may benefit...read more

Asked in Infosys

Q. We capture screenshots using the TakesScreenshot method. The syntax for it is File file = ((TakesScreenshot)driver).getScreenshotAs(outputType.FILE);
The TakesScreenshot method captures screenshots in Selenium WebDriver for testing purposes.
TakesScreenshot is an interface in Selenium WebDriver.
It allows capturing screenshots during test execution.
Example: File file = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
The screenshot can be saved to a desired location using FileUtils.
Useful for debugging and verifying UI elements.

Asked in Infosys

Q. what is oops? its characteristics. Collection classes.
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
OOPs focuses on creating objects that contain data and methods to manipulate that data.
Characteristics of OOPs include encapsulation, inheritance, polymorphism, and abstraction.
Collection classes in OOPs are used to store and manipulate groups of objects, such as lists, sets, and maps.

Asked in Intact Green Services

Q. What is basic API testing, and can you explain what Swagger is?
Basic API testing ensures that APIs function correctly, while Swagger is a tool for documenting and testing APIs.
API testing verifies the functionality, reliability, and performance of APIs.
It involves sending requests to the API and validating responses.
Common methods include GET, POST, PUT, and DELETE requests.
Swagger is an open-source tool that helps design, build, document, and test APIs.
It provides a user-friendly interface to interact with API endpoints.
Swagger UI allow...read more

Asked in FNZ

Q. What is Test Coverage? What is the formula
Test coverage measures the extent of testing performed on a software application, ensuring all requirements are validated.
Test coverage is typically expressed as a percentage of the total requirements or code that has been tested.
Formula: Test Coverage = (Number of Test Cases Executed / Total Number of Test Cases) * 100.
Example: If you have 80 test cases and executed 60, the coverage is (60/80) * 100 = 75%.
High test coverage indicates thorough testing, but it doesn't guarante...read more
Asked in Empirical Solutions

Q. What is smoke testing, sanity testing, black box testing, test cases.
Smoke testing, sanity testing, black box testing, and test cases are all important concepts in software testing.
Smoke testing is a preliminary test to check if the basic functionalities of the software are working without any major issues.
Sanity testing is a subset of regression testing and focuses on testing specific functionalities after changes have been made.
Black box testing is a testing technique where the internal workings of the software are not known to the tester, w...read more
Test Analyst Jobs




Asked in Cognizant

Q. What tools have you used for test automation?
I have used Selenium, Appium and JMeter for test automation.
Selenium for web application testing
Appium for mobile application testing
JMeter for performance testing
Created test scripts using Java programming language
Integrated with CI/CD tools like Jenkins
Used Page Object Model design pattern for maintainability
Implemented data-driven and keyword-driven testing
Executed tests on multiple browsers and devices

Asked in Infosys

Q. What are the different types of frameworks that you have implemented as part of automation?
I have implemented data-driven, keyword-driven, and hybrid frameworks for automation testing.
Data-driven framework: Used to separate test data from test scripts, allowing for easy maintenance and scalability.
Keyword-driven framework: Utilizes keywords to represent actions or operations, making test scripts more readable and reusable.
Hybrid framework: Combines elements of data-driven and keyword-driven frameworks for flexibility and efficiency.
Share interview questions and help millions of jobseekers 🌟

Asked in TCS

Q. What is STLC?
STLC stands for Software Testing Life Cycle.
STLC is a systematic approach to testing software applications.
It consists of various phases such as requirement analysis, test planning, test design, test execution, and test closure.
Each phase has specific objectives and deliverables.
STLC ensures that the software is thoroughly tested and meets the quality standards.
It helps in identifying defects early in the development cycle, reducing the cost of fixing them later.
STLC is an in...read more
Asked in Venpa Global Technologies

Q. What is black box testing and white box testing?
Black box testing is testing without knowledge of the internal workings of the system, while white box testing is testing with knowledge of the internal workings of the system.
Black box testing focuses on the functionality of the system.
White box testing focuses on the internal structure of the system.
Black box testing is often used for user acceptance testing.
White box testing is often used for unit testing.
Black box testing is performed without access to the source code.
Whi...read more

Asked in Coforge

Q. Coding questions of java 1.balanced parenthesis program 2. Find no of occurrence of each character in a string
1. Balanced parenthesis program - check if a string of parentheses is balanced. 2. Find no of occurrence of each character in a string.
For balanced parenthesis program, use a stack to keep track of opening and closing parentheses.
For finding occurrence of each character in a string, use a HashMap to store character counts.
Example for balanced parenthesis program: Input: "((()))", Output: true
Example for finding occurrence of each character: Input: "hello", Output: {h=1, e=1, ...read more

Asked in Infosys

Q. Write a program to count the occurrences of a specific character in a string.
Program to count occurrences of specific character in a String
Iterate through each character in the string
Check if the character matches the specific character
Increment a counter if there is a match

Asked in Infosys

Q. How are OOPS concepts implemented in the framework?
OOPS concepts are implemented in the framework to ensure code reusability, modularity, and maintainability.
Encapsulation: Data hiding and restricting access to certain data members
Inheritance: Reusing code and extending functionality from parent classes
Polymorphism: Ability to perform different actions based on the object type
Abstraction: Hiding complex implementation details and showing only necessary features

Asked in FNZ

Q. Write 5 System Test Cases and 5 System Integration test cases for the Passport Seva site.
Test cases for the Passport Seva site focusing on system and integration testing.
Test Case 1: Verify user registration with valid details.
Test Case 2: Validate login functionality with correct credentials.
Test Case 3: Check password recovery process with registered email.
Test Case 4: Ensure appointment booking works with available slots.
Test Case 5: Validate payment processing for passport fees.
Integration Test Case 1: Verify integration with payment gateway for transactions....read more

Asked in FirstCry

Q. What is QA Artifacts What are methods of API testing , Explain each one. Explain all API Error codes
QA artifacts are documents or deliverables that are created during the QA process to support testing activities.
QA artifacts include test plans, test cases, test scripts, test data, and test reports.
These artifacts help in organizing and documenting the testing process.
They provide a reference for test execution, tracking defects, and reporting test results.
Examples of QA artifacts are test plans that outline the testing approach, test cases that describe the steps to be exec...read more

Asked in Infosys

Q. Write a program to calculate the sum of all digits in a given string (e.g., "5g556fdf").
Program to get sum of all digits from a string
Iterate through each character in the string
Check if the character is a digit using Character.isDigit() method
If it is a digit, convert it to integer and add it to a running sum

Asked in Infosys

Q. Write Selenium code to close all windows except one.
Use Selenium logic to close all windows except one.
Get all window handles using driver.getWindowHandles()
Iterate through each window handle and close it except for the desired window
Switch to the desired window using driver.switchTo().window()

Asked in HSBC Group

Q. What is testing? why is important
Testing is the process of evaluating a system or component to ensure it meets specified requirements.
Testing helps identify defects or errors in software or systems.
It ensures that the software or system functions as intended.
Testing helps improve the quality and reliability of the software or system.
It provides confidence to stakeholders that the software or system is ready for use.
Testing helps in identifying and mitigating risks.
Examples of testing include functional testi...read more

Asked in CGI Group

Annotations in Cucumber are tags that can be added to feature files or step definitions to provide additional information or functionality.
Annotations in Cucumber start with the '@' symbol.
Annotations can be used to organize and categorize feature files or step definitions.
Annotations can also be used to control the execution flow of scenarios.
Examples of annotations in Cucumber include @Before, @After, @Given, @When, @Then, etc.

Asked in Tech Mahindra

Q. Explain briefly what you did as part of the Agile methodology.
Agile methodology involves iterative development, collaboration, and flexibility in responding to change.
Iterative development: Work is broken down into small increments and delivered in short cycles.
Collaboration: Cross-functional teams work together closely throughout the project.
Flexibility: Requirements and solutions evolve through the collaborative effort of self-organizing teams.
Examples: Daily stand-up meetings, sprint planning, backlog grooming, and retrospectives.

Asked in Infosys

Q. What function is used in Selenium to access certified websites?
The function used in Selenium to access certified websites is 'acceptSslCerts()'.
Use the 'acceptSslCerts()' function in Selenium to access certified websites
This function is used to bypass SSL certificate errors while accessing secure websites
Example: driver = new ChromeDriver(); driver.manage().acceptSslCerts();

Asked in Infosys

Triggers in SQL are special stored procedures that are automatically executed when certain events occur in a database.
Triggers can be used to enforce business rules, maintain referential integrity, and automate tasks.
There are two main types of triggers: DML triggers (executed in response to data manipulation language events) and DDL triggers (executed in response to data definition language events).
Examples of triggers include automatically updating a timestamp when a record...read more

Asked in Mercer

Q. what is white box and black box testing
White box testing is testing the internal structure of the system while black box testing is testing the external behavior of the system.
White box testing is also known as clear box testing or structural testing.
It involves testing the code, architecture, and design of the system.
Examples include unit testing, integration testing, and code coverage analysis.
Black box testing is also known as functional testing or behavioral testing.
It involves testing the system's functionali...read more

Asked in Fujitsu

Automation testing is useful when repetitive tests need to be executed quickly and efficiently.
Useful for regression testing to ensure previous functionality still works
Helps in executing tests on multiple configurations quickly
Useful for load testing to simulate multiple users accessing the system simultaneously

Asked in Sun Life Financial

Q. What are your career plans for the next five years?
To gain experience in software testing and advance my career in the field.
I plan to continue learning and improving my skills in software testing.
I hope to take on more challenging projects and responsibilities.
I would like to eventually become a senior test analyst or move into a management role.
I am open to exploring new technologies and methodologies in the field.
I plan to attend industry conferences and networking events to stay up-to-date on industry trends and best prac...read more

Asked in FNZ

Q. What is the difference between UAT and System testing?
UAT is user acceptance testing where end users validate the system, while system testing is done by testers to validate the system against requirements.
UAT is done by end users to ensure the system meets their requirements and is ready for production.
System testing is done by testers to validate the system against functional and non-functional requirements.
UAT focuses on user scenarios and real-world usage, while system testing focuses on technical aspects and system behavior...read more

Asked in Nagarro

Q. How do you retrieve the placeholder value of an input box?
Use JavaScript to get the placeholder value of an input box
Use the 'getAttribute' method to get the 'placeholder' attribute value of the input box element
Example: var placeholderValue = document.getElementById('inputBox').getAttribute('placeholder');

Asked in Accenture

Q. In which testing phase is traceability prepared?
Traceability is prepared during the requirements phase to ensure all requirements are tested.
Traceability is established during the requirements gathering phase.
It ensures that all requirements are linked to corresponding test cases.
For example, if a requirement states 'User must log in', a test case will verify this functionality.
Traceability matrices are often used to document these links.
This process helps in identifying any missing test cases related to requirements.

Asked in Accenture

Q. 1. OOPS concepts 2. Different types of waits 3. Locator types 4. String manipulation program
The interview questions cover OOPS concepts, types of waits, locator types, and string manipulation programs.
OOPS concepts include inheritance, polymorphism, encapsulation, and abstraction.
Different types of waits in testing include implicit, explicit, and fluent waits.
Locator types in Selenium testing include ID, Name, XPath, CSS Selector, etc.
String manipulation programs involve tasks like reversing a string, finding substring, etc.

Asked in Cognizant

Q. What version of Tosca are you using?
We are currently using Tosca version 13.3.2.
Our team has been using this version for the past year.
It has proven to be stable and reliable for our testing needs.
Some of the new features we have been utilizing include the improved reporting capabilities and the enhanced test case design.
We have also found the integration with JIRA to be seamless and efficient.
Overall, we are very satisfied with our experience using Tosca version 13.3.2.
Interview Questions of Similar Designations
Interview Experiences of Popular Companies





Top Interview Questions for Test Analyst Related Skills

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

