i
TCS
Filter interviews by
I applied via Recruitment Consulltant
I applied via Approached by Company and was interviewed in Dec 2022. There were 3 interview rounds.
I applied via Job Portal and was interviewed in Aug 2022. There were 2 interview rounds.
TestNG is a testing framework for Java while Cucumber is a BDD tool for behavior-driven development.
TestNG is used for unit, functional, and integration testing
Cucumber is used for acceptance testing and supports BDD
TestNG uses annotations to define test methods and groups
Cucumber uses Gherkin syntax to define scenarios and steps
TestNG generates HTML reports while Cucumber generates reports in various formats
TestNG sup...
OOPs is a programming paradigm based on the concept of objects that interact with each other to perform tasks.
OOPs stands for Object-Oriented Programming System
It focuses on creating reusable code and reducing complexity
It includes concepts like inheritance, encapsulation, polymorphism, and abstraction
Inheritance allows a class to inherit properties and methods from another class
Encapsulation is the process of hiding d...
Soft assert allows the test to continue even if an assertion fails, while hard assert stops the test immediately.
Soft assert is used when we want to check multiple assertions in a single test case.
Hard assert is used when we want to stop the test execution immediately after the first assertion failure.
Soft assert is also known as verification.
Hard assert is also known as assertion.
Example of soft assert: Assert.assertT...
Collection in Java is a framework that provides an architecture to store and manipulate a group of objects.
Collection is an interface that extends Iterable interface
It is used to represent a group of individual objects as a single entity
Examples of collections are List, Set, Queue, etc.
Collections framework provides algorithms to manipulate collections
Collections can store objects of any type, including user-defined cl
I have used concepts like OOPs, Exception Handling, Collections, and Multithreading in my Selenium script.
Used OOPs concepts like inheritance and polymorphism to create reusable code
Implemented Exception Handling to handle unexpected errors and exceptions
Used Collections like ArrayList and HashMap to store and retrieve data
Implemented Multithreading to run tests in parallel for faster execution
Used WebDriver interface ...
I have used various javascript commands in Selenium such as executeScript, executeAsyncScript, etc.
executeScript() method is used to execute JavaScript code in the context of the currently selected frame or window.
executeAsyncScript() method is used to execute asynchronous JavaScript code in the context of the currently selected frame or window.
Other commonly used JavaScript commands in Selenium include getElementById(
Abstract class is a class with partial implementation while interface is a contract with no implementation.
Abstract class can have both abstract and non-abstract methods while interface can only have abstract methods.
A class can implement multiple interfaces but can only inherit from one abstract class.
Abstract class can have constructors while interface cannot.
Abstract class can have access modifiers while interface m
What people are saying about TCS
I applied via Approached by Company and was interviewed in Sep 2022. There were 5 interview rounds.
TCS interview questions for designations
I applied via Referral and was interviewed before Jun 2023. There was 1 interview round.
OOP is a programming paradigm based on the concept of objects, which can contain data in the form of fields and code in the form of procedures.
OOP focuses on creating objects that interact with each other to solve a problem.
Encapsulation: Objects can hide their internal state and require interaction through defined interfaces. Example: Class Car with private variables like speed and methods like accelerate.
Inheritance:...
Java program to find the first duplicate element in an array of strings.
Create a HashSet to store unique elements as you iterate through the array.
If an element is already in the HashSet, it is a duplicate and can be returned.
Use a for loop to iterate through the array and check for duplicates.
I have extensive experience with Selenium, including automating complex test scenarios.
Utilized Selenium WebDriver to automate end-to-end testing of a web application
Implemented data-driven testing using Selenium with Excel or CSV files
Integrated Selenium with TestNG for parallel test execution and reporting
Automated complex scenarios like multi-step user workflows or cross-browser testing
Used Page Object Model design ...
Test data privacy and security is ensured by using anonymized data, encryption, access controls, and secure storage.
Anonymize sensitive data by replacing real values with fake ones
Encrypt test data during transmission and storage
Implement access controls to restrict who can view or modify test data
Store test data securely using encryption and regular backups
Test hooks are methods or functions that allow testers to access internal code for testing purposes.
Test hooks are used to inject test code into the application being tested.
They can be used to monitor and manipulate the behavior of the application during testing.
Test hooks can be implemented using tools like Selenium or TestNG.
They impact automation test execution by providing access to internal components for testing
BDD is a software development approach that encourages collaboration between developers, QA, and non-technical stakeholders to define and test system behavior.
BDD focuses on defining the behavior of a system through examples in plain text
It uses a common language (like Gherkin syntax) to describe features and scenarios
Automation testing in BDD involves writing automated tests that validate the behavior described in the...
Emerging trends in automation testing include AI and machine learning, shift-left testing, and continuous testing.
AI and machine learning are being used to improve test automation by predicting test cases, identifying patterns, and optimizing test execution.
Shift-left testing involves testing early in the development cycle to catch defects sooner and reduce costs.
Continuous testing integrates automated tests throughout...
By using data management tools, version control, data masking techniques, and automated scripts.
Utilize data management tools to create and maintain consistent test data sets across environments.
Implement version control to track changes made to test data and ensure consistency.
Apply data masking techniques to protect sensitive information while maintaining consistency.
Use automated scripts to generate and populate tes...
Continuous Testing is the practice of running automated tests throughout the software delivery pipeline to provide immediate feedback on the quality of the code.
Continuous Testing helps in identifying issues early in the development cycle, leading to faster feedback and quicker resolution of defects.
It ensures that the code changes made by developers do not break existing functionality by running automated tests contin...
Java program to find the largest element in an array
Create a method that takes an array of strings as input
Initialize a variable to store the largest element, starting with the first element
Iterate through the array and compare each element with the current largest element
Update the largest element if a larger element is found
Return the largest element
Get interview-ready with Top TCS Interview Questions
I applied via campus placement at Teegala Krishna Reddy Engineering College, Ranga Reddy and was interviewed before Oct 2023. There were 3 interview rounds.
C, java, Software Engineering, mathematics,logical ,one program
I applied via Naukri.com and was interviewed in Oct 2022. There were 3 interview rounds.
I applied via Company Website and was interviewed before May 2023. There were 2 interview rounds.
I applied via Newspaper Ad and was interviewed in Jun 2022. There were 2 interview rounds.
I applied via Naukri.com and was interviewed before Mar 2022. There were 4 interview rounds.
A technical coding test round on automation testing and Java questions
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 45 interviews
4 Interview rounds
based on 261 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹1 L/yr - ₹9 L/yr |
IT Analyst
67.4k
salaries
| ₹5.1 L/yr - ₹16 L/yr |
AST Consultant
51.3k
salaries
| ₹8 L/yr - ₹25 L/yr |
Assistant System Engineer
29.9k
salaries
| ₹2.2 L/yr - ₹8 L/yr |
Associate Consultant
29k
salaries
| ₹9 L/yr - ₹32 L/yr |
Amazon
Wipro
Infosys
Accenture