Filter interviews by
Python selenium robot framework
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)
posted on 4 Apr 2022
I was interviewed in Apr 2021.
Round duration - 60 Minutes
Round difficulty - Medium
This round started with some basic questions from Software Testing and then the interviewer started asking some questions from Automation Testing.
Round duration - 60 Minutes
Round difficulty - Medium
This round had questions majorly from Selenium and Cucumber.
Round duration - 30 Minutes
Round difficulty - Easy
This is a cultural fitment testing round. HR was very frank and asked standard questions. Then we discussed about my
role.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
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 Referral and was interviewed before Jul 2019. There were 3 interview rounds.
Find a middle element and largest element from an array using hashmap.
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 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...
Automation tools are software programs used to automate testing tasks.
Selenium
Appium
TestComplete
Robot Framework
HP UFT
Cypress
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Senior Associate
15.1k
salaries
| ₹8 L/yr - ₹30 L/yr |
Associate
13k
salaries
| ₹4.8 L/yr - ₹17 L/yr |
Manager
6.8k
salaries
| ₹14 L/yr - ₹44.4 L/yr |
Senior Consultant
4.4k
salaries
| ₹9 L/yr - ₹33 L/yr |
Associate2
4.2k
salaries
| ₹4.6 L/yr - ₹16.6 L/yr |
Deloitte
Ernst & Young
Accenture
TCS