Filter interviews by
I applied via Company Website and was interviewed before May 2022. There were 4 interview rounds.
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
A constructor is a special type of method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to
They are used to initialize the object's state or perform any necessary setup
Constructors can have parameters to customize the initialization process
Example: public class Car { public Car(String color) { this.color = color; } }
Yes, a static method can be overridden in Java using the concept of method hiding.
In Java, static methods cannot be overridden in the traditional sense like instance methods.
When a subclass defines a static method with the same signature as a static method in the superclass, it is called method hiding.
Method hiding does not follow polymorphism and is resolved at compile time based on the reference type.
Example: class...
Yes, a static local variable can be created inside a static method.
Yes, a static local variable can be declared inside a static method in programming languages like C++.
Static local variables retain their values between function calls.
Example: static void myStaticMethod() { static int count = 0; count++; }
String memory allocation is dynamic and depends on the length of the string.
String memory allocation is dynamic and can change based on the length of the string.
In Java, a String object is stored in the heap memory.
Each character in a String typically takes up 2 bytes of memory.
String objects in Java are immutable, meaning once a String object is created, it cannot be changed.
Yes, you can create a static method inside an abstract class or interface.
Static methods can be defined in interfaces since Java 8.
Static methods in interfaces are used for providing utility methods that are not tied to any specific instance of the interface.
Static methods in abstract classes can be used for common functionality that does not require an instance of the class.
The parent class of Java is the Object class.
All classes in Java are directly or indirectly derived from the Object class.
The Object class is the root class in Java's class hierarchy.
It provides methods that are common to all objects in Java, such as toString(), equals(), and hashCode().
Window Handles in Selenium are unique identifiers used to handle multiple browser windows in a Selenium test script.
Window Handles are unique alphanumeric strings assigned to each browser window opened by Selenium.
They are used to switch between different browser windows during a test script execution.
Window Handles can be obtained using getWindowHandles() method in Selenium.
Example: Set
posted on 30 Dec 2024
Reverse a string using Java program and handle stale element in Selenium
Create a Java program to reverse a string using StringBuilder or char array
In Selenium, handle stale element exception by refreshing the element or using WebDriverWait
Example: Java program - input: 'hello', output: 'olleh'; Selenium - handle stale element by refreshing the element before interacting with it
My expected salary is based on my experience, skills, and the market rate for Automation Test Engineers.
I have researched the average salary range for Automation Test Engineers in this location.
I am looking for a competitive salary that reflects my expertise in automation testing.
I am open to negotiation based on the overall compensation package offered.
I applied via Referral and was interviewed in Aug 2024. There was 1 interview round.
We are using the Selenium framework for automation testing in our project.
Selenium is a popular open-source automation testing framework
It supports multiple programming languages like Java, Python, C#, etc.
Selenium WebDriver is used for automating web applications
It provides features for browser automation, testing across different browsers, and parallel test execution
Framework structure refers to the organization and layout of the automation framework components.
Framework structure includes modules, libraries, test scripts, configuration files, and test data.
It follows a hierarchical structure with layers such as driver scripts, reusable libraries, and test cases.
Frameworks can be structured as linear, modular, data-driven, keyword-driven, or hybrid.
Example: In a data-driven framew...
findelement returns the first matching element on a webpage, findelements returns a list of all matching elements.
findelement returns a single WebElement, findelements returns a list of WebElements
findelement throws NoSuchElementException if no element is found, findelements returns an empty list
Example: driver.findElement(By.id("exampleId")) vs driver.findElements(By.className("exampleClass"))
Handling multiple tabs in Selenium involves switching between tabs and performing actions on each tab.
Use getWindowHandles() to get a set of window handles
Switch to a specific tab using switchTo().window(handle)
Perform actions on the tab
Close the tab if needed using driver.close()
Hashmaps are data structures that store key-value pairs and allow for efficient retrieval of values based on keys.
Hashmaps are also known as dictionaries, maps, or associative arrays.
They use a hash function to map keys to indices in an underlying array.
Hashmaps offer constant-time average case complexity for insertion, deletion, and lookup operations.
Example: HashMap
Try and catch blocks are used in programming to handle exceptions and prevent the program from crashing.
Try block is used to enclose the code that might throw an exception
Catch block is used to handle the exception thrown in the try block
It prevents the program from crashing and allows for graceful error handling
Can also include finally block to execute code regardless of whether an exception is thrown
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows a class to inherit attributes and methods from another class
Promotes code reusability and reduces redundancy
Creates a parent-child relationship between classes
Derived class can access the properties and methods of the base class
Example: Class 'Car' can inherit from class 'Vehicle'
posted on 11 Sep 2024
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
A program to count the number of integers and characters in a given string.
Iterate through each character in the string and check if it is an integer or a character.
Use isdigit() function to check if a character is an integer.
Keep separate counters for integers and characters.
Return the counts of integers and characters at the end.
Final is a keyword in Java used to restrict inheritance, finally is a block used in exception handling, and finalize is a method used for cleanup.
Final is a keyword in Java used to restrict inheritance or prevent method overriding.
Finally is a block used in exception handling to ensure a piece of code is always executed, whether an exception is thrown or not.
Finalize is a method in Java used for cleanup operations befo
Assertion is a statement that checks if a condition is true, while validation/verification is the process of confirming that a product meets specified requirements.
Assertion is used to validate the expected outcome of a test case.
Validation/verification is the process of checking if the product meets the specified requirements.
Assertions are typically used within test scripts to verify the expected behavior of the syst...
I applied via Approached by Company
Project structure refers to the organization of files, folders, and resources within a software project.
Main folders like src (source code), test (test cases), lib (libraries), docs (documentation)
Subfolders for specific modules or components
Configuration files like pom.xml, package.json, etc.
Build scripts like Jenkinsfile, Dockerfile
Version control files like .gitignore, .gitattributes
README.md file for project overvi
posted on 7 Oct 2024
I applied via Walk-in and was interviewed in Sep 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Jul 2024. There were 2 interview rounds.
Questions on basic java, manual testing, coding best practices, automation testing
Automate a login page using Selenium WebDriver in Java with synchronization and exception handling.
Use Selenium WebDriver to locate the username and password fields, enter valid credentials, and click the login button.
Implement explicit and implicit waits for synchronization to handle dynamic elements and page loading.
Use try-catch blocks for exception handling to capture and handle any errors during the login process.
...
posted on 4 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
30 mins - interview duration
C# OOPS, Selenium and Manual testing concepts
based on 2 reviews
Rating in categories
Senior Analyst
52
salaries
| ₹3.4 L/yr - ₹12 L/yr |
Customer Service & Operations Analyst
26
salaries
| ₹3.2 L/yr - ₹4.8 L/yr |
Software Engineer
25
salaries
| ₹8 L/yr - ₹20 L/yr |
Operations Analyst
23
salaries
| ₹4 L/yr - ₹5 L/yr |
Analyst
21
salaries
| ₹3 L/yr - ₹6.7 L/yr |
HDFC Bank
ICICI Bank
State Bank of India
Axis Bank