Synechron
TCS Interview Questions and Answers
Q1. In API testing in postman when do we get 408 status
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
Q2. Write code to Automate sauce demo login functionality
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
Q3. Write code to automate getting product prices by their names
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
Q4. Write a java program for a string to get the character count
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
Q5. What are the prerequisites of Appium
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
Q6. Write a program to reverse a string
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
Q7. tell me about your framework
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
Q8. What is appium ?
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.
More about working at Synechron
Interview Process at TCS
Top Automation Test Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month