Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by TCS Team. If you also belong to the team, you can get access from here

TCS Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

TCS QA Engineer Interview Questions and Answers

Updated 6 Jul 2025

24 Interview questions

A QA Engineer was asked 3w ago
Q. How does the data provider annotation work in TestNG?
Ans. 

Data provider annotation in TestNG allows parameterized testing by supplying multiple sets of data to a single test method.

  • The @DataProvider annotation is used to create a method that supplies data to test methods.

  • It can return an Object[][] array, where each inner array represents a set of parameters for a test.

  • Example: @DataProvider(name = 'data') public Object[][] dataMethod() { return new Object[][] { {1, 2}, ...

A QA Engineer was asked 3mo ago
Q. What is a bug lifecycle?
Ans. 

A bug lifecycle outlines the stages a defect goes through from identification to resolution and closure.

  • 1. Identification: A bug is discovered during testing or by users. Example: A user reports a crash when opening an app.

  • 2. Reporting: The bug is documented in a bug tracking system with details. Example: A QA engineer logs the bug with steps to reproduce.

  • 3. Triage: The bug is assessed for severity and priority. E...

QA Engineer Interview Questions Asked at Other Companies

Q1. Suppose your manager gave you a task to complete in one week, but ... read more
Q2. There are 80 pairs of socks in a dark room, 40 black and 40 white ... read more
Q3. 100 apples are eaten in 5 consecutive days, with each day having ... read more
Q4. how to access amazon page directly directly with out using driver ... read more
Q5. If a pen's weight equals 2 kg plus half of its own weight, what i ... read more
A QA Engineer was asked 6mo ago
Q. Can you provide Selenium syntax examples for Select and explicit wait?
Ans. 

Selenium syntax for selecting elements and using explicit waits to ensure elements are ready for interaction.

  • Use Select class for dropdowns: `Select dropdown = new Select(driver.findElement(By.id('dropdownId')));`

  • To select an option: `dropdown.selectByVisibleText('Option Text');`

  • For explicit wait, use WebDriverWait: `WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10));`

  • Wait for an element to be ...

A QA Engineer was asked 6mo ago
Q. How do you write XPath queries for web applications?
Ans. 

XPath is a powerful language for navigating XML and HTML documents, essential for web app testing.

  • XPath uses path expressions to select nodes or a set of nodes in an XML document.

  • Example: //div selects all <div> elements in the document.

  • You can use predicates to filter results, e.g., //input[@type='text'] selects all text input fields.

  • XPath supports various axes like child, parent, and sibling, e.g., //ul/li...

What people are saying about TCS

View All
a digital marketer
3d
Do you think they're gonna work on employees' work-life balance, OR for just publicity?
Infosys, Infosys, TCS, Genpact Revise Workplace Policies Infosys is sending a warning mail, if an employee overshoots the daily limit while working remotely, the system triggers a notification Genpact introduced a new policy to log in before 11 am But will these companies really change, or is it just a show to mask their issues?
FeedCard Image
Got a question about TCS?
Ask anonymously on communities.
A QA Engineer was asked 7mo ago
Q. How do you sort an array using Java?
Ans. 

Sorting an array of strings using Java

  • Use Arrays.sort() method to sort the array of strings

  • You can also use a custom Comparator to define the sorting order

  • Example: String[] arr = {"apple", "banana", "cherry"}; Arrays.sort(arr);

A QA Engineer was asked 7mo ago
Q. How do you send keys using JSE?
Ans. 

Sending keys using JSE in QA testing

  • Use the sendKeys() method to send keyboard input to a web element

  • Locate the element using findElement() method before sending keys

  • Example: driver.findElement(By.id("username")).sendKeys("example@gmail.com")

A QA Engineer was asked 7mo ago
Q. Write code to manipulate a string array.
Ans. 

Understanding string arrays is crucial for managing collections of text data in programming.

  • A string array is a collection of strings, e.g., `String[] fruits = {"apple", "banana", "cherry"};`.

  • You can access elements using an index, e.g., `fruits[0]` returns "apple".

  • String arrays can be iterated using loops, e.g., `for (String fruit : fruits) { System.out.println(fruit); }`.

  • They can be used to store user inputs, e....

Are these interview questions helpful?
A QA Engineer was asked 7mo ago
Q. What methods can be inherited by a child class?
Ans. 

Methods that can be inherited by a child class include public and protected methods from the parent class.

  • Public methods in the parent class can be inherited by the child class.

  • Protected methods in the parent class can also be inherited by the child class.

  • Private methods in the parent class cannot be inherited by the child class.

A QA Engineer was asked 8mo ago
Q. What is meant by functional testing?
Ans. 

Functional testing is a type of software testing where the system is tested against the functional requirements/specifications.

  • Tests the functionality of the software application

  • Focuses on what the system does

  • Verifies that the system behaves as expected based on the requirements

  • Does not concern with how the system works internally

  • Examples: testing login functionality, search feature, data validation

A QA Engineer was asked 9mo ago
Q. How do you find locators?
Ans. 

Locators can be found using browser developer tools, inspecting elements, using unique attributes, and writing efficient XPath or CSS selectors.

  • Use browser developer tools to inspect elements on the webpage

  • Look for unique attributes like IDs, classes, or data attributes

  • Write efficient XPath or CSS selectors to locate elements

  • Consider using relative locators for dynamic elements

TCS QA Engineer Interview Experiences

47 interviews found

QA Engineer Interview Questions & Answers

user image Anonymous

posted on 30 Dec 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hackerank platform with multiple questions.

Round 2 - Technical 

(1 Question)

  • Q1. Oops, Java, Java collection, String

QA Engineer Interview Questions & Answers

user image Anindita Rath

posted on 26 May 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Apr 2025, where I was asked the following questions.

  • Q1. What is the Java program to count the characters in a word, such as the string s = "Apple"?
  • Ans. 

    This Java program counts the characters in a given string, such as 'Apple', and outputs the total count.

    • Use the length() method of the String class to get the character count. Example: s.length() for s = 'Apple'.

    • You can also use a loop to iterate through the string and count characters manually.

    • Consider edge cases like empty strings or null values.

  • Answered by AI
  • Q2. How data provider annotation works in TestNG
  • Ans. 

    Data provider annotation in TestNG allows parameterized testing by supplying multiple sets of data to a single test method.

    • The @DataProvider annotation is used to create a method that supplies data to test methods.

    • It can return an Object[][] array, where each inner array represents a set of parameters for a test.

    • Example: @DataProvider(name = 'data') public Object[][] dataMethod() { return new Object[][] { {1, 2}, {3, 4...

  • Answered by AI

QA Engineer Interview Questions & Answers

user image Anonymous

posted on 12 Nov 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. String array code
  • Ans. 

    Understanding string arrays is crucial for managing collections of text data in programming.

    • A string array is a collection of strings, e.g., `String[] fruits = {"apple", "banana", "cherry"};`.

    • You can access elements using an index, e.g., `fruits[0]` returns "apple".

    • String arrays can be iterated using loops, e.g., `for (String fruit : fruits) { System.out.println(fruit); }`.

    • They can be used to store user inputs, e.g., `...

  • Answered by AI
  • Q2. How to send keys using JSE
  • Ans. 

    Sending keys using JSE in QA testing

    • Use the sendKeys() method to send keyboard input to a web element

    • Locate the element using findElement() method before sending keys

    • Example: driver.findElement(By.id("username")).sendKeys("example@gmail.com")

  • Answered by AI

Skills evaluated in this interview

QA Engineer Interview Questions & Answers

user image Anonymous

posted on 6 Dec 2024

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
-

I applied via Job Portal and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Coding Test 

Find the duplicate number in array

QA Engineer Interview Questions & Answers

user image Anonymous

posted on 18 Oct 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. What is meant by functional testing?
  • Ans. 

    Functional testing is a type of software testing where the system is tested against the functional requirements/specifications.

    • Tests the functionality of the software application

    • Focuses on what the system does

    • Verifies that the system behaves as expected based on the requirements

    • Does not concern with how the system works internally

    • Examples: testing login functionality, search feature, data validation

  • Answered by AI
  • Q2. What is RCA document?
  • Ans. 

    RCA document stands for Root Cause Analysis document, which is used to identify the underlying cause of a problem or issue.

    • RCA document is a detailed report that outlines the steps taken to investigate and determine the root cause of a problem.

    • It includes information on the problem, the impact it had, the investigation process, findings, and recommendations for preventing similar issues in the future.

    • RCA documents are ...

  • Answered by AI

Skills evaluated in this interview

QA Engineer Interview Questions & Answers

user image Banasmik behera

posted on 4 Nov 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-

I applied via Naukri.com and was interviewed in Oct 2024. There were 3 interview rounds.

Round 1 - Coding Test 

String in another string

Round 2 - Aptitude Test 

Multiple questions, coding also important

Round 3 - HR 

(2 Questions)

  • Q1. What method can be inherited by the child class
  • Ans. 

    Methods that can be inherited by a child class include public and protected methods from the parent class.

    • Public methods in the parent class can be inherited by the child class.

    • Protected methods in the parent class can also be inherited by the child class.

    • Private methods in the parent class cannot be inherited by the child class.

  • Answered by AI
  • Q2. Locators in selenium
  • Ans. 

    Locators in Selenium are used to identify web elements on a webpage for automation testing.

    • Locators include ID, name, class name, tag name, link text, partial link text, CSS selector, and XPath.

    • ID is the most efficient locator as it is unique for each element.

    • XPath is powerful but slower as it traverses the entire DOM.

    • CSS selector is faster than XPath and can be used for complex selections.

    • Using unique locators helps i...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - coding is impotant

Skills evaluated in this interview

QA Engineer Interview Questions & Answers

user image Anonymous

posted on 15 Nov 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Basic python questions
Round 2 - Technical 

(1 Question)

  • Q1. Questions related APK

QA Engineer Interview Questions & Answers

user image Anonymous

posted on 5 Dec 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. XPath writing for web app
  • Ans. 

    XPath is a powerful language for navigating XML and HTML documents, essential for web app testing.

    • XPath uses path expressions to select nodes or a set of nodes in an XML document.

    • Example: //div selects all <div> elements in the document.

    • You can use predicates to filter results, e.g., //input[@type='text'] selects all text input fields.

    • XPath supports various axes like child, parent, and sibling, e.g., //ul/li sele...

  • Answered by AI
  • Q2. Selenium syntax writing for Select and explicit wait
  • Ans. 

    Selenium syntax for selecting elements and using explicit waits to ensure elements are ready for interaction.

    • Use Select class for dropdowns: `Select dropdown = new Select(driver.findElement(By.id('dropdownId')));`

    • To select an option: `dropdown.selectByVisibleText('Option Text');`

    • For explicit wait, use WebDriverWait: `WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10));`

    • Wait for an element to be click...

  • Answered by AI

Skills evaluated in this interview

QA Engineer Interview Questions & Answers

user image Santosh Kumar

posted on 26 Jun 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Asked about the project
  • Q2. Few Sql questions
Round 2 - One-on-one 

(2 Questions)

  • Q1. Manager round with checking why am interested in joining TCS
  • Q2. Asked about the understanding the projects executed
Round 3 - HR 

(1 Question)

  • Q1. Only asked about Salary expectations

QA Engineer Interview Questions & Answers

user image Anonymous

posted on 6 Jan 2025

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
6-8 weeks
Result
No response
Round 1 - Coding Test 

Good easy question about array.

Interview Preparation Tips

Interview preparation tips for other job seekers - need to get more information about QA

TCS Interview FAQs

How many rounds are there in TCS QA Engineer interview?
TCS interview process usually has 2-3 rounds. The most common rounds in the TCS interview process are Technical, Aptitude Test and HR.
How to prepare for TCS QA Engineer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at TCS. The most common topics and skills that interviewers at TCS expect are API Testing, Automation Testing, QA, Quality Assurance Engineering and Selenium.
What are the top questions asked in TCS QA Engineer interview?

Some of the top questions asked at the TCS QA Engineer interview -

  1. What is the Java program to count the characters in a word, such as the string ...read more
  2. What are your day to day activities as Automation Test...read more
  3. Introduction, how to find list of elements in selen...read more
How long is the TCS QA Engineer interview process?

The duration of TCS QA Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

4.1/5

based on 49 interview experiences

Difficulty level

Easy 28%
Moderate 67%
Hard 6%

Duration

Less than 2 weeks 67%
2-4 weeks 22%
6-8 weeks 11%
View more

QA Engineer Interview Questions from Similar Companies

IBM QA Engineer Interview Questions
4.0
 • 12 Interviews
View all
TCS QA Engineer Salary
based on 1.9k salaries
₹3.3 L/yr - ₹7.6 L/yr
11% less than the average QA Engineer Salary in India
View more details

TCS QA Engineer Reviews and Ratings

based on 168 reviews

3.7/5

Rating in categories

3.4

Skill development

3.7

Work-life balance

2.8

Salary

4.4

Job security

3.5

Company culture

2.6

Promotions

3.2

Work satisfaction

Explore 168 Reviews and Ratings
System Engineer
1.1L salaries
unlock blur

₹3.9 L/yr - ₹8.3 L/yr

IT Analyst
65.5k salaries
unlock blur

₹7.7 L/yr - ₹12.7 L/yr

AST Consultant
53.6k salaries
unlock blur

₹12 L/yr - ₹20.6 L/yr

Assistant System Engineer
33.2k salaries
unlock blur

₹2.5 L/yr - ₹6.4 L/yr

Associate Consultant
33k salaries
unlock blur

₹16.2 L/yr - ₹28 L/yr

Explore more salaries
Compare TCS with

Amazon

4.0
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

Accenture

3.7
Compare
write
Share an Interview