Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Use Selenium WebDriver to find all web elements in a web page
Instantiate a WebDriver object using Selenium
Use findElements method to locate all elements on the page
Store the found elements in a list for further processing
Code to find implicit and explicit wait in automation testing
For implicit wait, set a global timeout for the driver to wait for elements to be available before throwing an error
Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
For explicit wait, wait for a specific condition to be met before proceeding with the test
Example: WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedCo...
Code to find occurrence of a character in a given string
Iterate through each character in the string
Count occurrences of the specified character
Return the total count of occurrences
Top trending discussions
I was interviewed in Dec 2024.
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
I am a highly skilled Automation Engineer with a strong background in programming and problem-solving.
Experienced in developing automated test scripts using tools like Selenium and Appium
Proficient in programming languages such as Java, Python, and C#
Familiar with CI/CD pipelines and version control systems like Git
Strong analytical skills and attention to detail
Excellent communication and teamwork abilities
I am a highly skilled Automation Engineer with a strong background in programming and problem-solving.
Experienced in designing, developing, and implementing automated testing solutions
Proficient in programming languages such as Python, Java, and C++
Familiar with various automation tools like Selenium and Jenkins
Strong analytical skills and attention to detail
Excellent communication and teamwork abilities
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements, and swaps them if they are in the wrong order.
Start at the beginning of the array and compare the first two elements. If the first element is greater than the second, swap them.
Continue comparing adjacent elements and swapping them if necessary until the end of the array is reached.
Repeat this process for each ...
Custom assertions in Selenium allow for creating personalized validation checks in test automation scripts.
Custom assertions can be created by extending the Assert class in Selenium.
They can be used to validate specific conditions or elements on a web page.
Custom assertions can improve test readability and maintainability by encapsulating complex validation logic.
Example: Creating a custom assertion to verify the prese
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'
I applied via Referral and was interviewed in May 2024. There was 1 interview round.
I like the constant learning and problem-solving in IT, but dislike the long hours and high stress levels.
Like: Constant learning opportunities
Like: Problem-solving challenges
Dislike: Long working hours
Dislike: High stress levels
Multiple choice questions and answers given
Yes, I am open to relocating for the right opportunity.
I am willing to relocate for the right job opportunity that aligns with my career goals.
I am open to exploring new locations and experiencing different cultures.
I understand the importance of being flexible and adaptable in the field of automation engineering.
I have relocated for previous job opportunities and have successfully adjusted to new environments.
I applied via Job Portal and was interviewed in Aug 2023. There was 1 interview round.
To automate hybrid and native mobile applications, use tools like Appium and Selenium for testing and UI automation.
Use Appium for automating native and hybrid mobile apps
Use Selenium for automating web views in hybrid apps
Identify elements using unique identifiers like resource-id, class name, etc.
Use XPath or CSS selectors to locate elements
Write test scripts in programming languages like Java, Python, etc.
Use emulat...
Array list and linked list are data structures used in programming.
Array list is a dynamic array that can grow or shrink in size. It is used when random access is required.
Linked list is a collection of nodes where each node contains a reference to the next node. It is used when frequent insertions and deletions are required.
In automation frameworks, array list can be used to store test data or test steps while linked ...
Selenium framework is an open-source automation testing tool used for web applications.
Selenium framework supports multiple programming languages like Java, Python, C#, etc.
It consists of four components: Selenium IDE, Selenium RC, WebDriver, and Selenium Grid.
It allows for cross-browser testing and supports parallel test execution.
Selenium framework can be integrated with other testing tools like TestNG, JUnit, etc.
It...
The @BeforeMethod annotation is used to run a method before each test method in a class, while @BeforeTest is used to run a method before any test method in a test tag.
The @BeforeMethod annotation is specific to TestNG framework and is used to initialize test data before each test method.
@BeforeTest annotation is also specific to TestNG and is used to initialize test data before any test method in a test tag.
If a class...
Interview experience
Senior Software Engineer
632
salaries
| ₹7 L/yr - ₹28 L/yr |
Software Engineer
522
salaries
| ₹4.8 L/yr - ₹17.5 L/yr |
Associate Software Engineer
337
salaries
| ₹5 L/yr - ₹9.1 L/yr |
Principal Software Engineer
161
salaries
| ₹12.5 L/yr - ₹35.2 L/yr |
Senior Associate
153
salaries
| ₹4.2 L/yr - ₹10 L/yr |
TCS
Wipro
Infosys
HCLTech