i
Ernst & Young
Filter interviews by
I was interviewed before Feb 2024.
I applied via LinkedIn and was interviewed in Oct 2023. There was 1 interview round.
Shadow DOM is a web standard that encapsulates a DOM subtree within a custom element, preventing styles and scripts from leaking out.
Shadow DOM allows for creating self-contained components with their own styles and scripts
It helps in preventing CSS and JavaScript conflicts between different parts of a web page
Shadow DOM can be accessed and manipulated using JavaScript APIs like ShadowRoot
Retry logic in TestNG allows for re-execution of failed test cases to improve test reliability.
Retry logic can be implemented using the 'retryAnalyzer' attribute in TestNG annotations.
It allows for setting a maximum number of retry attempts for failed test cases.
Failed test cases are re-executed based on the specified retry count.
Retry logic helps in improving test reliability by handling intermittent failures.
Scenario is used to define a single test case, while scenario outline is used to define multiple test cases using a template.
Scenario is used for a single test case, while scenario outline is used for multiple test cases.
Scenario outline uses placeholders (example:
Scenario outline is useful when testing the same functionality with different input data.
Example: Scen...
posted on 1 Dec 2021
I applied via Other and was interviewed in Nov 2021. There was 1 interview round.
Severity and Priority of changing a logo in an application
Severity refers to the impact of the logo change on the application's functionality
Priority determines the order in which the logo change should be addressed
Example: If the logo change affects the application's branding and user recognition, it may have high severity and priority
I applied via Approached by Company and was interviewed in Feb 2024. There were 2 interview rounds.
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 LinkedIn and was interviewed in Oct 2023. There was 1 interview round.
Shadow DOM is a web standard that encapsulates a DOM subtree within a custom element, preventing styles and scripts from leaking out.
Shadow DOM allows for creating self-contained components with their own styles and scripts
It helps in preventing CSS and JavaScript conflicts between different parts of a web page
Shadow DOM can be accessed and manipulated using JavaScript APIs like ShadowRoot
Retry logic in TestNG allows for re-execution of failed test cases to improve test reliability.
Retry logic can be implemented using the 'retryAnalyzer' attribute in TestNG annotations.
It allows for setting a maximum number of retry attempts for failed test cases.
Failed test cases are re-executed based on the specified retry count.
Retry logic helps in improving test reliability by handling intermittent failures.
Scenario is used to define a single test case, while scenario outline is used to define multiple test cases using a template.
Scenario is used for a single test case, while scenario outline is used for multiple test cases.
Scenario outline uses placeholders (example:
Scenario outline is useful when testing the same functionality with different input data.
Example: Scen...
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
I applied via Company Website and was interviewed in Sep 2023. There was 1 interview round.
The def keyword is used in Selenium to define a function or method.
Used to define reusable code blocks
Helps in organizing code and improving readability
Allows for easier maintenance and updates
Example: def login(username, password) { //code to login }
POM (Page Object Model) is a design pattern used in test automation to create reusable and maintainable code by separating page objects from test scripts.
POM helps in improving test script readability and maintenance by keeping the page objects separate from test logic
Each page in the application has its own corresponding page object class, which contains all the elements and methods related to that page
Test scripts in...
Dynamic table elements can be handled by locating the table, identifying the rows and columns, and using appropriate methods to interact with the data.
Locate the table element using a unique identifier such as class, id, or xpath
Identify the rows and columns within the table using HTML tags like
Use methods like getText() or getAttribute() to retrieve data from the table cells
Handle dynamic changes in the table by...
I applied via Naukri.com and was interviewed in Mar 2022. There were 3 interview rounds.
I work on manual to automation conversion ratio by analyzing the repetitive and time-consuming manual tasks and automating them.
Identify the manual tasks that are repetitive and time-consuming
Analyze the feasibility of automating those tasks
Prioritize the tasks based on their impact on the testing process
Create a plan for automation and execute it
Regularly review and update the automation plan
Collaborate with the team
Scenario outline
Scenario outline is the key word in BDD framework to run common cases
It allows for the creation of a template scenario with placeholders for input values
The placeholders can be filled in with specific values for each test case
based on 1 interview
Interview experience
Senior Consultant
15.8k
salaries
| ₹9 L/yr - ₹34 L/yr |
Consultant
12k
salaries
| ₹6 L/yr - ₹20 L/yr |
Manager
7.6k
salaries
| ₹17 L/yr - ₹51.2 L/yr |
Assistant Manager
6.4k
salaries
| ₹9.5 L/yr - ₹29 L/yr |
Associate Consultant
3.9k
salaries
| ₹3.3 L/yr - ₹12 L/yr |
Deloitte
PwC
EY Global Delivery Services ( EY GDS)
Accenture