i
TCS
Filter interviews by
Clear (1)
Basic coding, Arrays
General discussion, Salary
I applied via Recruitment Consulltant and was interviewed before Dec 2023. There was 1 interview round.
I applied via LinkedIn and was interviewed in Jul 2023. There were 2 interview rounds.
Method overloading is when multiple methods have the same name but different parameters. Method overriding is when a subclass provides a different implementation of a method from its superclass.
Method overloading is achieved by having multiple methods with the same name but different parameters.
Method overriding is achieved by having a subclass provide a different implementation of a method from its superclass.
Method o...
Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods. Interface is a blueprint for a class and can only have abstract methods.
Abstract class can have instance variables while interface cannot
A class can inherit only one abstract class but can implement multiple interfaces
Abstract class can provide default implementations for some methods while interface cannot
Abstrac...
To handle sub menu from hamburger button in Selenium, locate the hamburger button, click on it, and then locate and click on the desired sub menu option.
Locate the hamburger button element using appropriate locator strategy
Click on the hamburger button to open the menu
Locate the sub menu option using appropriate locator strategy
Click on the sub menu option to perform the desired action
Some exceptions in Selenium are NoSuchElementException, TimeoutException, StaleElementReferenceException.
NoSuchElementException occurs when an element is not found in the DOM.
TimeoutException occurs when a command takes longer than the timeout value to complete.
StaleElementReferenceException occurs when a referenced element is no longer attached to the DOM.
To read and write to Excel, we can use libraries like Apache POI or Openpyxl.
Use Apache POI library in Java to read and write Excel files.
Use Openpyxl library in Python to read and write Excel files.
For reading, open the Excel file, select the sheet, and iterate through rows and columns to retrieve data.
For writing, create a new Excel file or open an existing one, select the sheet, and write data to specific cells.
Code to reverse a string
Use a loop to iterate through the characters of the string
Initialize an empty string to store the reversed string
Start from the last character and append each character to the new string
Return the reversed string
A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward.
Convert the input string to lowercase
Remove any non-alphanumeric characters from the string
Reverse the string
Compare the reversed string with the original string
The expected CTC (Cost to Company) is the salary package that the candidate anticipates or desires for the Automation Test Engineer role.
The expected CTC is the total compensation package including salary, bonuses, benefits, and any other perks.
It is important to research the industry standards and salary ranges for Automation Test Engineers in order to provide a realistic and competitive expected CTC.
Consider factors ...
What people are saying about TCS
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
find element is used to locate a single element on a web page, while elements is used to locate multiple elements.
find element is used with a locator to find a single element on a web page
elements is used to find multiple elements that match the locator
find element returns a single WebElement object, while elements returns a list of WebElement objects
TCS interview questions for designations
Get interview-ready with Top TCS Interview Questions
Prepare for basics appetitude questions and try to give short
Prepare for oops, and basic on what you had written on resume
Prepare for day to day news what's going on society
Write a java program
A Java program to sort an array of strings alphabetically
Create an array of strings
Use Arrays.sort() method to sort the array
Print the sorted array
SQL query to retrieve employee names and their salaries from a table
Use SELECT statement to retrieve data
Specify the columns you want to retrieve (employee names and salaries)
Specify the table name from which you want to retrieve data
I applied via Naukri.com and was interviewed before Apr 2023. There were 2 interview rounds.
I applied via Recruitment Consulltant
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 47 interviews
4 Interview rounds
based on 287 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹0 L/yr - ₹0 L/yr |
IT Analyst
66.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
AST Consultant
51.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Assistant System Engineer
29.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
29.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Amazon
Wipro
Infosys
Accenture