i
Infosys
Filter interviews by
Static testing is done without executing the code, while dynamic testing involves executing the code.
Static testing is performed during the early stages of development to prevent defects from entering the codebase.
Dynamic testing is carried out during the later stages of development to validate the behavior of the software.
Examples of static testing include code reviews, walkthroughs, and inspections.
Examples of dynami...
Locators in Selenium are used to identify web elements on a web page in order to perform actions like click, type, etc.
Locators are used to find elements on a web page based on certain attributes like id, name, class, etc.
Common types of locators in Selenium include ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector, and XPath.
For example, driver.findElement(By.id("username")) will find the elem
posted on 31 Oct 2023
What people are saying about Infosys
posted on 13 Jul 2024
I applied via Naukri.com
Abstraction in C# is the process of hiding the implementation details and showing only the necessary features of an object.
Abstraction allows us to focus on what an object does rather than how it does it
It helps in reducing complexity and improving maintainability of the code
In C#, abstraction is achieved using abstract classes and interfaces
XPath is a language used for navigating through XML documents and selecting nodes based on their attributes or values.
XPath stands for XML Path Language.
It is used to navigate through elements and attributes in an XML document.
There are two types of XPath: Absolute XPath and Relative XPath.
Absolute XPath starts from the root node, denoted by a single forward slash (/).
Relative XPath starts from the current node, denote
Yes, wait time can be changed during runtime by adjusting the code logic or configuration settings.
Wait time can be changed by modifying the code to include dynamic wait times based on certain conditions.
Configuration settings in the application or system can also be adjusted to change wait times.
For example, in automated testing scripts, wait times can be adjusted based on the response time of the application being te
To handle windows in Selenium, you can use the switchTo() method to switch between windows.
Use getWindowHandles() to get all window handles
Use switchTo().window() to switch to a specific window handle
Perform actions on the desired window
To handle a scroll bar, simply click and drag the scroll bar up or down to navigate through a webpage or document.
Click on the scroll bar and drag it up or down to move through the content.
Use the scroll wheel on your mouse to scroll up or down.
On touch devices, swipe up or down on the screen to scroll.
You can also use the arrow keys on your keyboard to scroll up or down.
To handle a popup window, you can use automation tools like Selenium WebDriver to locate and interact with the popup elements.
Use Selenium WebDriver to switch to the popup window
Identify and interact with elements on the popup window
Perform necessary actions on the popup window
Switch back to the main window after handling the popup
To open a new tab, you can use keyboard shortcuts or mouse clicks depending on the browser you are using.
For most browsers, you can open a new tab by pressing Ctrl + T on your keyboard.
Alternatively, you can right-click on a link and select 'Open link in new tab' from the context menu.
You can also click on the '+' icon next to the existing tabs to open a new tab.
Some browsers allow you to open a new tab by pressing Ctr
posted on 6 Mar 2025
I applied via Campus Placement and was interviewed before Sep 2019. There were 5 interview rounds.
OOPs concepts in Java are the fundamental principles of object-oriented programming.
Encapsulation: wrapping data and code into a single unit
Inheritance: creating new classes from existing ones
Polymorphism: using a single interface to represent multiple types
Abstraction: hiding implementation details from the user
Examples: class, object, inheritance, polymorphism, encapsulation
Stack is a LIFO data structure while Queue is a FIFO data structure.
Stack follows Last In First Out (LIFO) principle while Queue follows First In First Out (FIFO) principle.
Stack has two main operations: push and pop while Queue has two main operations: enqueue and dequeue.
Stack is used in recursive function calls, undo/redo operations, and backtracking while Queue is used in breadth-first search, printing tasks in ord...
SQL query to find second highest salary in database
Use ORDER BY and LIMIT to get the second highest salary
Assume ties are allowed and use DISTINCT
Method overloading is having multiple methods with the same name but different parameters. Method overriding is having a method in a subclass with the same name and parameters as a method in its superclass.
Method overloading is done within the same class while method overriding is done in different classes (subclass and superclass).
Method overloading is achieved by changing the number of parameters or the data type of ...
The parent class of all classes in Java is the Object class.
All classes in Java implicitly extend the Object class.
The Object class provides basic methods such as toString(), equals(), and hashCode().
Any class can override these methods to provide custom implementations.
Example: public class MyClass extends Object { ... }
Example: Object obj = new MyClass();
SQL databases are relational and use structured query language, while NoSQL databases are non-relational and use various data models.
SQL databases are based on a fixed schema, while NoSQL databases are schema-less.
SQL databases use tables to store data, while NoSQL databases use various data models like key-value, document, columnar, or graph.
SQL databases are better suited for complex queries and structured data, whil...
I applied via Company Website and was interviewed before Oct 2019. There were 4 interview rounds.
I applied via Recruitment Consultant and was interviewed before Nov 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Oct 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Jun 2021. There were 3 interview rounds.
It includes, maths, English, Computer, general knowledge
I applied via Campus Placement and was interviewed before Aug 2020. There were 4 interview rounds.
based on 2 interviews
Interview experience
Technology Analyst
55.3k
salaries
| ₹3 L/yr - ₹11 L/yr |
Senior Systems Engineer
51.1k
salaries
| ₹2.5 L/yr - ₹8 L/yr |
System Engineer
31.6k
salaries
| ₹2.5 L/yr - ₹5.6 L/yr |
Technical Lead
30.9k
salaries
| ₹5.1 L/yr - ₹19.5 L/yr |
Senior Associate Consultant
28.7k
salaries
| ₹6.2 L/yr - ₹16.6 L/yr |
TCS
Wipro
Cognizant
Accenture