Filter interviews by
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
I was interviewed in Dec 2024.
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
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Java OOPs concepts are used in automation framework design for better code organization and reusability.
Encapsulation: Used to hide the internal implementation details of classes and provide access through methods.
Inheritance: Allows for code reuse by creating parent-child relationships between classes.
Polymorphism: Enables methods to behave differently based on the object they are called on.
Abstraction: Helps in defin...
OTP can be handled by generating, sending, and verifying it in automated tests.
Generate OTP using a random number generator
Send OTP to the user via email, SMS, or any other communication channel
Verify OTP entered by the user against the generated OTP
To start Appium in automation, you need to install Appium server, set up desired capabilities, and run the server.
Install Appium server using npm install -g appium
Set up desired capabilities in your test script
Start the Appium server using the command appium
Types of mobile apps include native apps, web apps, and hybrid apps.
Native apps are developed for specific platforms like iOS or Android
Web apps are accessed through a web browser and do not need to be downloaded from an app store
Hybrid apps combine elements of both native and web apps
Examples include Instagram (native), Twitter (web), and Uber (hybrid)
Program to remove duplicate letters in a string
Iterate through the string and keep track of seen characters in a set
Append characters to a new string only if they are not already in the set
Return the new string without duplicate letters
Swipe action in mobile devices can be performed using swipe() method in Appium or TouchAction class in Selenium.
Use swipe() method in Appium to perform swipe action in mobile devices
Alternatively, use TouchAction class in Selenium for swipe action
Specify the start and end coordinates for the swipe action
Adjust the duration and speed of the swipe as needed
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.
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
Framework structure refers to the organization of test automation code, including folders, files, libraries, and configurations.
Framework structure typically includes folders for test scripts, test data, page objects, utilities, and configurations.
It may involve separation of concerns, such as using Page Object Model for better maintainability.
Frameworks like TestNG or JUnit provide annotations to structure test cases ...
I am a dedicated Automation Test Engineer with 5 years of experience in creating and executing test cases for software applications.
Experienced in creating automated test scripts using tools like Selenium and Appium
Proficient in identifying bugs and issues in software applications
Skilled in writing test plans and test cases to ensure comprehensive test coverage
Strong knowledge of programming languages such as Java and ...
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
HashMap allows null values and keys, while HashTable does not. HashMap is not synchronized, making it faster in performance compared to HashTable.
HashMap allows null values and keys, while HashTable does not.
HashMap is not synchronized, making it faster in performance compared to HashTable.
HashMap is preferred for non-thread-safe applications, while HashTable is preferred for thread-safe applications.
Stale Element Reference Exception occurs when an element is no longer attached to the DOM.
Occurs when an element is located in the DOM, but later becomes detached or deleted
Common in dynamic web applications where elements are frequently changing
Can be resolved by re-locating the element before interacting with it
Collection is an interface in Java that represents a group of objects, while Collections is a utility class in Java that contains static methods for operating on collections.
Collection is an interface in Java, while Collections is a utility class.
Collection is used to represent a group of objects, while Collections is used for operations on collections like sorting, searching, etc.
Example: List is a Collection interfac...
POM stands for Page Object Model. It is a design pattern used in test automation to create reusable and maintainable code.
POM helps in separating the test scripts from the web elements, making the code more organized and easier to maintain.
It improves code reusability by creating separate classes for each web page, containing all the elements and actions related to that page.
POM reduces code duplication and enhances te...
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance
Provides a global point of access to that instance
Commonly used in scenarios where only one instance of a class is needed, such as database connections or logging
Interview experience
based on 9 reviews
Rating in categories
Senior Engineer
5.3k
salaries
| ₹5 L/yr - ₹17 L/yr |
Engineer
4.8k
salaries
| ₹3 L/yr - ₹8.2 L/yr |
Technical Lead
2.1k
salaries
| ₹8.5 L/yr - ₹30 L/yr |
Project Lead
1.6k
salaries
| ₹6 L/yr - ₹23 L/yr |
Senior Software Engineer
1.4k
salaries
| ₹4.8 L/yr - ₹18.7 L/yr |
Infosys
Wipro
Tech Mahindra
HCLTech