i
Ernst & Young
Filter interviews by
I applied via Referral and was interviewed before Jul 2019. There were 3 interview rounds.
Python selenium robot framework
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 Approached by Company and was interviewed in Feb 2024. There were 2 interview rounds.
Automate a test case for Makemytrip website
Use Selenium WebDriver to automate the test case
Identify the test scenario, such as searching for a flight
Write test scripts in a programming language like Java or Python
Use test data to validate the functionality of the website
Implement assertions to verify expected outcomes
Constructor is a special type of method in a class which is used to initialize objects.
Constructor has the same name as the class.
It does not have a return type.
It is called automatically when an object is created.
Constructors can be parameterized or default.
Example: public class Car { public Car() { // default constructor } }
Program to find count of vowels in a string
Iterate through each character in the string
Check if the character is a vowel (a, e, i, o, u)
Increment a counter for each vowel found
Find a middle element and largest element from an array using hashmap.
Python selenium robot framework
Locator in Selenium is used to identify web elements on a web page.
Locators are used to find and interact with elements on a web page.
Common locators include ID, name, class name, tag name, link text, and partial link text.
XPath and CSS selectors are also commonly used locators in Selenium.
Example: driver.findElement(By.id("username"));
Action class in Selenium is used to perform complex user interactions like drag and drop, double click, etc.
Action class is part of the Selenium WebDriver API
It is used to perform advanced user interactions like drag and drop, double click, etc.
Actions class is instantiated by creating an object of Actions class and passing the WebDriver instance as a parameter
Actions class methods include moveToElement, click, context
In Selenium, the Select class is used to work with dropdown elements on a web page.
The Select class is part of the org.openqa.selenium.support.ui package
It provides methods to interact with dropdown elements such as selecting options by visible text, value, or index
To use the Select class, you first need to locate the dropdown element using a locator like ID, name, or class name
Waits in Selenium are used to synchronize the test execution with the application's behavior.
Waits help in handling synchronization issues between test scripts and web elements
Types of waits in Selenium include Implicit Wait, Explicit Wait, and Fluent Wait
Example: WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("elementID")));
Explicit, implicit, and fluent waits are different types of waits used in automation testing to handle synchronization issues.
Explicit wait is used to wait for a certain condition to be met before proceeding with the test execution. It is defined by the tester in the code.
Implicit wait is used to wait for a certain amount of time before throwing an exception if the element is not found. It is defined globally for the e...
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
Recursion, cyclic sort, string
Senior Consultant
15.5k
salaries
| ₹9.1 L/yr - ₹29.7 L/yr |
Consultant
11.8k
salaries
| ₹5.4 L/yr - ₹19 L/yr |
Manager
7.4k
salaries
| ₹16.5 L/yr - ₹51.2 L/yr |
Assistant Manager
6.3k
salaries
| ₹9.3 L/yr - ₹29.9 L/yr |
Associate Consultant
3.8k
salaries
| ₹3.5 L/yr - ₹12 L/yr |
Deloitte
PwC
EY Global Delivery Services ( EY GDS)
Accenture