i
TCS
Filter interviews by
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...
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...
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...
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
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...
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...
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...
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...
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
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
I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.
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
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...
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...
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
I appeared for an interview in Sep 2024.
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 ...
I appeared for an interview in Aug 2024.
You must know one programming language is must , Basic , Java with selenium you have getting experienced it's good
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...
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...
Speak boldly depends on the title
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
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
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
I applied via Recruitment Consulltant and was interviewed in Sep 2024. There was 1 interview round.
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
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...
I applied via Walk-in and was interviewed in Jul 2024. There were 3 interview rounds.
Scenario based questions, string operation programs
I appeared for an interview in Mar 2025, where I was asked the following questions.
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...
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...
Some of the top questions asked at the TCS Automation Test Engineer interview -
The duration of TCS Automation Test Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 51 interview experiences
Difficulty level
Duration
based on 342 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹3.9 L/yr - ₹8.3 L/yr |
IT Analyst
65.3k
salaries
| ₹7.9 L/yr - ₹14.6 L/yr |
AST Consultant
53.9k
salaries
| ₹12.2 L/yr - ₹20.9 L/yr |
Associate Consultant
33.4k
salaries
| ₹15.3 L/yr - ₹28.3 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Amazon
Wipro
Infosys
Accenture