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
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...
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() ...
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...
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...
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 ...
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
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 interfac...
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 JOIN ...
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 Naukri.com and was interviewed before Aug 2020. There were 4 interview rounds.
Reversing a string involves rearranging its characters in the opposite order, which can be done using various methods.
Use built-in functions: In Python, you can reverse a string with slicing: `reversed_string = original_string[::-1]`.
Iterative approach: Loop through the string from the end to the beginning and build a new string.
Using recursion: Define a function that calls itself with a smaller substring until it reac...
I applied via Recruitment Consulltant and was interviewed before Nov 2021. There were 4 interview rounds.
MCQ's and Coding Problem - 1 related with Java, RDBMS, JS
I applied via Recruitment Consultant and was interviewed in Aug 2021. There was 1 interview round.
Questions related to Java programming language concepts and features.
StringBuilder and StringBuffer are used for efficient string manipulation.
Arrays are fixed in size while linked lists can grow dynamically.
TreeSet is a sorted set implementation in Java.
Java 8 introduced lambda expressions, streams, and functional interfaces.
Static keyword is used to create class-level variables and methods.
Dynamic method dispatch is ...
I applied via Campus Placement and was interviewed before May 2022. There were 4 interview rounds.
Aptitude and coding test
Generic topics, time 20 to 30 min
I applied via LinkedIn and was interviewed in Aug 2021. There was 1 interview round.
based on 1 interview experience
based on 7 reviews
Rating in categories
Technology Analyst
55.8k
salaries
| ₹4.8 L/yr - ₹11.1 L/yr |
Senior Systems Engineer
53.8k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35.1k
salaries
| ₹9.4 L/yr - ₹16.4 L/yr |
System Engineer
32.5k
salaries
| ₹2.4 L/yr - ₹5.3 L/yr |
Senior Associate Consultant
31.1k
salaries
| ₹8.1 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture