Infosys
20+ Interview Questions and Answers
Q1. What should be the Test cases of a Music Player?
Test cases for a Music Player
Test playback of different file formats
Test volume control functionality
Test shuffle and repeat options
Test playlist creation and management
Test search functionality
Test interruption handling (e.g. phone call)
Test compatibility with different headphones/speakers
Test battery consumption
Test user interface and user experience
Q2. Introduce Yourself What is difference between verify and validate What is hard assert Write a selenium code check the alignment of header Write code to import value from excel file Write code to implement hard ...
read moreTest Engineer interview questions covering topics like verification, validation, hard assert, Selenium code, Excel file import, framework experience, and calendar selection code.
Verification is the process of evaluating whether the product meets the specified requirements, while validation is the process of evaluating whether the right product is being built.
Hard assert is a type of assertion in testing that stops the test execution immediately if the assertion fails.
Example ...read more
Q3. What are different transformations in big data testing
Different transformations in big data testing include data mapping, data conversion, data aggregation, and data filtering.
Data mapping involves mapping data from one format to another
Data conversion involves converting data from one type to another
Data aggregation involves combining data from multiple sources
Data filtering involves selecting specific data based on certain criteria
Examples include transforming data from CSV to JSON, converting data from string to integer, aggr...read more
Q4. Get the lines above and below of the line containing a string
Answer to a question on getting lines above and below a string in Test Engineering.
Use file handling to read the file line by line
Check if the current line contains the string
If yes, store the previous and next lines in variables
Repeat until end of file is reached
Return the stored lines
Q5. Give 3 Positive and Negative scenarios of Pen
Scenarios of Pen
Positive Scenarios:
- Pen is a versatile writing tool that can be used for various purposes such as writing, drawing, and signing documents.
- Pen is portable and easy to carry around, making it a convenient tool for people who are always on the go.
- Pen can be used to express creativity and artistry, allowing individuals to showcase their talents and skills.
Negative Scenarios:
- Pen can be easily lost or misplaced, causing inconvenience and frustration.
- Pen can...read more
Q6. How is increment load different from full load
Increment load is a gradual increase in user traffic while full load is the maximum user traffic.
Increment load gradually increases user traffic
Full load is the maximum user traffic
Increment load helps identify system capacity
Full load tests system performance under stress
Examples: Increment load - adding 100 users every 5 minutes, Full load - adding 1000 users at once
Q7. Difference between array and linked list
Array is a collection of elements of same data type stored in contiguous memory locations. Linked list is a collection of nodes where each node contains data and a reference to the next node.
Array has fixed size, linked list can grow dynamically
Insertion and deletion is faster in linked list than array
Accessing elements in array is faster than linked list
Arrays are better for small data sets, linked lists are better for large data sets
Example of array: int arr[] = {1, 2, 3, 4...read more
Q8. What's you expectation form us
I expect a challenging work environment with opportunities for growth and learning.
Clear understanding of job responsibilities and expectations
Opportunities for training and development
Collaborative work culture
Regular feedback and performance evaluations
Competitive compensation and benefits package
Q9. Shell command to change the color of the text in the file
The shell command to change the color of the text in the file is 'echo -e \033[COLORmTEXT\033[0m'
The command uses the escape sequence '\033' to indicate the start of a color code
Replace 'COLOR' with the desired color code (e.g. 31 for red)
Replace 'TEXT' with the text to be colored
Use '\033[0m' to reset the color back to default
Example: 'echo -e \033[31mHello World\033[0m' will print 'Hello World' in red color'
Q10. What is Docker, container and AWS services for container
Docker is a platform for developing, shipping, and running applications in containers. AWS offers services like ECS and EKS for managing containers.
Docker is a tool designed to make it easier to create, deploy, and run applications by using containers.
Containers allow a developer to package up an application with all parts it needs, such as libraries and other dependencies, and ship it all out as one package.
AWS offers services like Amazon Elastic Container Service (ECS) and ...read more
Q11. What is Jira? How to create CI/CD pipeline?
Jira is a project management tool used for tracking issues and managing software development projects. CI/CD pipeline automates software delivery process.
Jira is a popular project management tool that allows teams to track issues, manage tasks, and plan projects.
To create a CI/CD pipeline, you can use tools like Jenkins, GitLab CI/CD, or CircleCI to automate the software delivery process.
In Jira, you can integrate with CI/CD tools to track the progress of software development...read more
Q12. Write a code to open new window
Code to open a new window in a web application
Use window.open() method in JavaScript
Specify the URL of the new window as a parameter
Set the window features like size, position, and toolbar options
Q13. Difference between stack and queue
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 operations are push and pop, while Queue operations are enqueue and dequeue.
Stack is used in recursion, undo-redo functionality, and backtracking, while Queue is used in scheduling, buffering, and breadth-first search.
Examples of Stack include browser history, call stack, and undo-redo stack, while ...read more
Q14. Difference between Priority and Severity
Priority is the order in which a defect should be fixed, while Severity is the impact of the defect on the system.
Priority is based on business needs and urgency
Severity is based on the impact on the system and users
Priority can change based on project requirements
Severity remains constant throughout the project
Example: A spelling mistake in a button label may have low severity but high priority if it affects the usability of the system
Q15. Describe scenario of Elevator
An elevator is a vertical transportation device that moves people or goods between floors of a building.
Elevators have a control panel with buttons for selecting the desired floor
Elevators use a motor to move a cab or platform up and down a shaft
Elevators have safety features such as emergency stop buttons and sensors to prevent doors from closing on people
Elevators can be hydraulic or traction-based
Elevators are commonly found in tall buildings, hotels, and shopping malls
Q16. Explain OOPS concepts
OOPS concepts are the principles of Object-Oriented Programming that help in designing and implementing software systems.
Abstraction: Hiding the implementation details and showing only the necessary information.
Encapsulation: Binding data and functions together in a single unit called class.
Inheritance: Acquiring properties and behavior of a parent class by a child class.
Polymorphism: Ability of an object to take many forms or have multiple behaviors.
Example: A car is an obje...read more
Q17. Name types of deployment in AWS
Types of deployment in AWS include Blue/Green deployment, Canary deployment, and Rolling deployment.
Blue/Green deployment involves running two identical production environments, with one serving as the active environment and the other as a standby. Traffic is switched from the standby to the active environment once testing is complete.
Canary deployment involves gradually rolling out a new version of an application to a small subset of users before making it available to the e...read more
Q18. Write code to automate the login page
Automate the login page by writing code
Use a testing framework like Selenium for web automation
Identify the elements on the login page such as username field, password field, and login button
Write code to input valid credentials and click on the login button
Verify successful login by checking for expected elements on the next page
Q19. What are the types of wait
Types of wait include implicit wait, explicit wait, and fluent wait.
Implicit wait: Waits for a certain amount of time before throwing a NoSuchElementException.
Explicit wait: Waits for a certain condition to be met before proceeding further in the code.
Fluent wait: Waits for a condition to be met with a defined polling frequency.
Example: Using implicit wait to wait for an element to be present before interacting with it.
Q20. Technologies you have worked on
I have worked on technologies such as Selenium, JUnit, TestNG, Jenkins, and Git.
Selenium
JUnit
TestNG
Jenkins
Git
Q21. Explain the framework used
The framework used is a combination of Selenium WebDriver and TestNG for automated testing.
Combines Selenium WebDriver for browser automation
Utilizes TestNG for test case management and reporting
Supports data-driven testing and parallel execution
Allows for easy integration with CI/CD tools like Jenkins
Q22. What are keywords
Keywords are specific words or phrases that are used in programming languages to identify specific actions or functions.
Keywords are reserved words in a programming language that have special meaning and cannot be used for variable names
Examples of keywords in programming languages include 'if', 'else', 'while', 'for', 'int', 'void', etc.
Q23. Explain Bug life cycle
Bug life cycle is the process of a bug from identification to resolution in software testing.
Bug is identified by tester
Bug is reported in bug tracking system
Bug is assigned to developer
Developer fixes the bug
Bug is retested by tester
If bug is fixed, it is closed. If not, it is reopened
Q24. Explain STLC PROCESD
STLC (Software Testing Life Cycle) is a process followed by testers to ensure high-quality software.
STLC involves planning, designing, executing, and reporting on tests.
It includes phases like requirement analysis, test planning, test design, test execution, and test closure.
Each phase has specific activities and deliverables to ensure thorough testing.
STLC helps in identifying defects early in the software development process.
It ensures that the software meets quality standa...read more
Q25. Define joins in sql.
Joins in SQL are used to combine rows from two or more tables based on a related column between them.
Joins are used to retrieve data from multiple tables based on a related column
Types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL JOIN
Example: SELECT * FROM table1 INNER JOIN table2 ON table1.column = table2.column
Q26. Explain Framework
A framework is a set of guidelines, libraries, and tools used to develop and maintain software applications.
Provides structure and organization to code
Promotes code reusability
Facilitates automation and testing
Examples: Selenium for web automation, JUnit for unit testing
Q27. List Program in java
A list of programs in Java
Hello World program
Program to find factorial of a number
Program to check if a number is prime
Program to reverse a string
Program to sort an array
Top HR Questions asked in null
Interview Process at null
Top Test Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month