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 Automation Test Engineer Interview Questions and Answers

Updated 16 May 2025

62 Interview questions

An Automation Test Engineer was asked 2mo ago
Q. Given an input string like 'aaabbbcccdddaa', how would you compress it to an output like 'a->3 b->3 c->3 d->3 a->2'?
Ans. 

The task involves counting consecutive characters in a string and formatting the output to show counts for each character.

  • Character Counting: Iterate through the string and count consecutive occurrences of each character.

  • Output Format: Each character and its count should be formatted as 'character->count'.

  • Example: For 'aaabbbcccdddaa', the output should be 'a->3 b->3 c->3 d->3 a->2'.

  • Handling Tran...

An Automation Test Engineer was asked 2mo ago
Q. What is the difference between git pull and git merge?
Ans. 

Git pull fetches and merges changes from a remote repository, while git merge combines changes from different branches locally.

  • Git Pull: A command that fetches changes from a remote repository and merges them into the current branch. Example: 'git pull origin main'.

  • Git Merge: A command that combines changes from one branch into another branch locally. Example: 'git merge feature-branch'.

  • Pull is a combination of fe...

Automation Test Engineer Interview Questions Asked at Other Companies

asked in TCS
Q1. How to handle scrollbar and mouse activities Jenkins and Github S ... read more
asked in Infosys
Q2. Introduce yourself 1.What is STLC 2. difference between Test plan ... read more
asked in LTIMindtree
Q3. 1. diff b/w findelements vs findelement? 2. set vs map? 3. wap fo ... read more
asked in Capgemini
Q4. 1] Introduction 2] Sanity Vs Smoke testing 3] Waits in selenium a ... read more
asked in Capgemini
Q5. What is assertion? What is soft assertion? What is hard assertion ... read more
An Automation Test Engineer was asked 3mo ago
Q. Are you willing to adopt flexible working hours?
Ans. 

I am open to flexible work timings as it enhances productivity and work-life balance.

  • Flexible timings allow me to work during my peak productivity hours, leading to better test coverage.

  • For instance, I can conduct tests during off-peak hours to minimize system load and get more accurate results.

  • It also enables me to accommodate personal commitments, ensuring I remain focused and motivated at work.

  • I have previously...

An Automation Test Engineer was asked 5mo ago
Q. What is the TestNG tool, and when do we use it for testing?
Ans. 

TestNG is a testing framework designed for unit testing and integration testing in Java.

  • TestNG is used for writing and running tests in Java programming language.

  • It supports annotations like @Test, @BeforeMethod, @AfterMethod for test configuration.

  • TestNG allows grouping of test cases, prioritizing tests, and parallel execution.

  • It generates detailed test reports and supports data-driven testing.

  • TestNG can be integ...

What people are saying about TCS

View All
coolestbheja
Verified Icon
1w
works at
TCS
How to track personal expenses
I'm a 22 year old it professional just starting out. My salary is less so I have to keep track of my spendings.can you guys help me to do it in the best way.
Got a question about TCS?
Ask anonymously on communities.
An Automation Test Engineer was asked 7mo ago
Q. What do you mean by XPath?
Ans. 

XPath is a language used to navigate through elements and attributes in XML documents, commonly used in web automation testing.

  • XPath stands for XML Path Language.

  • It allows for the selection of nodes from an XML document.

  • XPath can be used to locate elements in HTML documents, as HTML is a form of XML.

  • Example: //div[@id='example'] selects a <div> element with id 'example'.

  • XPath supports both absolute and relat...

An Automation Test Engineer was asked 7mo ago
Q. What do you mean by DOM?
Ans. 

DOM stands for Document Object Model, a programming interface for web documents that represents the structure of a webpage.

  • The DOM represents the document as a tree of nodes, where each node is an object representing a part of the document.

  • It allows programming languages like JavaScript to manipulate the content, structure, and style of a webpage dynamically.

  • For example, using JavaScript, you can access an element...

TCS HR Interview Questions

1.3k questions and answers

Q. Where do you envision yourself in the next five years?
Q. Do you have any plans to pursue an MCA?
Q. Name five female entrepreneurs.
🔥 Asked by recruiter 2 times
An Automation Test Engineer was asked 8mo ago
Q. Explain polymorphism.
Ans. 

Polymorphism is the ability of a single function or method to operate on different types of data.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example of compile-time polymorphism: function overloading in Java.

  • Example of runtime polymorphism: method overriding in...

Are these interview questions helpful?
An Automation Test Engineer was asked 8mo ago
Q. Explain the OOP concepts used in your framework with examples.
Ans. 

OOPs concepts used in the framework include inheritance, polymorphism, encapsulation, and abstraction.

  • Inheritance is used to create a parent-child relationship between classes. For example, a base class 'Page' can be inherited by 'HomePage' and 'LoginPage' classes.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass. For instance, a 'click' method can be implemented diff...

An Automation Test Engineer was asked 8mo ago
Q. Write a Java program to print the sum of digits from a given string (e.g., "abcd23").
Ans. 

Java program to print sum of digits from a given string

  • Iterate through each character in the string

  • Check if the character is a digit using Character.isDigit() method

  • Convert the digit character to integer using Character.getNumericValue() method

  • Sum up all the digits found in the string

An Automation Test Engineer was asked 8mo ago
Q. Write a Java program to print the sum of elements in a string array. For example: String[] arr = {"1","2","3"}
Ans. 

Java program to print the sum of elements in a string array.

  • Convert each element in the string array to an integer using Integer.parseInt()

  • Sum up all the integers to get the total sum

TCS Automation Test Engineer Interview Experiences

50 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Write java program to print sum of digits from a given string eg: "abcd23"
  • Ans. 

    Java program to print sum of digits from a given string

    • Iterate through each character in the string

    • Check if the character is a digit using Character.isDigit() method

    • Convert the digit character to integer using Character.getNumericValue() method

    • Sum up all the digits found in the string

  • Answered by AI
  • Q2. Explain oops concepts used in your framework with example?
  • Ans. 

    OOPs concepts used in the framework include inheritance, polymorphism, encapsulation, and abstraction.

    • Inheritance is used to create a parent-child relationship between classes. For example, a base class 'Page' can be inherited by 'HomePage' and 'LoginPage' classes.

    • Polymorphism allows objects of different classes to be treated as objects of a common superclass. For instance, a 'click' method can be implemented different...

  • Answered by AI
  • Q3. Explain polymorphism
  • Ans. 

    Polymorphism is the ability of a single function or method to operate on different types of data.

    • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

    • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

    • Example of compile-time polymorphism: function overloading in Java.

    • Example of runtime polymorphism: method overriding in Java...

  • Answered by AI
  • Q4. Java program to print the sum of elements in string array eg: String[] arr = {"1","2","3"}
  • Ans. 

    Java program to print the sum of elements in a string array.

    • Convert each element in the string array to an integer using Integer.parseInt()

    • Sum up all the integers to get the total sum

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Sep 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Selenium related question
  • Q2. Java/Python concepts
Round 2 - Behavioral 

(2 Questions)

  • Q1. Why TCS and what makes you different from others
  • Ans. 

    I chose TCS for its global presence, reputation for innovation, and opportunities for growth.

    • TCS is a global leader in IT services with a strong reputation for innovation and quality.

    • I am attracted to TCS's focus on continuous learning and development, which aligns with my career goals.

    • TCS offers diverse opportunities for growth and career advancement, which is important to me.

    • I believe my skills in automation testing ...

  • Answered by AI
  • Q2. Resume walkthrough
Round 3 - HR 

(1 Question)

  • Q1. How soon you can join
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview in Aug 2024.

Round 1 - Aptitude Test 

You must know one programming language is must , Basic , Java with selenium you have getting experienced it's good

Round 2 - Technical 

(2 Questions)

  • Q1. When we are using the automation testing
  • Ans. 

    Automation testing is the use of software to execute tests and compare actual outcomes with expected outcomes.

    • Automation testing helps in reducing human errors and increasing test coverage.

    • It is useful for repetitive test cases, regression testing, and load testing.

    • Tools like Selenium, Appium, and JUnit are commonly used for automation testing.

    • Automation testing can be used for web applications, mobile applications, an...

  • Answered by AI
  • Q2. What is the TestNG tool and when we are using this tool to test
  • Ans. 

    TestNG is a testing framework designed for unit testing and integration testing in Java.

    • TestNG is used for writing and running tests in Java programming language.

    • It supports annotations like @Test, @BeforeMethod, @AfterMethod for test configuration.

    • TestNG allows grouping of test cases, prioritizing tests, and parallel execution.

    • It generates detailed test reports and supports data-driven testing.

    • TestNG can be integrated...

  • Answered by AI
Round 3 - Group Discussion 

Speak boldly depends on the title

Round 4 - HR 

(2 Questions)

  • Q1. Why did you select in this company
  • Q2. What is your expectations about in this organisation
  • Ans. 

    I expect to work in a collaborative environment with opportunities for growth and learning.

    • Opportunities for professional development and training

    • Collaborative team environment

    • Clear communication and feedback channels

    • Supportive management

    • Work-life balance

  • Answered by AI
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(6 Questions)

  • Q1. Types of Locators
  • Ans. 

    Locators are used in automation testing to identify web elements on a webpage. Common types include ID, class name, name, xpath, and CSS selector.

    • ID: Unique identifier for an element

    • Class name: Name of the class attribute of an element

    • Name: Name attribute of an element

    • XPath: Path of the element in the HTML structure

    • CSS selector: Selector based on CSS attributes

  • Answered by AI
  • Q2. What is Interface
  • Q3. What is abstract class
  • Q4. Absolute and relative xpath difference
  • Q5. Different exceptions
  • Ans. 

    Different exceptions in automation testing

    • Common exceptions include NoSuchElementException, TimeoutException, StaleElementReferenceException

    • Handle exceptions using try-catch blocks to gracefully handle errors

    • Custom exceptions can be created for specific scenarios

    • Exceptions can be logged for debugging purposes

  • Answered by AI
  • Q6. String Duplicates coding

Skills evaluated in this interview

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

I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. API testing related questions like status codes, about postman
  • Q2. Java program on arrays
  • Ans. 

    Java program on arrays to manipulate array of strings

    • Declare an array of strings

    • Initialize the array with values

    • Access and manipulate elements in the array

  • Answered by AI

Skills evaluated in this interview

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

(2 Questions)

  • Q1. Project Specific question
  • Q2. Basics of Java and selenium
Round 2 - Behavioral 

(2 Questions)

  • Q1. Experience in team management
  • Ans. 

    I have led diverse teams in automation testing, focusing on collaboration, mentorship, and achieving project goals efficiently.

    • Led a team of 5 automation testers, improving test coverage by 30% through effective collaboration and knowledge sharing.

    • Implemented Agile methodologies, resulting in a 20% reduction in testing cycle time and increased team productivity.

    • Mentored junior testers, providing guidance on best practi...

  • Answered by AI
  • Q2. Roles and responsibilities
Round 3 - HR 

(1 Question)

  • Q1. Compensation negotiation
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
Not Selected
Round 1 - Technical 

(2 Questions)

  • Q1. Questions on selenium, Java oops concepts
  • Q2. Difficult problems u have solved in your current company
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Jul 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Scenario based questions, string operation programs

Round 2 - One-on-one 

(2 Questions)

  • Q1. Framework related questions
  • Q2. Testing methodologies
Round 3 - HR 

(1 Question)

  • Q1. Academic and work experience details
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

  • Q1. Input: aaabbbcccdddaa output: a->3 b>3 c>3 d>3 a>2
  • Ans. 

    The task involves counting consecutive characters in a string and formatting the output to show counts for each character.

    • Character Counting: Iterate through the string and count consecutive occurrences of each character.

    • Output Format: Each character and its count should be formatted as 'character->count'.

    • Example: For 'aaabbbcccdddaa', the output should be 'a->3 b->3 c->3 d->3 a->2'.

    • Handling Transitio...

  • Answered by AI
  • Q2. Diff between git pull and git merge
  • Ans. 

    Git pull fetches and merges changes from a remote repository, while git merge combines changes from different branches locally.

    • Git Pull: A command that fetches changes from a remote repository and merges them into the current branch. Example: 'git pull origin main'.

    • Git Merge: A command that combines changes from one branch into another branch locally. Example: 'git merge feature-branch'.

    • Pull is a combination of fetch a...

  • Answered by AI
  • Q3. Jenkins, collection
Interview experience
5
Excellent
Difficulty level
-
Process Duration
4-6 weeks
Result
Selected Selected
Round 1 - One-on-one 

(2 Questions)

  • Q1. Automation Test Process
  • Q2. Docker Kafka Selenium Rest

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn n Learn

TCS Interview FAQs

How many rounds are there in TCS Automation Test Engineer interview?
TCS interview process usually has 2-3 rounds. The most common rounds in the TCS interview process are Technical, HR and Resume Shortlist.
How to prepare for TCS Automation Test 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 Automation Testing, Selenium, Java, JIRA and API Testing.
What are the top questions asked in TCS Automation Test Engineer interview?

Some of the top questions asked at the TCS Automation Test Engineer interview -

  1. How to handle scrollbar and mouse activities Jenkins and Github Story Point in ...read more
  2. 1) cucumber 2) Defects worked on, tell me about the bugs you found during testi...read more
  3. Real time scenario to explain like how to approach any testing (Test Scenario, ...read more
What are the most common questions asked in TCS Automation Test Engineer HR round?

The most common HR questions asked in TCS Automation Test Engineer interview are -

  1. What are your salary expectatio...read more
  2. Share details of your previous j...read more
  3. Tell me about yourse...read more
How long is the TCS Automation Test Engineer interview process?

The duration of TCS Automation Test 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.2/5

based on 51 interview experiences

Difficulty level

Easy 24%
Moderate 76%

Duration

Less than 2 weeks 79%
2-4 weeks 11%
4-6 weeks 7%
More than 8 weeks 4%
View more
TCS Automation Test Engineer Salary
based on 4.7k salaries
₹3.7 L/yr - ₹8.5 L/yr
19% less than the average Automation Test Engineer Salary in India
View more details

TCS Automation Test Engineer Reviews and Ratings

based on 342 reviews

3.8/5

Rating in categories

3.5

Skill development

4.0

Work-life balance

2.6

Salary

4.5

Job security

3.7

Company culture

2.5

Promotions

3.4

Work satisfaction

Explore 342 Reviews and Ratings
Java Automation Test Engineer

Hyderabad / Secunderabad,

Pune

+1

5-10 Yrs

Not Disclosed

Web Automation Test Engineer

Hyderabad / Secunderabad

6-10 Yrs

Not Disclosed

Explore more jobs
System Engineer
1.1L salaries
unlock blur

₹3.9 L/yr - ₹8.3 L/yr

IT Analyst
65.3k salaries
unlock blur

₹7.9 L/yr - ₹14.6 L/yr

AST Consultant
53.9k salaries
unlock blur

₹12.2 L/yr - ₹20.9 L/yr

Associate Consultant
33.4k salaries
unlock blur

₹15.3 L/yr - ₹28.3 L/yr

Assistant System Engineer
33.2k salaries
unlock blur

₹2.5 L/yr - ₹6.3 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