Filter interviews by
I applied via Walk-in
Method overloading is having multiple methods in the same class with the same name but different parameters. Method overriding is having a method in a subclass with the same name and parameters as a method in its superclass.
Method overloading is achieved by defining multiple methods with the same name but different parameters in the same class.
Method overriding is achieved by creating a method in a subclass with the sa...
Types of exceptions include checked exceptions, unchecked exceptions, and errors.
Checked exceptions are checked at compile time and must be handled by the programmer using try-catch or throws keyword.
Unchecked exceptions are not checked at compile time and can be handled if desired.
Errors are serious issues that are not expected to be caught or handled, such as OutOfMemoryError or StackOverflowError.
A constructor is a special type of method that is automatically called when an object is created in a class.
Constructors have the same name as the class they belong to
They do not have a return type
They can be used to initialize object properties
Example: public class Car { public Car() { // constructor code here }}
To handle drop downs, use Select class in Selenium. To handle alerts, use Alert class in Selenium.
For drop downs, use Select class in Selenium to interact with
For alerts, use Alert class in Selenium to handle pop-up alerts
To select an option from a drop down, use selectByVisibleText(), selectByValue(), or selectByIndex() methods
To accept or dismiss an alert, use accept() or dismiss() methods respectively
My framework is a data-driven framework using Selenium WebDriver and TestNG for automated testing.
Data-driven approach allows for easy maintenance and scalability
Utilizes Selenium WebDriver for interacting with web elements
TestNG for test case management and reporting
Supports parallel execution for faster test runs
Top trending discussions
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Reverse a string in Java using StringBuilder's reverse method.
Create a StringBuilder object with the input string
Use the reverse() method of StringBuilder to reverse the string
Convert the reversed StringBuilder object back to a string using toString()
An interface in software development is a contract that defines the methods that a class must implement.
Interfaces in programming languages like Java, C#, and TypeScript provide a way to achieve abstraction and multiple inheritance.
Classes implementing an interface must provide concrete implementations for all the methods defined in the interface.
Interfaces allow for loose coupling between components, making code more
Java code to print sum of 100 numbers
Create an array of 100 numbers
Use a loop to iterate through the array and calculate the sum
Print the sum at the end
My name is John Doe. There are 1 'o' in my name.
Count the occurrences of the specified character in the name
Iterate through each character in the name and compare with the specified character
Increment a counter each time the specified character is found
To move to another tab in Selenium, switch to the desired tab using window handles.
Use getWindowHandles() to get all window handles
Switch to the desired tab using switchTo().window(handle)
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Selenium is a popular open-source automation testing tool used for web application testing.
Selenium supports multiple programming languages like Java, Python, C#, etc.
It allows testers to write test scripts in a variety of IDEs like Eclipse, IntelliJ, etc.
Selenium can automate interactions with web browsers like Chrome, Firefox, etc.
It can perform various testing tasks such as form filling, button clicking, data extrac
Selenium is a suite of tools used for automating web browsers.
Selenium IDE: Record and playback tool for creating automated tests
Selenium WebDriver: Automation tool for writing test scripts in various programming languages
Selenium Grid: Distributes test execution on multiple machines for parallel testing
Selenium RC (Remote Control): Deprecated tool for running tests in multiple browsers
findelement is a method used in Selenium to locate a single web element on a webpage, while findelements is used to locate multiple web elements.
findelement returns the first matching element found on the webpage
findelements returns a list of all matching elements found on the webpage
findelement is used when only one element needs to be located, while findelements is used when multiple elements need to be located
Different types of wait include implicit, explicit, and fluent waits in automation testing.
Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException if the element is not found.
Explicit wait: Waits for a certain condition to be met before proceeding further in the code.
Fluent wait: Waits for a condition to be met with a defined polling frequency and timeout.
Example: Using implicit wait ...
Close is used to close a window or application, while wait is used to pause the execution for a specified amount of time.
Close is used to close a window or application after the test is completed
Wait is used to pause the execution for a specified amount of time, such as waiting for an element to load before proceeding
Example: driver.close() will close the current window, while Thread.sleep(5000) will pause the executio
posted on 21 May 2024
I applied via Job Portal and was interviewed in Apr 2024. There was 1 interview round.
I have worked on a project to automate testing processes using various tools and frameworks.
Implemented automation scripts using Selenium WebDriver for web application testing
Utilized TestNG framework for test case management and execution
Integrated Jenkins for continuous integration and deployment
Used Page Object Model design pattern for better code maintenance
Performed API testing using tools like Postman
I applied via Recruitment Consulltant and was interviewed in Jan 2024. There was 1 interview round.
String is immutable in Java to ensure security, thread safety, and optimization.
Immutable strings prevent accidental modification of data.
Immutable strings can be safely shared among multiple threads.
Immutable strings allow for efficient memory allocation and caching.
Immutable strings are used in various security-related operations.
Immutable strings enable the use of string pooling for optimization.
Popular tools for automation testing include Selenium, Appium, JMeter, and TestComplete.
Selenium: widely used for web application testing
Appium: used for mobile application testing
JMeter: used for load testing and performance testing
TestComplete: used for desktop application testing
Other popular tools include Katalon Studio, Robot Framework, and Cucumber
XPath is a language used to locate elements on a web page. Locators are used to identify elements on a web page.
XPath is used to navigate through the HTML structure of a web page
XPath expressions can be used to locate elements based on their attributes, text content, or position on the page
Locators are used to identify elements on a web page, such as ID, class name, name, tag name, link text, and partial link text
Static keyword is used to declare a variable or method that belongs to the class rather than an instance of the class.
Static variables are shared among all instances of a class
Static methods can be called without creating an instance of the class
Static blocks are used to initialize static variables
Static keyword can also be used to create nested classes
Example: public static int count = 0;
Regression testing is testing the entire application after making changes, while retesting is testing only the failed test cases.
Regression testing is done to ensure that the changes made to the application have not affected the existing functionality.
Retesting is done to ensure that the defects found in the previous testing cycle have been fixed.
Regression testing is time-consuming and requires a lot of resources.
Rete...
based on 1 review
Rating in categories
Software Engineer
26
salaries
| ₹2.6 L/yr - ₹9 L/yr |
Software Developer
11
salaries
| ₹3 L/yr - ₹5.5 L/yr |
Business Analyst
9
salaries
| ₹2.7 L/yr - ₹5 L/yr |
Junior Software Engineer
9
salaries
| ₹2.6 L/yr - ₹5 L/yr |
Junior Software Developer
6
salaries
| ₹3.2 L/yr - ₹4.3 L/yr |
Infosys
TCS
Wipro
HCLTech