Persistent Systems
ivy Interview Questions and Answers
Q1. 2. Tell me in detail how you implement the extent report
Extent report can be implemented by adding the extent report dependency, creating an instance of ExtentReports class, and using ExtentTest class to create test logs.
Add the extent report dependency in the project's pom.xml file
Create an instance of ExtentReports class in the @BeforeSuite method
Create an instance of ExtentTest class in the @BeforeMethod method
Use ExtentTest class to log test steps and results
Generate the report using the flush() method in the @AfterSuite metho...read more
Q2. Testing methodologies Defect life-cycle Example of high priority and low severity defect and vice versa What is Agile
Testing methodologies, defect life-cycle, high priority vs low severity defects, and Agile.
Testing methodologies include black box, white box, and grey box testing.
Defect life-cycle includes identification, logging, prioritization, fixing, retesting, and closure.
High priority and low severity defect example: spelling mistake in a critical message.
Low priority and high severity defect example: cosmetic issue in a non-critical area.
Agile is an iterative and incremental approach...read more
Q3. Have u worked on Java and Selenium?
Yes, I have worked extensively on Java and Selenium.
I have experience in developing and executing automated test scripts using Selenium WebDriver with Java.
I have worked on various frameworks like TestNG, JUnit, and Cucumber for test automation.
I have also integrated Selenium with other tools like Jenkins, Maven, and Git for continuous integration and delivery.
I have experience in debugging and troubleshooting issues in Selenium scripts.
I have worked on both web and mobile au...read more
Q4. 3. Write a program to find duplicates number from list
Program to find duplicates in a list
Create an empty list to store duplicates
Loop through the list and check if the element appears more than once
If yes, add it to the duplicates list
Return the duplicates list
Q5. 5. How you handle dynamic web table
Dynamic web tables can be handled using various methods like XPath, CSS selectors, and Selenium commands.
Identify the table element using its HTML tag and attributes
Use Selenium commands like findElement() and findElements() to locate the table and its rows/columns
Iterate through the rows and columns using loops and extract the required data
Use XPath or CSS selectors to locate specific cells or data within the table
Handle pagination if the table has multiple pages
Verify the a...read more
Q6. 1. Write a code for database connectivity
Code for database connectivity
Import the required database driver
Create a connection object using the driver
Establish connection to the database using connection object
Execute SQL queries using the connection object
Close the connection
Interview Process at ivy
Reviews
Interviews
Salaries
Users/Month