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 Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Program to find character occurances in 'Hello World'
Create a map to store character occurrences
Iterate through each character in the string and update the map
Print the character occurrences from the map
Multithreading is the ability of a CPU to execute multiple threads concurrently, allowing for better performance and resource utilization.
Multithreading allows multiple threads to run concurrently within the same process.
Each thread has its own stack and shares the same memory space.
Multithreading can improve performance by utilizing multiple CPU cores efficiently.
Examples of multithreading include running multiple tas...
TestNG annotations are used to control the flow of test methods and provide additional information about the test.
Annotations like @Test, @BeforeSuite, @AfterSuite are used to define test methods and setup/teardown methods
Annotations like @BeforeTest, @AfterTest are used to run setup/teardown methods before/after a test
Annotations like @BeforeClass, @AfterClass are used to run setup/teardown methods before/after a test...
I applied via Company Website and was interviewed in Nov 2024. There was 1 interview round.
Defect life cycle is the process of identifying, reporting, fixing, retesting, and closing defects in software development.
Defect identification: Defects are identified through testing or user feedback.
Defect reporting: Defects are reported in a defect tracking tool with details like steps to reproduce, severity, and priority.
Defect fixing: Developers fix the reported defects based on the information provided.
Defect re...
Black box testing focuses on functionality without knowledge of internal code, while white box testing examines internal code structure.
Black box testing tests the functionality of a system without knowledge of its internal code
White box testing tests the internal code structure and logic of a system
Black box testing is more focused on end-user perspective
White box testing is more focused on developer perspective
Exampl...
Hard assert stops the execution of the test case if it fails, while soft assert continues the execution and logs the failure.
Hard assert is used when the failure of a particular step makes the further steps irrelevant.
Soft assert is used when you want to continue with the test case execution even if some steps fail.
Hard assert is implemented using 'assert' keyword in testing frameworks like TestNG or JUnit.
Soft assert ...
Annotations in Selenium WebDriver are used to provide additional information about the test methods.
Annotations help in organizing and managing test cases
Some common annotations in Selenium WebDriver are @Test, @BeforeTest, @AfterTest, @BeforeClass, @AfterClass, @BeforeMethod, @AfterMethod
Annotations are used to define the sequence of execution of test methods
Use XPath to count the number of links with the text 'selenium'
Use XPath to locate all the links containing the text 'selenium'
Count the number of links found using the XPath expression
Use SQL query to display 60 pass and 40 fail from a table of students.
Use SELECT statement with COUNT function to count the number of pass and fail statuses.
Use WHERE clause to filter out pass and fail statuses.
Use GROUP BY clause to group the statuses together.
Use CASE statement to display the count of pass and fail statuses.
I applied via LinkedIn and was interviewed in Jun 2024. There was 1 interview round.
findElements returns a list of web elements matching the locator, while findElement returns the first web element matching the locator.
findElements returns a list of web elements, findElement returns the first element
findElements returns an empty list if no elements are found, findElement throws NoSuchElementException
findElements is useful for finding multiple elements, findElement is useful for finding a single elemen
The code takes a name as input, prints each letter, and checks if any vowels repeat in the name.
Create a function that takes a string input for the name
Iterate through each letter in the name and print them individually
Check for vowel repetition by keeping track of vowels encountered
Fluent wait is a dynamic wait mechanism in Selenium WebDriver that waits for a condition to be true before proceeding.
Fluent wait is used to handle dynamic web elements that may load at different times.
It can define the maximum amount of time to wait for a condition, as well as the frequency of checking.
Example: WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedConditions.visibilityOfElementLocated
I am an Automation Engineer with experience in designing and implementing automated test scripts for web applications.
Designed and implemented automated test scripts using Selenium WebDriver for regression testing
Collaborated with developers to integrate automated tests into continuous integration pipeline
Performed manual testing to identify bugs and validate automated test results
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)
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
I applied via Approached by Company and was interviewed in Feb 2024. There were 2 interview rounds.
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