i
Infosys
Work with us
Filter interviews by
Frames are used to divide a web page into multiple sections. They can be handled using various methods.
Use switchTo() method to switch to the frame
Use defaultContent() method to switch back to the main content
Use frame() method to locate the frame by index, name, or WebElement
Use parentFrame() method to switch to the parent frame
Use getWindowHandle() method to get the handle of the current window
The getWindowHandles command retrieves all open window handles for switching between them in Selenium.
Use driver.getWindowHandles() to get a set of all window handles.
Convert the set to a list for easier access: List<String> windowHandles = new ArrayList<>(driver.getWindowHandles());
Switch to a specific window using driver.switchTo().window(windowHandles.get(index));
Close a window using driver.close() ...
OOP is a programming paradigm based on objects, encapsulating data and behavior for better code organization and reuse.
Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).
Inheritance: Mechanism to create a new class based on an existing class, inheriting its properties (e.g., a 'Dog' class inheriting from an 'Animal' class).
Polymorphism: Ability to present the same int...
My automation framework is designed for efficient testing, scalability, and maintainability using modern tools and best practices.
Utilizes Selenium WebDriver for browser automation, enabling cross-browser testing.
Incorporates TestNG for test management, allowing parallel execution and detailed reporting.
Employs Page Object Model (POM) to enhance code reusability and maintainability.
Integrates with CI/CD tools like...
Basic SQL queries are essential for retrieving and manipulating data in relational databases.
SELECT statement: Used to select data from a database. Example: SELECT * FROM users;
WHERE clause: Filters records based on specified conditions. Example: SELECT * FROM users WHERE age > 30;
JOIN operations: Combines rows from two or more tables based on a related column. Example: SELECT orders.id, users.name FROM orders ...
To handle drop-down, identify the element, select the option, and verify the selection.
Identify the drop-down element using locators like ID, class, or XPath.
Use Selenium's Select class to select the desired option.
Verify the selection using assertions or by getting the selected option's text.
Handle dynamic drop-downs using wait statements or JavaScriptExecutor.
Test for edge cases like empty options or duplicate v...
String is a sequence of characters in Java.
Strings are immutable in Java.
String class provides various methods for manipulating strings.
Strings can be concatenated using the '+' operator.
Strings can be compared using the 'equals()' method.
Strings can be converted to character arrays using the 'toCharArray()' method.
Focus on basics and check your oops concept
My automation framework is designed for efficient testing, scalability, and maintainability using modern tools and best practices.
Utilizes Selenium WebDriver for browser automation, enabling cross-browser testing.
Incorporates TestNG for test management, allowing parallel execution and detailed reporting.
Employs Page Object Model (POM) to enhance code reusability and maintainability.
Integrates with CI/CD tools like Jenk...
To handle drop-down, identify the element, select the option, and verify the selection.
Identify the drop-down element using locators like ID, class, or XPath.
Use Selenium's Select class to select the desired option.
Verify the selection using assertions or by getting the selected option's text.
Handle dynamic drop-downs using wait statements or JavaScriptExecutor.
Test for edge cases like empty options or duplicate values...
Frames are used to divide a web page into multiple sections. They can be handled using various methods.
Use switchTo() method to switch to the frame
Use defaultContent() method to switch back to the main content
Use frame() method to locate the frame by index, name, or WebElement
Use parentFrame() method to switch to the parent frame
Use getWindowHandle() method to get the handle of the current window
The getWindowHandles command retrieves all open window handles for switching between them in Selenium.
Use driver.getWindowHandles() to get a set of all window handles.
Convert the set to a list for easier access: List<String> windowHandles = new ArrayList<>(driver.getWindowHandles());
Switch to a specific window using driver.switchTo().window(windowHandles.get(index));
Close a window using driver.close() and s...
String is a sequence of characters in Java.
Strings are immutable in Java.
String class provides various methods for manipulating strings.
Strings can be concatenated using the '+' operator.
Strings can be compared using the 'equals()' method.
Strings can be converted to character arrays using the 'toCharArray()' method.
What people are saying about Infosys
I applied via Company Website and was interviewed before Mar 2020. There were 3 interview rounds.
Code using traditional JavaScript methods
Use document.getElementById() to access HTML elements
Use loops like for() and while() for iteration
Use if() and switch() for conditional statements
Use functions to encapsulate code and improve reusability
I applied via Campus Placement and was interviewed in Apr 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before May 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Aug 2020. There were 4 interview rounds.
JPA stands for Java Persistence API, a specification for object-relational mapping in Java applications.
JPA is used to map Java objects to relational database tables.
It provides a set of annotations to define the mapping between Java classes and database tables.
JPA also supports querying data using the Java Persistence Query Language (JPQL).
I applied via Recruitment Consulltant and was interviewed before Jun 2021. There were 2 interview rounds.
Web API is a framework for building HTTP services that can be accessed by various clients.
GET, PUT, POST, and DELETE are HTTP methods used to interact with Web APIs.
ASP.NET is a popular framework for building Web APIs.
Object-Oriented Programming (OOP) concepts are used in building Web APIs.
Examples of Web APIs include Twitter API, Google Maps API, and Facebook Graph API.
It was good communication test English grammer and email writing
based on 1 interview experience
based on 7 reviews
Rating in categories
Technology Analyst
55.1k
salaries
| ₹4.8 L/yr - ₹10 L/yr |
Senior Systems Engineer
54.4k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35.4k
salaries
| ₹9.5 L/yr - ₹16.5 L/yr |
System Engineer
32.6k
salaries
| ₹2.4 L/yr - ₹6 L/yr |
Senior Associate Consultant
32.4k
salaries
| ₹8.3 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture