i
Infosys
Work with us
Filter interviews by
A simple calculator program that performs basic arithmetic operations like addition, subtraction, multiplication, and division.
Define functions for each operation: add, subtract, multiply, divide.
Use input() to get user input for numbers and operation choice.
Handle division by zero with error checking.
Example: To add 5 and 3, call add(5, 3) which returns 8.
Implement a loop to allow multiple calculations until the ...
JUnit and TestNG are both testing frameworks for Java, but they differ in features, annotations, and flexibility.
Annotations: JUnit uses @Test, @Before, and @After, while TestNG offers more annotations like @BeforeClass, @AfterClass, and @DataProvider.
Parallel Execution: TestNG supports parallel test execution out of the box, allowing tests to run simultaneously, which can speed up the testing process.
Dependency T...
Parsing JSON involves converting a JSON string into a usable JavaScript object for data manipulation and access.
Using JSON.parse(): This method takes a JSON string and converts it into a JavaScript object. Example: const obj = JSON.parse('{"name":"John"}');
Accessing Data: Once parsed, you can access properties using dot notation or bracket notation. Example: console.log(obj.name);
Error Handling: Always wrap JSON.p...
TestNG is a testing framework inspired by JUnit, offering powerful annotations for flexible test configuration and execution.
@Test: Marks a method as a test method. Example: @Test public void testMethod() {}
@BeforeMethod: Runs before each test method. Example: @BeforeMethod public void setup() {}
@AfterMethod: Runs after each test method. Example: @AfterMethod public void teardown() {}
@BeforeClass: Runs once before...
API requests are messages sent to a server, while responses are the data returned from the server after processing the request.
Request Methods: Common HTTP methods include GET (retrieve data), POST (send data), PUT (update data), and DELETE (remove data).
Request Headers: These provide additional context about the request, such as content type and authentication tokens. Example: 'Content-Type: application/json'.
Res...
SDLC stands for Software Development Life Cycle, a process used to design, develop, and test software applications.
SDLC is a systematic process for building software applications.
It includes phases like planning, design, development, testing, deployment, and maintenance.
Examples of SDLC models include Waterfall, Agile, and DevOps.
Each phase in SDLC has specific goals and deliverables to ensure the quality of the s...
STLC stands for Software Testing Life Cycle, which is a series of steps performed in a specific sequence to ensure the quality of software.
STLC is a process followed by software testers to ensure the quality of the software being developed.
It includes phases like requirement analysis, test planning, test design, test execution, and test closure.
Each phase has specific activities and deliverables that need to be co...
SOLID principles are a set of five design principles in object-oriented programming to make software designs more understandable, flexible, and maintainable.
Single Responsibility Principle (SRP) - A class should have only one reason to change.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Objects of a superclass should ...
Virtual DOM is a lightweight copy of the actual DOM, used for efficient updates in web applications.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing actual DOM manipulations.
DOM (Document Object Model) is the actual representation of the HTML document in the browser.
Changes made to the virtual DOM are compared with the actual DOM, and only the differences are updated in t...
React is a popular JavaScript library for building user interfaces.
Virtual DOM for faster rendering
Component-based architecture for reusability
One-way data binding for easier debugging
Support for server-side rendering
Large community and ecosystem for support and resources
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Selenium is a popular automation testing tool used for web applications.
Selenium is used for automating web browsers.
It supports multiple programming languages like Java, Python, C#, etc.
Selenium WebDriver is the most commonly used component for writing test scripts.
Selenium Grid is used for parallel testing across different browsers and environments.
SOLID principles are a set of five design principles in object-oriented programming to make software designs more understandable, flexible, and maintainable.
Single Responsibility Principle (SRP) - A class should have only one reason to change.
Open/Closed Principle (OCP) - Software entities should be open for extension but closed for modification.
Liskov Substitution Principle (LSP) - Objects of a superclass should be re...
Descent coding round for QA Engineer
Typical questions about automation in software testing
What are the benefits of automation in software testing?
How do you select which test cases to automate?
What tools have you used for test automation?
How do you handle dynamic elements in automated tests?
Can you explain a scenario where automation saved time and improved efficiency?
React is a popular JavaScript library for building user interfaces.
Virtual DOM for faster rendering
Component-based architecture for reusability
One-way data binding for easier debugging
Support for server-side rendering
Large community and ecosystem for support and resources
Virtual DOM is a lightweight copy of the actual DOM, used for efficient updates in web applications.
Virtual DOM is a concept used in frameworks like React to improve performance by minimizing actual DOM manipulations.
DOM (Document Object Model) is the actual representation of the HTML document in the browser.
Changes made to the virtual DOM are compared with the actual DOM, and only the differences are updated in the re...
I applied via Company Website and was interviewed in Oct 2024. There was 1 interview round.
SDLC stands for Software Development Life Cycle, a process used to design, develop, and test software applications.
SDLC is a systematic process for building software applications.
It includes phases like planning, design, development, testing, deployment, and maintenance.
Examples of SDLC models include Waterfall, Agile, and DevOps.
Each phase in SDLC has specific goals and deliverables to ensure the quality of the softwa...
STLC stands for Software Testing Life Cycle, which is a series of steps performed in a specific sequence to ensure the quality of software.
STLC is a process followed by software testers to ensure the quality of the software being developed.
It includes phases like requirement analysis, test planning, test design, test execution, and test closure.
Each phase has specific activities and deliverables that need to be complet...
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
I appeared for an interview in Dec 2024, where I was asked the following questions.
A simple calculator program that performs basic arithmetic operations like addition, subtraction, multiplication, and division.
Define functions for each operation: add, subtract, multiply, divide.
Use input() to get user input for numbers and operation choice.
Handle division by zero with error checking.
Example: To add 5 and 3, call add(5, 3) which returns 8.
Implement a loop to allow multiple calculations until the user ...
I applied via Naukri.com and was interviewed in Jun 2024. There were 3 interview rounds.
2 coding questions was asked on the DSA
What people are saying about Infosys
The duration of Infosys Softwaretest Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 30 interview experiences
Difficulty level
Duration
based on 167 reviews
Rating in categories
Technology Analyst
54.7k
salaries
| ₹3 L/yr - ₹11.5 L/yr |
Senior Systems Engineer
53.7k
salaries
| ₹2.5 L/yr - ₹9 L/yr |
Technical Lead
35k
salaries
| ₹7.3 L/yr - ₹20 L/yr |
System Engineer
32.5k
salaries
| ₹2.4 L/yr - ₹5.3 L/yr |
Senior Associate Consultant
31k
salaries
| ₹6.3 L/yr - ₹16.9 L/yr |
TCS
Wipro
Cognizant
Accenture