i
Infosys
Filter interviews by
Clear (1)
I applied via Company Website and was interviewed in Jun 2024. There was 1 interview round.
Count the number of duplicate strings in an array
Iterate through the array and use a hashmap to store the count of each string
Check the hashmap for strings with count greater than 1 to find duplicates
To find each num repeated on array
Infosys interview questions for designations
I applied via Company Website and was interviewed in Feb 2024. There was 1 interview round.
Check the password encryption by verifying the hashing algorithm used and comparing the encrypted password with a known hash value.
Check the hashing algorithm used to encrypt the password (e.g. MD5, SHA-256)
Compare the encrypted password with a known hash value for the same password
Ensure that the encryption process is irreversible, meaning the original password cannot be easily obtained from the encrypted version
To get the URL of a webpage, you can use the window.location object in JavaScript.
Use window.location.href to get the full URL of the webpage
Use window.location.hostname to get the domain of the webpage
Use window.location.pathname to get the path of the webpage
Use window.location.protocol to get the protocol of the webpage (http or https)
One method to remove spaces in a string is by using the replace() method in JavaScript.
Use the replace() method with a regular expression to replace all spaces with an empty string
Example: str.replace(/\s/g, '') will remove all spaces from the string 'hello world'
Another method is to use the split() method to split the string by spaces and then join the array elements without spaces
Handle popups by using automation tools, handling alerts, switching to popup windows, and using explicit waits.
Use automation tools like Selenium to handle popups
Handle alerts using switchTo().alert() method
Switch to popup windows using switchTo().window() method
Use explicit waits to ensure popup elements are loaded before interacting with them
Agile is iterative and flexible, while Waterfall is sequential and rigid.
Agile involves continuous feedback and adaptation, while Waterfall follows a linear approach.
Agile allows for changes throughout the development process, while Waterfall requires detailed planning upfront.
Agile promotes collaboration and communication among team members, while Waterfall has distinct phases with limited interaction.
Agile is better ...
Common bugs in API testing include incorrect data formats, authentication issues, and performance problems.
Incorrect data formats such as missing or incorrect parameters
Authentication issues like invalid tokens or permissions
Performance problems such as slow response times or timeouts
Selenium is a suite of tools for web automation testing, while Selenium WebDriver is a tool specifically for automating web browsers.
Selenium is a suite of tools that includes Selenium WebDriver, Selenium IDE, and Selenium Grid.
Selenium WebDriver is a tool for automating web browsers and is the most commonly used component of Selenium.
Selenium WebDriver allows testers to write tests in various programming languages lik...
Use Selenium WebDriver to find all elements on a webpage using Java locators
Use findElements method to locate all elements on the webpage
Use By class to specify the locator strategy (e.g. By.xpath, By.id, By.className)
Store the located elements in a List
Polymorphism is the ability of a function or method to behave differently based on the object it is called with.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
It enables a single interface to be used for different data types or classes.
Examples include method overloading and method overriding in object-oriented programming.
An interface in programming is a contract that defines the methods that a class must implement.
Interfaces in programming are used to define a set of methods that a class must implement.
They provide a way to achieve abstraction and multiple inheritance in programming languages.
Interfaces are used to define the behavior of a class without specifying how it is implemented.
In languages like Java, classes can implement mult...
Get interview-ready with Top Infosys Interview Questions
To create a left star pattern in Java, use nested loops to print stars in a left-aligned triangle shape. To run parallel test cases in automation testing, use TestNG's parallel attribute in the testng.xml file. TestNG annotations include @Test, @BeforeSuite, @AfterSuite, @BeforeTest, @AfterTest, @BeforeClass, @AfterClass, @BeforeMethod, @AfterMethod.
For left star pattern in Java, use nested loops to print stars in a le...
Test cases are detailed steps to test a specific functionality, while test scenarios are high-level descriptions of possible test paths.
Test cases are specific steps to test a particular functionality or feature.
Test scenarios are high-level descriptions of possible test paths or user interactions.
Test cases are detailed and concrete, while test scenarios are more abstract and general.
Test cases are usually written in ...
Test closure is the final phase of the testing process where all testing activities are completed and the testing team evaluates the testing process.
Test closure involves documenting the test results and preparing the final test closure report.
It includes analyzing the test metrics to assess the quality of the testing process.
Test closure also involves releasing the test environment and resources used during testing.
It...
HTTP methods are actions that can be performed on a resource in API testing.
GET - Retrieve data from a server
POST - Submit data to a server
PUT - Update an existing resource on a server
DELETE - Remove a resource from a server
PATCH - Partially update a resource on a server
Authentication verifies the identity of a user, while authorization determines what a user can access.
Authentication confirms the user's identity through credentials like username and password.
Authorization determines the user's permissions and access levels once authenticated.
Authentication is the process of validating a user's identity, while authorization is the process of determining what actions a user is allowed ...
I applied via Referral and was interviewed in Mar 2024. There were 3 interview rounds.
I applied via Job Portal and was interviewed in Jun 2024. There was 1 interview round.
Automating online platforms within 3 mins requires efficient test scripts and tools.
Use automation tools like Selenium or Appium for web and mobile platforms respectively
Write efficient test scripts to cover critical functionalities within the time limit
Utilize parallel testing to speed up the automation process
Prioritize test cases based on risk and impact to ensure essential functionalities are covered
Implement data-...
I applied via Company Website and was interviewed in Sep 2024. There was 1 interview round.
I am a highly skilled Automation Test Engineer with experience in creating and executing automated test scripts.
Experienced in using tools like Selenium, Appium, and JUnit
Proficient in programming languages such as Java, Python, and C#
Strong understanding of software testing methodologies and best practices
Python OOPS concepts include classes, objects, inheritance, polymorphism, and encapsulation.
Classes are blueprints for creating objects with attributes and methods.
Objects are instances of classes that can store data and perform actions.
Inheritance allows creating new classes by inheriting properties and methods from existing classes.
Polymorphism enables objects of different classes to be treated as objects of a common...
The pass, break, and continue keywords are used in programming to control the flow of execution in loops and conditional statements.
The pass keyword is used as a placeholder for code that will be implemented later.
The break keyword is used to exit a loop or switch statement.
The continue keyword is used to skip the rest of the current iteration and move to the next iteration in a loop.
The task is to count the repetition of characters in a given string.
Iterate through each character in the string
Create a dictionary to store the count of each character
If the character is already present in the dictionary, increment its count
If the character is not present, add it to the dictionary with count 1
Return the dictionary with character counts
What people are saying about Infosys
The duration of Infosys Automation Test Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 31 interviews
2 Interview rounds
based on 67 reviews
Rating in categories
Hyderabad / Secunderabad,
Pune
+11-6 Yrs
₹ 2.3-11.2 LPA
Technology Analyst
55.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Systems Engineer
50.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
System Engineer
39.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
30.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate Consultant
27.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Wipro
Cognizant
Accenture