Filter interviews by
I was interviewed in Jan 2025.
Page Object Model is a design pattern used in test automation to create an object repository for web UI elements.
Page Object Model helps in separating the test scripts from the actual web elements, making the code more maintainable and reusable.
Each web page is represented as a separate class, with locators and methods to interact with the elements on that page.
Page classes contain methods to perform actions on the ele...
Status codes are standardized codes used by servers to indicate the outcome of a HTTP request.
1. 1xx - Informational: Request received, continuing process
2. 2xx - Success: The action was successfully received, understood, and accepted
3. 3xx - Redirection: Further action must be taken in order to complete the request
4. 4xx - Client Error: The request contains bad syntax or cannot be fulfilled
5. 5xx - Server Error: The s
Types of wait in Selenium include Implicit Wait, Explicit Wait, and Fluent Wait.
Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit Wait: Waits for a certain condition to be met before proceeding further in the code.
Fluent Wait: Waits for a condition to be met with a defined polling frequency and maximum timeout.
Example: driver.manage().timeouts().implicitlyWait(10, TimeU
Handling alerts in Selenium using alert.dismiss() method
Use driver.switchTo().alert() to switch to the alert
Use alert.dismiss() to dismiss the alert without performing any action
Purpose of alert.dismiss() method is to close the alert without accepting it
TestNG provides various built-in annotations to control the flow of test methods.
Some of the common @Annotations in TestNG are @Test, @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, @BeforeClass, @AfterClass, @BeforeMethod, @AfterMethod, @DataProvider, @Parameters, @Listeners, @Factory, @BeforeGroups, @AfterGroups, @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest.
These annotations help in setting up preconditions...
XPath is more powerful and flexible but complex, while CSS selectors are simpler and faster.
XPath can traverse both upwards and downwards in the DOM tree, while CSS selectors can only traverse downwards.
XPath can select elements based on their attributes, text content, and position in the DOM, while CSS selectors are limited to selecting elements based on their attributes.
XPath expressions are longer and more complex t...
I have encountered exceptions like ElementNotVisibleException, StaleElementReferenceException, TimeoutException, etc.
ElementNotVisibleException occurs when an element is present in the DOM but not visible on the web page.
StaleElementReferenceException occurs when an element is no longer attached to the DOM.
TimeoutException occurs when a specific operation does not complete within a specified timeout.
NoSuchElementExcept...
Top trending discussions
I applied via Naukri.com and was interviewed in Oct 2024. There were 3 interview rounds.
Scenario based questions
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.
Easy very simple questions sked in test
SDLC stands for Software Development Life Cycle, a process used to design, develop, and test software.
SDLC is a systematic process for building software applications.
It includes phases like planning, analysis, design, implementation, testing, and maintenance.
Each phase has specific goals and deliverables to ensure the quality and success of the software.
Examples of SDLC models include Waterfall, Agile, and DevOps.
Hackerank platform with multiple questions.
I applied via LinkedIn and was interviewed in Sep 2024. There was 1 interview round.
Write a program to run the same test case 100 times
Use a loop to iterate 100 times
Call the test case function inside the loop
Track the results of each iteration if needed
A program to count the number of duplicate characters in an array of strings.
Iterate through each string in the array
For each string, iterate through each character and count the occurrences
Store the count of each character in a map or dictionary
Return the characters with count greater than 1
Handling multiple windows in Selenium involves switching between windows and performing actions on each window.
Use getWindowHandles() to get all window handles
Switch to a specific window using switchTo().window(handle)
Perform actions on the window
Switch back to the original window if needed
I applied via Job Portal and was interviewed in Aug 2024. There were 2 interview rounds.
Bubble sort algo, String manipulation
Good questions on java coding
based on 1 interview
Interview experience
Senior Consultant
1.1k
salaries
| ₹10 L/yr - ₹42 L/yr |
Consultant
1.1k
salaries
| ₹8 L/yr - ₹30.8 L/yr |
Associate Consultant
247
salaries
| ₹3.5 L/yr - ₹8.6 L/yr |
SAP Basis Consultant
179
salaries
| ₹4 L/yr - ₹20 L/yr |
Softwaretest Engineer
116
salaries
| ₹3 L/yr - ₹10 L/yr |
IBM
Accenture
Wipro
Tech Mahindra