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 Referral and was interviewed in Oct 2024. There were 3 interview rounds.
I am a dedicated QA Engineer with 5 years of experience in testing web and mobile applications.
5 years of experience in QA testing
Proficient in testing web and mobile applications
Strong attention to detail and problem-solving skills
Two coding questions 30 mins
Discuss with dev, review requirements and test cases, provide evidence from testing
Have a discussion with the developer to understand their perspective and reasoning behind considering it a bug
Review the requirements and test cases to ensure that the behavior in question aligns with the expected functionality
Provide evidence from testing, such as logs, screenshots, or test results, to support your stance
Collaborate wit...
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
I applied via Job Portal and was interviewed in Aug 2024. There were 2 interview rounds.
Bubble sort algo, String manipulation
I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.
SQL query with join
Use JOIN keyword to combine rows from two or more tables based on a related column between them
Specify the columns to select from each table in the SELECT statement
Use ON keyword to specify the join condition
SQL query with join
Use JOIN keyword to combine rows from two or more tables based on a related column between them
Specify the columns to select from each table
Use ON keyword to specify the join condition
Aptitude Reasoning more practice need for this
Data structures main and good understanding and problem solving
Program to check if a number is prime or not.
Create a function to check if a number is prime by iterating from 2 to the square root of the number.
If the number is divisible by any number in that range, it is not prime.
Return true if the number is prime, false otherwise.
Polymorphism is the ability of a single function or method to operate on different types of data. Overriding is when a subclass provides a specific implementation of a method that is already provided by its superclass.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
Overriding occurs when a subclass provides a specific implementation of a method that is already provided b...
I applied via Naukri.com and was interviewed in Sep 2023. There were 4 interview rounds.
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