Add office photos
Engaged Employer

Synechron

3.5
based on 2.9k Reviews
Video summary
Filter interviews by

TCS Interview Questions and Answers

Updated 14 Jan 2025
Popular Designations

Q1. In API testing in postman when do we get 408 status

Ans.

A 408 status in API testing in Postman is received when the server times out while waiting for a request.

  • 408 status code indicates that the server did not receive a complete request within the time that it was prepared to wait.

  • This can happen if the client takes too long to send the request or if the server is overloaded.

  • It is important to adjust timeout settings in Postman to avoid receiving 408 status codes.

  • Example: If the server expects a request to be completed within 10 ...read more

Add your answer

Q2. Write code to Automate sauce demo login functionality

Ans.

Automate sauce demo login functionality using code

  • Use Selenium WebDriver to automate the login process

  • Identify the username and password fields using locators

  • Enter valid credentials and click on the login button

  • Verify successful login by checking for the presence of a welcome message

Add your answer

Q3. Write code to automate getting product prices by their names

Ans.

Automate getting product prices by their names

  • Create a function that takes in an array of product names as input

  • Use a web scraping tool like Selenium to extract prices from a website

  • Map the product names to their corresponding prices and return the result

Add your answer

Q4. Write a java program for a string to get the character count

Ans.

Java program to count characters in a string

  • Use a HashMap to store character counts

  • Iterate through the string and update the counts in the map

  • Handle both uppercase and lowercase characters separately

Add your answer
Discover TCS interview dos and don'ts from real experiences

Q5. What are the prerequisites of Appium

Ans.

Prerequisites of Appium include installing Node.js, Java Development Kit (JDK), Android SDK, and Appium server.

  • Install Node.js

  • Install Java Development Kit (JDK)

  • Install Android SDK

  • Install Appium server

Add your answer

Q6. Write a program to reverse a string

Ans.

Program to reverse a string

  • Create a char array from the input string

  • Use two pointers to swap characters from start and end

  • Continue swapping until pointers meet in the middle

Add your answer

Q7. tell me about your framework

Ans.

My framework is a data-driven framework using Selenium WebDriver and TestNG for automated testing.

  • Data-driven approach for reusability and maintainability

  • Integration with Selenium WebDriver for browser automation

  • Utilizes TestNG for test case management and reporting

Add your answer

Q8. What is appium ?

Ans.

Appium is an open-source tool for automating mobile, web, and hybrid applications on iOS and Android platforms.

  • Appium supports automation of native, hybrid, and mobile web applications.

  • It uses the WebDriver protocol to drive iOS and Android apps.

  • Appium can run tests on simulators/emulators or real devices.

  • It supports multiple programming languages like Java, Python, Ruby, etc.

  • Appium is widely used for mobile test automation in the industry.

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at TCS

based on 8 interviews
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Automation Test Engineer Interview Questions from Similar Companies

3.8
 • 31 Interview Questions
3.8
 • 20 Interview Questions
3.4
 • 18 Interview Questions
3.5
 • 16 Interview Questions
4.1
 • 12 Interview Questions
3.3
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter