i
Infosys
Work with us
Filter interviews by
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...
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() ...
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...
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 Naukri.com and was interviewed before Aug 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Nov 2021. There were 2 interview rounds.
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 Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Dictionary is a collection of key-value pairs in Python.
Keys must be unique and immutable.
Values can be of any data type.
Access values using keys.
Add or modify values using keys.
Use dict() constructor or {} to create a dictionary.
Example: {'name': 'John', 'age': 30}
Example: dict(name='John', age=30)
I appeared for an interview in Nov 2020.
based on 1 interview experience
based on 7 reviews
Rating in categories
Technology Analyst
54.7k
salaries
| ₹4.8 L/yr - ₹10 L/yr |
Senior Systems Engineer
53.6k
salaries
| ₹2.5 L/yr - ₹6.3 L/yr |
Technical Lead
35.1k
salaries
| ₹9.4 L/yr - ₹16.5 L/yr |
System Engineer
32.6k
salaries
| ₹2.4 L/yr - ₹5.5 L/yr |
Senior Associate Consultant
31.5k
salaries
| ₹8.2 L/yr - ₹15 L/yr |
TCS
Wipro
Cognizant
Accenture