i
Deloitte
Filter interviews by
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
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)
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
What people are saying about Deloitte
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
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"));
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 ...
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, co...
Handling dropdowns in automation testing involves selecting options programmatically using various methods.
Use Selenium's Select class for dropdowns: `Select dropdown = new Select(driver.findElement(By.id('dropdownId')));`
Select by visible text: `dropdown.selectByVisibleText('Option 1');`
Select by value: `dropdown.selectByValue('value1');`
Select by index: `dropdown.selectByIndex(0);`
Handle dynamic dropdowns using ...
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")));
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
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
Handling dropdowns in automation testing involves selecting options programmatically using various methods.
Use Selenium's Select class for dropdowns: `Select dropdown = new Select(driver.findElement(By.id('dropdownId')));`
Select by visible text: `dropdown.selectByVisibleText('Option 1');`
Select by value: `dropdown.selectByValue('value1');`
Select by index: `dropdown.selectByIndex(0);`
Handle dynamic dropdowns using XPath...
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...
Automation tools are software programs used to automate testing tasks.
Selenium
Appium
TestComplete
Robot Framework
HP UFT
Cypress
I worked on an e-commerce platform, focusing on automating regression tests to ensure software quality and performance.
Led the automation testing efforts using Selenium WebDriver and TestNG.
Developed and maintained test scripts for critical user journeys, such as checkout and payment processing.
Collaborated with developers to identify test cases and improve test coverage.
Participated in daily stand-ups and sprint plann...
I applied via Recruitment Consulltant and was interviewed before Feb 2021. There were 2 interview rounds.
Cofing round on hackerearth
Case study with algo and db design
I applied via Campus Placement and was interviewed in Dec 2023. There were 2 interview rounds.
Question on java basics
I applied via Campus Placement
I appeared for an interview in Dec 2023.
Angular lifecycle hooks are methods that allow you to tap into specific points in a component's lifecycle.
ngOnChanges: called when an input property changes
ngOnInit: called once the component is initialized
ngDoCheck: called during every change detection run
ngAfterContentInit: called after content (ng-content) has been projected into the component
ngAfterContentChecked: called after every check of the projected content
ng...
I applied via Walk-in and was interviewed before Sep 2021. There were 2 interview rounds.
MCQs ques related to dbms,os ,oops
2 coding question on basic dsa and arrays and 2 SQL queries
based on 3 interview experiences
based on 21 reviews
Rating in categories
Consultant
40k
salaries
| ₹10 L/yr - ₹21.5 L/yr |
Senior Consultant
24.8k
salaries
| ₹16.6 L/yr - ₹33.3 L/yr |
Analyst
16.6k
salaries
| ₹5 L/yr - ₹12 L/yr |
Assistant Manager
11.3k
salaries
| ₹12.1 L/yr - ₹22 L/yr |
Manager
7.9k
salaries
| ₹24.6 L/yr - ₹43.7 L/yr |
Accenture
PwC
Ernst & Young
Cognizant