i
TCS
Filter interviews by
Selenium is a powerful tool for automating web applications for testing purposes.
Selenium supports multiple programming languages like Java, C#, Python, etc.
It can automate browsers like Chrome, Firefox, and Safari.
Example: Using WebDriver to open a webpage: `driver.get('http://example.com')`.
Selenium can handle dynamic web elements using waits.
Example: Implicit wait: `driver.manage().timeouts().implicitlyWait(10,...
To get elements from a drop down, I use Selenium WebDriver's Select class
Use Select class from Selenium WebDriver to interact with drop down elements
Identify the drop down element using its locator
Instantiate a Select object with the drop down element
Use Select object's methods like selectByVisibleText(), selectByValue(), selectByIndex() to choose an option
To read data from Excel, use libraries like Apache POI or Openpyxl in Python.
Use libraries like Apache POI or Openpyxl in Python to read data from Excel files
Identify the Excel file and specify the sheet and cell from which to read data
Use appropriate methods provided by the library to extract data from the specified cell or range
Select is a class in Selenium WebDriver.
Select is used for handling dropdowns in Selenium WebDriver.
It provides methods to select options by visible text, value, or index.
Example: Select dropdown = new Select(driver.findElement(By.id("dropdown")));
Example: dropdown.selectByVisibleText("Option 1");
What people are saying about TCS
Pushing code to GitHub involves using Git commands to add, commit, and push changes to a remote repository.
Use 'git add .' to stage all changes
Use 'git commit -m 'Your commit message here'' to commit changes
Use 'git push origin master' to push changes to the master branch on GitHub
Assert is used to validate the expected result while verify is used to check the actual result without stopping the execution.
Assert is used to validate the expected result and if the assertion fails, the test is marked as failed and stops execution.
Verify is used to check the actual result against the expected result but does not stop the execution even if the verification fails.
Assert is commonly used for critic...
Yes, constructors are non-static methods used to initialize objects of a class.
Constructors are special methods used to initialize objects of a class.
They are non-static, meaning they are called on an instance of the class.
Constructors have the same name as the class and do not have a return type.
Example: public class Test { public Test() { // constructor code } }
Different types of exceptions include checked, unchecked, runtime, and custom exceptions.
Checked exceptions are checked at compile time and must be handled using try-catch or throws keyword.
Unchecked exceptions are not checked at compile time and can be handled using try-catch or left unhandled.
Runtime exceptions are unchecked exceptions that occur at runtime, such as NullPointerException or ArrayIndexOutOfBoundsE...
I use a combination of tools such as Jira, TestRail, and Excel for reporting.
Jira for tracking bugs and issues
TestRail for test case management and execution results
Excel for creating customized reports and data analysis
Challenges in automation include complex test scenarios, maintenance of scripts, and compatibility issues.
Complex test scenarios require thorough planning and execution.
Maintenance of scripts is essential to keep them up-to-date with application changes.
Compatibility issues arise when automation tools do not support all technologies used in the application.
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
To get elements from a drop down, I use Selenium WebDriver's Select class
Use Select class from Selenium WebDriver to interact with drop down elements
Identify the drop down element using its locator
Instantiate a Select object with the drop down element
Use Select object's methods like selectByVisibleText(), selectByValue(), selectByIndex() to choose an option
Select is a class in Selenium WebDriver.
Select is used for handling dropdowns in Selenium WebDriver.
It provides methods to select options by visible text, value, or index.
Example: Select dropdown = new Select(driver.findElement(By.id("dropdown")));
Example: dropdown.selectByVisibleText("Option 1");
To read data from Excel, use libraries like Apache POI or Openpyxl in Python.
Use libraries like Apache POI or Openpyxl in Python to read data from Excel files
Identify the Excel file and specify the sheet and cell from which to read data
Use appropriate methods provided by the library to extract data from the specified cell or range
I have used various types of test automation frameworks including data-driven, keyword-driven, and behavior-driven frameworks.
Data-driven framework: Used to separate test data from test scripts, allowing for easier maintenance and scalability. Example: TestNG with Excel or CSV files.
Keyword-driven framework: Utilizes keywords to represent actions or operations, making test scripts more readable and reusable. Example: R...
Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.
Array is a fixed-size data structure in Java, while ArrayList is a dynamic-size data structure.
Arrays can hold primitive data types and objects, while ArrayList can only hold objects.
Arrays require a specified size during initialization, while ArrayList can dynamically resize itself.
Arrays use square brackets [] for declaratio...
Array list stores elements in contiguous memory locations, while linked list stores elements in nodes with pointers to the next node.
Array list allows random access to elements based on index, while linked list requires traversal from the beginning to access elements.
Insertions and deletions are faster in linked list as it only requires updating pointers, while in array list it may require shifting elements.
Array list ...
Different types of exceptions include checked, unchecked, runtime, and custom exceptions.
Checked exceptions are checked at compile time and must be handled using try-catch or throws keyword.
Unchecked exceptions are not checked at compile time and can be handled using try-catch or left unhandled.
Runtime exceptions are unchecked exceptions that occur at runtime, such as NullPointerException or ArrayIndexOutOfBoundsExcept...
Pushing code to GitHub involves using Git commands to add, commit, and push changes to a remote repository.
Use 'git add .' to stage all changes
Use 'git commit -m 'Your commit message here'' to commit changes
Use 'git push origin master' to push changes to the master branch on GitHub
I applied via Recruitment Consulltant and was interviewed in Aug 2024. There was 1 interview round.
Types of waits include implicit, explicit, and fluent waits in test automation.
Implicit wait: Wait for a certain amount of time before throwing an exception.
Explicit wait: Wait for a certain condition to be met before proceeding.
Fluent wait: Wait for a condition with a defined maximum wait time and polling frequency.
Selenium 4 features include improved relative locators, new grid architecture, and better support for Chrome DevTools Protocol.
Improved relative locators for more flexible element locating
New grid architecture for better scalability and performance
Better support for Chrome DevTools Protocol for enhanced debugging capabilities
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Java code to find second largest string in an array of strings
Create an array of strings
Sort the array in descending order based on string length
Return the second element in the sorted array
Use window handles to switch to child window, extract text, and input in another child window
Use getWindowHandles() to get all window handles
Switch to child window using switchTo().window() method
Extract text from the first child window
Switch to another child window and input the extracted text
I appeared for an interview in Feb 2025, where I was asked the following questions.
I applied via Naukri.com and was interviewed in Feb 2022. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2021. There were 3 interview rounds.
A rendezvous point is a synchronization point where two or more processes or threads meet to exchange information.
It is used in distributed systems to ensure that all processes start at the same time.
It is also used in load testing to simulate multiple users accessing a system simultaneously.
Examples include message queues, semaphores, and sockets.
It helps to avoid race conditions and deadlocks.
Spike testing is a type of performance testing that involves testing the system's ability to handle sudden and extreme spikes in traffic or load.
It is used to identify the breaking point of the system
It involves simulating sudden and extreme spikes in traffic or load
It helps in identifying performance bottlenecks and scalability issues
Examples include sudden increase in user traffic, sudden increase in database queries...
Population option in Neo load is used to simulate realistic user behavior by generating virtual users based on real-world user data.
Population option allows for creating virtual users based on real-world user data
It helps in simulating realistic user behavior and load on the application
It can be used to generate virtual users based on demographics, location, behavior, etc.
This option is useful for load testing applicat...
I applied via Campus Placement and was interviewed before May 2020. There were 4 interview rounds.
I'm a passionate Software Engineer with a strong background in developing scalable applications and a knack for problem-solving.
Developed a web application that improved user engagement by 30% through enhanced UI/UX design.
Led a team of 5 engineers in migrating a legacy system to a microservices architecture, reducing downtime by 40%.
Contributed to open-source projects, including a popular library that has over 1,000 s...
I applied via Campus Placement and was interviewed before Aug 2020. There were 3 interview rounds.
A bit is the smallest unit of data in computing, representing a binary value of 0 or 1.
A bit can represent two states: off (0) or on (1).
Bits are the building blocks of all digital data, including text, images, and sound.
In binary code, a sequence of bits can represent numbers, letters, and commands.
For example, the letter 'A' is represented as 01000001 in binary, which is 65 in decimal.
A bit is the smallest unit of digital information. It can have a value of either 0 or 1.
A bit is a binary digit, represented as either 0 or 1.
It is the basic unit of information used in computing and digital communications.
A group of 8 bits is called a byte.
The size of a bit is dependent on the architecture of the computer system.
C is a programming language and does not have a fixed number of bits.
C is a high-level programming language that can be compiled to run on different architectures with varying bit sizes.
The number of bits in C depends on the hardware architecture it is compiled for.
For example, C code compiled for a 32-bit architecture will have 32-bit integers, while code compiled for a 64-bit architecture will have 64-bit integers.
based on 5 interview experiences
Difficulty level
Duration
based on 62 reviews
Rating in categories
System Engineer
1.1L
salaries
| ₹3.9 L/yr - ₹8.3 L/yr |
IT Analyst
65.1k
salaries
| ₹8 L/yr - ₹14.7 L/yr |
AST Consultant
54.3k
salaries
| ₹12.4 L/yr - ₹21 L/yr |
Associate Consultant
33.7k
salaries
| ₹15.3 L/yr - ₹28.4 L/yr |
Assistant System Engineer
33.2k
salaries
| ₹2.4 L/yr - ₹6.3 L/yr |
Amazon
Wipro
Infosys
Accenture