i
Infosys
Filter interviews by
Challenges in Selenium include browser compatibility, dynamic elements, and test maintenance.
Browser compatibility issues can arise due to differences in browser versions and configurations.
Dynamic elements can cause tests to fail if not handled properly.
Test maintenance can be challenging due to changes in the application under test.
Synchronization issues can occur when the test script runs faster than the application...
List of common WebDriver exceptions
NoSuchElementException - When an element is not found in the DOM
TimeoutException - When a command takes too long to complete
StaleElementReferenceException - When an element is no longer attached to the DOM
ElementNotVisibleException - When an element is present in the DOM but not visible
ElementNotInteractableException - When an element is present in the DOM but not interactable
InvalidE...
I applied via LinkedIn and was interviewed in Dec 2024. There was 1 interview round.
Maven build lifecycle consists of phases like compile, test, package, install, deploy.
Maven build lifecycle consists of three main phases: clean, default, and site.
Each phase consists of a series of goals that are executed in a specific order.
Some common goals in Maven build lifecycle include compile, test, package, install, and deploy.
The clean phase removes all files generated by the previous build.
The default phase ...
Code to reverse a sentence using array of strings.
Split the sentence into an array of words
Reverse the array
Join the array back into a sentence
Static block in Java is a block of code that is executed only once when the class is loaded.
Static block is used to initialize static variables of a class.
It is executed before the main method.
Syntax: static { // code to be executed }
Example: static { System.out.println("Static block executed"); }
Exclude and include in TestNG are used to specify which test methods to run or skip during test execution.
Exclude attribute is used to specify which test methods to skip during test execution
Include attribute is used to specify which test methods to run during test execution
Both attributes can be used in the testng.xml file or in the @Test annotation
Example: @Test(groups = {"smoke"}, excludeGroups = {"regression"})
To reverse a digit, convert it to a string and then reverse the string.
Convert the digit to a string
Use built-in functions to reverse the string
Convert the reversed string back to a digit if needed
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
Fundamental questions about Selenium encompass topics such as: 1. right-click actions and mouse movement, 2. screenshot methods and functions, 3. handling multiple window controls, 4. concepts of Object-Oriented Programming (OOP), 5. differences among collections, sets, and maps, 6. framework architecture, 7. sorting an array without using built-in functions, and 8. managing failed test cases in TestNG.
Infosys interview questions for designations
Get interview-ready with Top Infosys Interview Questions
Implicit wait is set globally for the entire duration of the test script, while explicit wait is applied only to specific elements.
Implicit wait is set using driver.manage().timeouts().implicitlyWait() in Selenium, while explicit wait is implemented using WebDriverWait class.
Implicit wait is used to wait for elements to be present in the DOM, while explicit wait is used to wait for specific conditions to be met before ...
Selenium 4 has new features like relative locators, improved grid support, and better integration with DevTools compared to Selenium 3.
Selenium 4 has introduced relative locators which help in locating elements based on their relationship with other elements.
Selenium 4 provides improved grid support with the introduction of the new GridConfig class.
Selenium 4 has better integration with DevTools for better debugging an...
I applied via Company Website and was interviewed in Jun 2024. There were 2 interview rounds.
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
Postman is a popular API testing tool used for testing and debugging APIs.
Postman allows users to send requests to APIs and receive responses
It provides a user-friendly interface for creating and managing API requests
Postman can be used for automated testing of APIs
It supports various request types such as GET, POST, PUT, DELETE, etc.
Postman helps in API testing by providing a user-friendly interface to send requests, automate testing, and analyze responses.
Postman allows testers to easily send requests to APIs and view responses in a user-friendly interface.
It provides features for automating API testing, such as creating test scripts and running collections of tests.
Postman also offers tools for analyzing responses, including detailed logs and te...
Locators in Selenium are used to identify web elements on a webpage for automation testing purposes.
Locators include ID, class name, name, tag name, link text, partial link text, and xpath.
ID is the most efficient locator as it is unique for each element.
Xpath is powerful but can be slow and brittle if not used correctly.
Using CSS selectors is preferred over xpath for better performance.
Locators can be used with findEl
My framework is a data-driven framework using Selenium WebDriver and TestNG for automated testing.
Data-driven approach for test data management
Integration of Selenium WebDriver for web automation
Utilization of TestNG for test case management and reporting
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
I have experience working on automation testing projects for web applications using Selenium and Cucumber.
Developed automated test scripts using Selenium WebDriver for regression testing
Implemented BDD framework using Cucumber for test case execution
Collaborated with developers to identify and resolve defects in the application
Executed test cases in different browsers and environments to ensure compatibility
I applied via Company Website and was interviewed in Jun 2024. There was 1 interview round.
What people are saying about Infosys
1 Interview rounds
based on 62 reviews
Rating in categories
Technology Analyst
56.3k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
49.8k
salaries
| ₹2.8 L/yr - ₹8 L/yr |
System Engineer
39k
salaries
| ₹2.5 L/yr - ₹5.3 L/yr |
Technical Lead
30.7k
salaries
| ₹5.2 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
27.2k
salaries
| ₹4.3 L/yr - ₹16.7 L/yr |
TCS
Wipro
Cognizant
Accenture