Test Analyst

100+ Test Analyst Interview Questions and Answers

Updated 12 Jul 2025
search-icon

Asked in Infosys

4d ago

Q. Explain framework and practical uses of oops concepts in framework . explain priority and severity. defect lifecycle

Ans.

Explanation of framework, OOPs concepts in framework, priority and severity, and defect lifecycle.

  • Framework is a set of guidelines, coding standards, and best practices to develop software applications.

  • OOPs concepts like inheritance, polymorphism, and encapsulation can be used in framework to make it more modular and reusable.

  • Priority is the level of importance assigned to a defect, while severity is the impact of the defect on the system.

  • Defect lifecycle includes identificat...read more

Q. What is the bug life cycle?

Ans.

Bug life cycle refers to the stages a bug goes through from discovery to resolution.

  • Bug is reported by tester

  • Bug is assigned to developer

  • Developer fixes the bug

  • Bug is retested by tester

  • Bug is closed if it passes retesting or reopened if it still exists

Test Analyst Interview Questions and Answers for Freshers

illustration image
Q. Why should Selenium be selected as a testing tool for web applications or systems?
Ans.

Selenium is a popular testing tool for web applications due to its flexibility, compatibility, and robust features.

  • Selenium supports multiple programming languages like Java, Python, and C#, making it versatile for different teams and projects.

  • It can automate testing across different browsers and platforms, ensuring consistent results regardless of the user's environment.

  • Selenium integrates well with other testing frameworks and tools, allowing for seamless test automation wo...read more

Q. Can you explain the Software Testing Life Cycle (STLC)?
Ans.

STLC is a process followed by testers to ensure high quality software is delivered.

  • STLC involves planning, designing, executing, and reporting on tests.

  • Phases include requirement analysis, test planning, test design, test execution, and test closure.

  • Each phase has specific goals and deliverables to ensure thorough testing.

  • Example: In requirement analysis, testers review requirements to identify test scenarios.

  • Example: In test execution, testers run test cases and report defec...read more

Are these interview questions helpful?
Q. What is the difference between manual testing and automated testing?
Ans.

Manual testing is done by humans, while automated testing is done using tools and scripts.

  • Manual testing involves testers executing test cases manually without the use of automation tools.

  • Automated testing involves using tools and scripts to automate the execution of test cases.

  • Manual testing is time-consuming and prone to human errors, while automated testing is faster and more reliable.

  • Manual testing is suitable for exploratory testing and ad-hoc scenarios, while automated ...read more

Asked in Accenture

4d ago
Q. What are the different parts of a test automation framework?
Ans.

A test automation framework consists of different parts that work together to automate testing processes.

  • Test scripts

  • Test data

  • Object repositories

  • Driver scripts

  • Reporting tools

Test Analyst Jobs

Pfizer logo
Manager, Senior Central Testing Analyst 6-9 years
Pfizer
3.9
Chennai
Infosys Limited logo
Test Analyst 4-5 years
Infosys Limited
3.6
₹ 5 L/yr - ₹ 9 L/yr
(AmbitionBox estimate)
Coimbatore
Tech Mahindra Ltd. logo
Tech Mahindra - MDM Test Analyst (4-6 yrs) 4-6 years
Tech Mahindra Ltd.
3.5
₹ 3 L/yr - ₹ 15 L/yr
(AmbitionBox estimate)

Asked in Amazon

1d ago

Q. What are the different types of testing?

Ans.

There are various types of testing including functional, performance, security, usability, and compatibility testing.

  • Functional testing ensures that the software meets the specified requirements.

  • Performance testing evaluates the system's responsiveness, scalability, and stability under different workloads.

  • Security testing identifies vulnerabilities and weaknesses in the software to protect against unauthorized access.

  • Usability testing focuses on the user experience and interf...read more

Q. 1-Diffeerence between explict wait and implicit wait 2-How to handle stale exceptions 3-XML parsing and Json parsing 4-Maven compile and Mavem install 5-Sql Join questions 6-Requirement.txt in Python 7-shallow...

read more
Ans.

Test Analyst interview questions on wait types, parsing, Maven, SQL, Python, and database connectivity and exceptions.

  • Explicit wait waits for a specific condition to be met, while implicit wait waits for a certain amount of time before throwing an exception

  • Stale exceptions occur when an element is no longer attached to the DOM, can be handled by refreshing the page or finding the element again

  • XML parsing involves reading and interpreting XML data, while JSON parsing involves ...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop
Q. What are some of the best practices in test automation?
Ans.

Some best practices in test automation include proper planning, selecting the right tools, maintaining test scripts, and continuous integration.

  • Proper planning before starting test automation to define objectives, scope, and strategy.

  • Selecting the right tools based on project requirements and team expertise.

  • Maintaining test scripts regularly to keep them up-to-date and relevant.

  • Implementing continuous integration to automate the testing process and catch issues early.

Q. Can you explain the JUnit annotations that are linked with Selenium?
Ans.

JUnit annotations like @Before, @Test, @After are commonly used with Selenium for test automation.

  • Annotations like @Before are used to set up preconditions before each test method

  • Annotations like @Test are used to mark a method as a test method

  • Annotations like @After are used to clean up after each test method

  • Annotations like @Ignore are used to skip a test method

  • Annotations like @RunWith are used to specify a custom test runner

3d ago

Q. How do you copy in all,difference BTW quality assurance and control,what is bug report,what is defect life cycle

Ans.

Quality assurance ensures quality of product while quality control ensures quality of process. Bug report is a document that contains information about a defect. Defect life cycle is the process of identifying, reporting, and resolving defects.

  • Quality assurance focuses on preventing defects while quality control focuses on identifying and correcting defects

  • Bug report includes information such as steps to reproduce, severity, and priority

  • Defect life cycle includes stages such ...read more

Asked in Fujitsu

4d ago

Q. What is the difference between automation testing and manual testing?

Ans.

Automation testing is the use of tools and scripts to execute test cases, while manual testing is performed manually by human testers.

  • Automation testing involves the use of automation tools and scripts to execute test cases.

  • Manual testing is performed manually by human testers without the use of automation tools.

  • Automation testing is faster and more efficient for repetitive tasks.

  • Manual testing allows for exploratory testing and human intuition.

  • Automation testing is suitable ...read more

5d ago
Q. How do you automate the testing of CAPTCHA?
Ans.

Automating CAPTCHA testing involves using tools like Selenium, API testing, and image recognition techniques.

  • Use Selenium to interact with the CAPTCHA element on the web page.

  • Utilize API testing to verify the functionality of the CAPTCHA system.

  • Implement image recognition techniques to automate solving CAPTCHAs.

  • Consider using third-party CAPTCHA solving services if necessary.

Q. What is the difference between Selenium and Cucumber?
Ans.

Selenium is a tool for automating web browsers, while Cucumber is a tool for behavior-driven development.

  • Selenium is used for automating web browsers to perform testing on web applications.

  • Cucumber is a tool for behavior-driven development, allowing tests to be written in plain language.

  • Selenium requires programming knowledge to write test scripts, while Cucumber allows tests to be written in a more user-friendly language like Gherkin.

  • Selenium can be used with various program...read more

Asked in NSE.IT

4d ago

Q. Explain the role of a tester in software testing.

Ans.

The role of a tester in software testing is to ensure the quality and functionality of the software.

  • Identifying and documenting test requirements

  • Creating test cases and test scenarios

  • Executing test cases and reporting defects

  • Performing regression testing

  • Collaborating with developers and stakeholders

  • Analyzing test results and providing feedback

  • Participating in test planning and strategy

  • Using various testing techniques and tools

  • Ensuring adherence to quality standards and proces...read more

Asked in NSE.IT

4d ago

Q. What is payment gateway testing?

Ans.

Payment gateway testing is the process of verifying the functionality, security, and reliability of a payment gateway system.

  • Testing the payment gateway integration with various payment methods

  • Verifying the transaction flow from initiation to completion

  • Testing the handling of different types of payment failures

  • Ensuring the security of sensitive customer data

  • Validating the response codes and error messages

  • Testing the refund and cancellation processes

  • Verifying the compatibility...read more

Asked in Infosys

5d ago

Q. Write a program where the input 'demo' returns the output 'deemmmoooo'.

Ans.

Program to repeat characters in a string based on their position

  • Iterate through each character in the input string

  • Repeat each character based on its position in the string

  • Concatenate the repeated characters to form the output string

Q. What are the different components of Selenium?
Ans.

Selenium has different components like Selenium IDE, Selenium WebDriver, Selenium Grid, and Selenium RC.

  • Selenium IDE is a record and playback tool for creating test scripts without coding.

  • Selenium WebDriver is a powerful tool for automating web applications across different browsers.

  • Selenium Grid is used for parallel testing across multiple machines and browsers.

  • Selenium RC (Remote Control) is the predecessor of WebDriver and is now deprecated.

Asked in Infosys

6d ago

Q. Have you ever experienced a situation where a mistake occurred and there was a blame game between the DevOps and testing teams?

Ans.

Yes, there was a mistake that led to blame game between devops and testing team.

  • Miscommunication between devops and testing team regarding deployment instructions

  • Lack of clarity on testing requirements leading to missed bugs

  • Pressure to meet deadlines causing rushed testing and deployment

Asked in Wingify

1d ago

Q. Explain testing of the simple login page. Testing framework architechture. Explain some exceptions in Java selenium. Get Vs Post, HTTP port numbers

Ans.

Testing a simple login page involves testing framework architecture, Java Selenium exceptions, and HTTP port numbers.

  • Testing the login functionality with valid and invalid credentials

  • Testing the error messages displayed for invalid credentials

  • Testing the session timeout functionality

  • Testing the password reset functionality

  • Using a testing framework like JUnit or TestNG

  • Handling exceptions like ElementNotVisibleException, NoSuchElementException, TimeoutException

  • Understanding the...read more

Q. Can you explain the working of SQL privileges?
Ans.

SQL privileges control access to database objects and operations.

  • SQL privileges determine what actions a user can perform on a database object.

  • Privileges include SELECT, INSERT, UPDATE, DELETE, and EXECUTE.

  • Privileges can be granted or revoked by the database administrator.

  • Users can have different privileges on different database objects.

  • For example, a user may have SELECT privilege on a table but not UPDATE privilege.

Q. What is the importance of agile testing?
Ans.

Agile testing is important for ensuring continuous feedback, adapting to changes, and delivering high-quality software.

  • Allows for continuous feedback from stakeholders and end-users

  • Enables teams to adapt to changing requirements and priorities

  • Promotes collaboration between developers, testers, and business stakeholders

  • Helps in delivering high-quality software in shorter iterations

  • Encourages early and frequent testing to catch defects early on

6d ago

Q. What actions do you take when a discussed module that needs to be developed is not present in the build you received?

Ans.

I investigate the absence of a module, communicate with the team, and ensure proper documentation and testing processes are followed.

  • Verify the build version against the requirements document to confirm the module's absence.

  • Communicate with the development team to understand if the module was delayed or removed.

  • Check for any release notes or documentation that might explain the missing module.

  • Document the issue in the defect tracking system for visibility and follow-up.

  • If nec...read more

1d ago

Q. What are the differences between Software Development Life Cycle (SDLC) and Software Testing Life Cycle (STLC)?

Ans.

SDLC focuses on software development phases, while STLC emphasizes testing phases to ensure quality and functionality.

  • SDLC encompasses all stages of software development, from planning to deployment.

  • STLC is specifically concerned with the testing phases, starting from test planning to test closure.

  • In SDLC, phases include requirements gathering, design, coding, and maintenance.

  • In STLC, phases include test planning, test design, test execution, and test closure.

  • SDLC is broader ...read more

Q. What is the difference between Regression Testing and Confirmation Testing?

Ans.

Regression testing is retesting of previously tested functionality, while confirmation testing is testing to ensure a defect fix.

  • Regression testing is performed to ensure that changes or fixes in the software do not introduce new defects or impact existing functionality.

  • Confirmation testing is performed to verify that a reported defect has been fixed and no longer exists in the software.

  • Regression testing focuses on the broader scope of the system, while confirmation testing ...read more

Asked in Infosys

6d ago

Q. How do you capture screenshots in Selenium? Which method is used ? Write Syntax for it

Ans.

Screenshots can be captured in Selenium using the getScreenshotAs method.

  • Use getScreenshotAs method to capture screenshots in Selenium

  • Syntax: File screenshotFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);

Asked in Infosys

1d ago

Q. How do you practice agile methodologies?

Ans.

Agile methodologies are an iterative approach to software development that prioritize customer satisfaction and collaboration.

  • I practice Agile methodologies by working closely with the development team and stakeholders to prioritize tasks and deliverables.

  • I participate in daily stand-up meetings to discuss progress and identify any roadblocks.

  • I use tools like JIRA to track tasks and ensure that they are completed within the sprint timeline.

  • I also prioritize testing throughout...read more

Q. What is negative testing?

Ans.

Negative testing is a software testing technique where inputs are intentionally provided to the system to produce errors or failures.

  • Negative testing is performed to ensure that the system can handle invalid or unexpected inputs gracefully.

  • It involves testing the system with invalid data, incorrect configurations, and boundary conditions.

  • The goal of negative testing is to identify vulnerabilities, error handling capabilities, and system stability.

  • Examples of negative testing ...read more

5d ago

Q. how you tested your last project project, how you tracked defect, what is RTM.

Ans.

I tested my last project by creating test cases, executing them, tracking defects in a defect tracking tool, and ensuring requirements traceability using RTM.

  • Created test cases based on requirements and executed them to validate the functionality.

  • Logged defects in a defect tracking tool such as Jira or Bugzilla, including detailed steps to reproduce and screenshots.

  • Regularly communicated with developers to discuss and resolve defects.

  • Maintained a Requirements Traceability Mat...read more

Asked in TCS

5d ago

Q. Should the datatype of selected columns remain the same for a minus query?

Ans.

Datatype consistency in minus query

  • Datatype of selected columns should remain same for minus query

  • Mismatch can cause errors or unexpected results

1
2
3
4
5
6
Next

Interview Experiences of Popular Companies

TCS Logo
3.6
 • 11.1k Interviews
Accenture Logo
3.7
 • 8.7k Interviews
Infosys Logo
3.6
 • 7.9k Interviews
Cognizant Logo
3.7
 • 5.9k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories
Test Analyst Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits