i
Willis Towers Watson
Filter interviews by
posted on 3 Jul 2024
I am using a hybrid automation framework which combines data-driven and keyword-driven approaches.
Combines data-driven and keyword-driven testing
Uses reusable functions and libraries
Supports both web and mobile testing
Allows for easy maintenance and scalability
I manage parallel test execution by using test automation frameworks and tools to run multiple tests simultaneously.
Utilize test automation frameworks like Selenium Grid or TestNG to run tests in parallel
Leverage cloud-based testing platforms like Sauce Labs or BrowserStack for parallel test execution
Implement parallel test execution in CI/CD pipelines using tools like Jenkins or Travis CI
Use containerization technolog...
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 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 Referral and was interviewed before Jul 2019. There were 3 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 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
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
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 Approached by Company and was interviewed in Feb 2024. There were 2 interview rounds.
Senior Advisor
1.2k
salaries
| ₹2.5 L/yr - ₹9 L/yr |
Advisor
644
salaries
| ₹2 L/yr - ₹6 L/yr |
Analyst
520
salaries
| ₹3.9 L/yr - ₹13 L/yr |
Senior Associate
397
salaries
| ₹3 L/yr - ₹9.5 L/yr |
Senior Analyst
321
salaries
| ₹6 L/yr - ₹24 L/yr |
Marsh McLennan
Aon
Mercer
Gallagher