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 Testing Interview Questions and Answers

Updated 5 Sep 2024

TCS Automation Testing Interview Experiences

1 interview found

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

I applied via Site and was interviewed before Sep 2023. There were 2 interview rounds.

Round 1 - Coding Test 

Python , java, c, c++, c sharp, azure

Round 2 - Aptitude Test 

Arithmetic , reasoning, english, logical, puzzle,

Interview Preparation Tips

Interview preparation tips for other job seekers - More work on aptitude and codeing part

Interview questions from similar companies

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

I was interviewed in Jan 2025.

Round 1 - Technical 

(5 Questions)

  • Q1. What is the deference between methods and constructors
  • Ans. 

    Methods are functions within a class that define behavior, while constructors are special methods used to initialize objects.

    • Methods are used to perform actions or operations within a class.

    • Constructors are special methods used to initialize objects when they are created.

    • Methods can have return types and parameters, while constructors do not have return types and have the same name as the class.

    • Example: Method 'calcula...

  • Answered by AI
  • Q2. What is interface
  • Ans. 

    An interface in automation testing refers to the point of interaction between two systems or components.

    • An interface defines the methods that a class must implement, without specifying how they are implemented.

    • Interfaces allow for loose coupling between different components, making it easier to change or update one without affecting the other.

    • In automation testing, interfaces are used to interact with the application u...

  • Answered by AI
  • Q3. Where we can use final keyboard
  • Ans. 

    The final keyword in Java can be used to declare constants, prevent method overriding, and prevent inheritance.

    • To declare constants in Java

    • To prevent method overriding in Java

    • To prevent inheritance in Java

  • Answered by AI
  • Q4. What is polymorphism
  • Ans. 

    Polymorphism is the ability of a function or method to behave differently based on the object it is acting upon.

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

    • It enables a single interface to represent multiple data types.

    • Examples include method overloading and method overriding in object-oriented programming.

  • Answered by AI
  • Q5. What is inheritance and types of inheritance
  • Ans. 

    Inheritance is a concept in object-oriented programming where a class inherits properties and behaviors from another class.

    • Types of inheritance: single inheritance, multiple inheritance, multilevel inheritance, hierarchical inheritance

    • Example: Class B inherits from Class A, Class C inherits from Class B, creating a multilevel inheritance

    • Example: Class D inherits from Class A and Class B, demonstrating multiple inherita

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
-
Result
-

I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Technical 

(13 Questions)

  • Q1. Write an Xpath for an Anchor tag
  • Ans. 

    Xpath for an Anchor tag in Automation Testing

    • Use the 'a' tag in the Xpath expression to target anchor tags

    • Use '@href' attribute to specify the link of the anchor tag

    • Example: //a[@href='https://www.example.com']

  • Answered by AI
  • Q2. What are the challenges faced in your automation project and how did you overcome them ?
  • Ans. 

    Challenges faced in automation project and how they were overcome

    • Lack of skilled resources - Conducted training sessions to upskill team members

    • Unstable test environment - Implemented robust error handling mechanisms

    • Changing requirements - Utilized agile methodologies to adapt quickly

    • Integration issues with third-party tools - Collaborated with vendors for solutions

  • Answered by AI
  • Q3. Explain Selenium Architecture
  • Ans. 

    Selenium Architecture is a framework that consists of different components for automated testing of web applications.

    • Selenium WebDriver: It is the core component that allows interaction with web elements.

    • Selenium Grid: It enables parallel execution of tests across different browsers and environments.

    • Selenium IDE: It is a record and playback tool for creating test scripts.

    • Selenium RC (Remote Control): It is the predeces...

  • Answered by AI
  • Q4. Have you ever faced synchronization problem ? How did you overcome them ?
  • Ans. 

    Yes, I have faced synchronization problems while automating tests.

    • Yes, I have encountered synchronization issues when elements load at different speeds on a webpage.

    • To overcome this, I have used explicit waits in Selenium to wait for specific conditions before proceeding with the test.

    • I have also used implicit waits to set a default waiting time for the elements to load.

    • In some cases, I have used Thread.sleep() to paus...

  • Answered by AI
  • Q5. What are the exceptions handled other than NosuchElementException
  • Ans. 

    Other exceptions handled in automation testing besides NoSuchElementException

    • ElementNotVisibleException - when element is present in DOM but not visible on the page

    • StaleElementReferenceException - when element is no longer attached to the DOM

    • TimeoutException - when a command does not complete in a specific time frame

    • NoSuchWindowException - when the window target to be switched doesn't exist

    • InvalidElementStateException ...

  • Answered by AI
  • Q6. Explain OOPS concepts
  • Ans. 

    OOPS concepts are fundamental principles of Object-Oriented Programming, including inheritance, encapsulation, polymorphism, and abstraction.

    • Inheritance: Allows a class to inherit properties and behavior from another class.

    • Encapsulation: Bundling data and methods that operate on the data into a single unit.

    • Polymorphism: Ability to present the same interface for different data types.

    • Abstraction: Hiding the complex imple...

  • Answered by AI
  • Q7. Difference between Relative and Absolute xpath
  • Ans. 

    Relative xpath is based on the current position of an element, while absolute xpath starts from the root element.

    • Relative xpath is shorter and less prone to breaking with changes in the DOM structure.

    • Absolute xpath is longer and more specific, starting from the root element of the HTML document.

    • Relative xpath is preferred for dynamic web elements, while absolute xpath is more suitable for static elements.

    • Example: Relat...

  • Answered by AI
  • Q8. Java Program to reverse a string
  • Ans. 

    Java program to reverse a string

    • Create a StringBuilder object

    • Use the reverse() method to reverse the string

    • Convert the StringBuilder object back to a string

  • Answered by AI
  • Q9. What is framework ? Explain the frameworks you worked on in your project?
  • Ans. 

    A framework is a set of guidelines, coding standards, concepts, and practices that provide structure and support for automated testing.

    • Framework helps in organizing and executing automated tests efficiently.

    • Common frameworks include Data-Driven, Keyword-Driven, Hybrid, and Behavior-Driven Development (BDD).

    • In my project, I have worked on a Data-Driven framework where test data is separated from test scripts for easy ma

  • Answered by AI
  • Q10. TestNG-How to re-run the failed Testcases
  • Ans. 

    TestNG provides the ability to re-run failed test cases using the 'retryAnalyzer' feature.

    • Implement a custom 'IRetryAnalyzer' class to define the retry logic for failed test cases.

    • Specify the 'retryAnalyzer' attribute in the @Test annotation with the custom retry analyzer class.

    • Set the 'retryAnalyzer' attribute to the custom class name in the testng.xml file to apply the retry logic globally.

    • Failed test cases will be a...

  • Answered by AI
  • Q11. What is Interface in Java
  • Ans. 

    Interface in Java is a reference type in Java, similar to a class, that can contain only constants, method signatures, default methods, static methods, and nested types.

    • An interface is a blueprint of a class that can have abstract methods and constants.

    • Interfaces are used to achieve abstraction and multiple inheritance in Java.

    • Classes can implement multiple interfaces but can only extend one class.

    • Example: interface Sh...

  • Answered by AI
  • Q12. Explain Fluent wait ,implict ,explicit wait
  • Ans. 

    Fluent wait, implicit wait, and explicit wait are different types of wait strategies used in automation testing to handle synchronization issues.

    • Fluent wait is a dynamic wait mechanism in Selenium WebDriver that waits for a condition to be true with a specified polling frequency.

    • Implicit wait is a global wait applied to all elements in the WebDriver instance, allowing a certain amount of time for elements to load befor...

  • Answered by AI
  • Q13. TestNG supports crossbrowser testinh
  • Ans. 

    Yes, TestNG supports crossbrowser testing by allowing the execution of test cases on multiple browsers in parallel.

    • TestNG allows the use of @Parameters annotation to pass browser type as a parameter to test methods.

    • TestNG can be integrated with Selenium WebDriver to run tests on different browsers like Chrome, Firefox, and Safari.

    • TestNG provides the flexibility to run tests in parallel on multiple browsers for faster e

  • Answered by AI

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before Feb 2021. There were 3 interview rounds.

Round 1 - Aptitude Test 

Aptitude round consists Logical reasoning, General Aptitude, Grammar related questions etc. All are moderate level questions.

Round 2 - Technical 

(3 Questions)

  • Q1. Explain OOPs w.r.t Java
  • Ans. 

    OOPs is a programming paradigm that uses objects to represent real-world entities. Java is an OOPs language.

    • OOPs stands for Object-Oriented Programming System

    • Java is a class-based OOPs language

    • Encapsulation, Inheritance, Polymorphism, and Abstraction are the four pillars of OOPs

    • Objects have state and behavior

    • Java supports interfaces, which allow for multiple inheritance

    • Example: A car can be represented as an object wit...

  • Answered by AI
  • Q2. Explain about the projects that you have worked on
  • Q3. Explain how Java solves machine dependency of code execution
  • Ans. 

    Java solves machine dependency by using bytecode and virtual machine.

    • Java code is compiled into bytecode which is platform-independent

    • The bytecode is executed by the Java Virtual Machine (JVM) which is platform-specific

    • JVM translates bytecode into machine code for the specific platform

    • This allows Java code to run on any platform with a JVM installed

    • Example: A Java program compiled on Windows can run on Linux or Mac as

  • Answered by AI
Round 3 - HR 

(2 Questions)

  • Q1. Why should we hire you?
  • Q2. Tell me about yourself.

Interview Preparation Tips

Topics to prepare for Infosys System Engineer interview:
  • Java
Interview preparation tips for other job seekers - Keep it simple, Prepare basics of 1st preferred Programming Language.

Skills evaluated in this interview

I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Numerical ability and logical reasoning followed by some coding mcqs

Round 2 - Technical 

(1 Question)

  • Q1. Print 1 to 100 without for loop
  • Ans. 

    Printing 1 to 100 without for loop

    • Use recursion to print numbers from 1 to 99

    • Print 100 outside the recursion

    • Use a base case to stop recursion at 100

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare from interview bit and practice mcqs

I applied via Campus Placement and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

Simple aptitude test

Round 2 - One-on-one 

(1 Question)

  • Q1. General questions as per your cv

Interview Preparation Tips

Topics to prepare for Infosys System Engineer interview:
  • Aptitude
Interview preparation tips for other job seekers - Great company for freshers.. lot to learn and experience

I applied via Campus Placement and was interviewed before Aug 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was a basic aptitude test.

Round 2 - One-on-one 

(1 Question)

  • Q1. Interview was fine. Mostly asked about my final year project.

Interview Preparation Tips

Interview preparation tips for other job seekers - Attend the interview with cool head. All the best.

I applied via Campus Placement and was interviewed before Jun 2021. There were 2 interview rounds.

Round 1 - Aptitude Test 
Round 2 - Technical 

(1 Question)

  • Q1. Explain the mini projects and main project completed during Engineering.

Interview Preparation Tips

Topics to prepare for Infosys System Engineer interview:
  • DBMS
  • Software Engineering
  • Basic coding
Interview preparation tips for other job seekers - Just make sure the resume should be precise and you have knowledge on the things mentioned in your resume.

Be confident and have a smiling face in the interview round.

I applied via Campus Placement and was interviewed before May 2021. There were 2 interview rounds.

Round 1 - Coding Test 

- basic programming on C

Round 2 - HR 

(1 Question)

  • Q1. - question based on your resume

Interview Preparation Tips

Interview preparation tips for other job seekers - Things are asked only from resume . Make sure you recite every word you mentioned in your resume .
whatever project you are including , you should know enough to explain everything.

I applied via Campus Placement and was interviewed before Oct 2021. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

English reasoning and logical question

Round 3 - HR 

(2 Questions)

  • Q1. About self and hobbies
  • Q2. About activities involved in

Interview Preparation Tips

Interview preparation tips for other job seekers - Work on communication skills and brush up on aptitude & english tests

TCS Interview FAQs

How many rounds are there in TCS Automation Testing interview?
TCS interview process usually has 2 rounds. The most common rounds in the TCS interview process are Coding Test and Aptitude Test.
How to prepare for TCS Automation Testing 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, API Testing, Java and Cucumber.

Tell us how to improve this page.

TCS Automation Testing Interview Process

based on 1 interview

Interview experience

5
  
Excellent
View more

Interview Questions from Similar Companies

Accenture Interview Questions
3.8
 • 8.2k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.7
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3.1k Interviews
LTIMindtree Interview Questions
3.8
 • 2.9k Interviews
IBM Interview Questions
4.0
 • 2.3k Interviews
View all
TCS Automation Testing Salary
based on 18 salaries
₹2.5 L/yr - ₹7.2 L/yr
14% less than the average Automation Testing Salary in India
View more details

TCS Automation Testing Reviews and Ratings

based on 2 reviews

2.8/5

Rating in categories

3.6

Skill development

3.3

Work-life balance

1.8

Salary

4.0

Job security

3.3

Company culture

2.6

Promotions

3.3

Work satisfaction

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

₹0 L/yr - ₹0 L/yr

IT Analyst
66.4k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

AST Consultant
51.6k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Assistant System Engineer
29.8k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Associate Consultant
29.6k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare TCS with

Amazon

4.1
Compare

Wipro

3.7
Compare

Infosys

3.6
Compare

Accenture

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview