Wipro
10+ Interview Questions and Answers
Q1. 2. How to deal with dynamic drop down in Selenium/ Appium
Dealing with dynamic drop down in Selenium/Appium
Identify the parent element of the drop down
Use findElements() method to get all the child elements
Iterate through the child elements and select the desired option
Use wait() method to handle dynamic loading of options
Use Select class for handling drop downs with select tag
For non-select tag drop downs, use click() method to open the drop down and select the option
Q2. What is Collection and types and how is it working?
Collections are objects that group multiple elements into a single unit.
Collections are used to store, retrieve, manipulate and communicate aggregate data.
Types of collections include List, Set, Map, Queue, Stack, etc.
Collections can be used to improve code readability, maintainability and performance.
Example: ArrayList is a type of List collection that stores elements in an ordered sequence.
Example: HashMap is a type of Map collection that stores key-value pairs.
Example: Pri...read more
Q3. 1. Java program to find duplicate elements in string using an array
Java program to find duplicate elements in string using an array
Create an array to store characters
Loop through the string and check if the character is already in the array
If it is, then it is a duplicate
Print out the duplicate characters
Q4. To write a program remove a duplicate from array list?
Program to remove duplicates from an array list
Create a new empty array list
Loop through the original array list
If the element is not already in the new array list, add it
Return the new array list
Q5. How did you find the CSS selector?
CSS selectors can be found using browser developer tools or by inspecting the HTML code.
Use browser developer tools to inspect elements and find their CSS selectors
Inspect the HTML code to find class or ID names that can be used as selectors
Use CSS selector reference guides to learn about different types of selectors
Experiment with different selectors to find the most efficient and specific one for your needs
Q6. Difference between implicit and explicit wait in selenium
Implicit wait is set globally for all elements, while explicit wait is applied to specific elements only.
Implicit wait is set using 'driver.manage().timeouts().implicitlyWait()' method
Explicit wait is implemented using WebDriverWait class with ExpectedConditions
Implicit wait is applied globally for all elements, while explicit wait is applied to specific elements only
Implicit wait is used to wait for elements to load before performing actions, while explicit wait is used to w...read more
Q7. Find elements, window handles return type
The find elements method returns a list of web elements matching a specified locator. Window handles return type is a set of strings representing unique identifiers for browser windows.
Find elements method returns a list of web elements matching a specified locator
Window handles return type is a set of strings representing unique identifiers for browser windows
Q8. Explain the process of Credit memo and demit memo
Credit memo and demit memo are financial documents used in accounting to record adjustments to accounts receivable and accounts payable.
Credit memo is issued by a seller to a buyer to reduce the amount owed by the buyer for goods or services provided.
Demit memo is issued by a buyer to a seller to request a reduction in the amount owed due to issues like damaged goods or incorrect billing.
Both credit memo and demit memo are used to adjust accounts receivable or accounts payabl...read more
Q9. Oops concepts used in my project
In my project, I have used Oops concepts like Inheritance, Polymorphism, Encapsulation, and Abstraction.
Inheritance: Reusing code and creating a hierarchy of classes.
Polymorphism: Ability to present the same interface for different data types.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Abstraction: Hiding the implementation details and showing only the necessary features.
Q10. What is cucumber options
Cucumber options are configuration settings used in Cucumber to customize test execution.
Cucumber options can be used to specify features, tags, formats, and more in the test execution
Examples include specifying tags to run specific scenarios, setting output formats for test reports, and defining feature files to run
Q11. Explain the business process of P2P
P2P (Procure-to-Pay) is the process of requisitioning, purchasing, receiving, paying for, and accounting for goods and services in a business.
Requisitioning: Requesting goods or services needed by the business.
Purchasing: Finding suppliers, negotiating prices, and creating purchase orders.
Receiving: Accepting and inspecting the goods or services received.
Paying for: Processing invoices and making payments to suppliers.
Accounting: Recording transactions and updating financial ...read more
Q12. Encapsulation in java
Encapsulation is the concept of bundling data and methods that operate on the data into a single unit, preventing direct access to the data from outside the unit.
Encapsulation helps in data hiding and abstraction
It allows for better control over data access and modification
Access to the data is restricted to methods within the class
Getters and setters are commonly used to access and modify encapsulated data
Interview Process at null
Top Senior Test Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month