Premium Employer

Infosys

3.7
based on 36.3k Reviews
Filter interviews by

20+ Interview Questions and Answers

Updated 23 Oct 2024
Popular Designations

Q1. What should be the Test cases of a Music Player?

Ans.

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

View 1 answer

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 more
Ans.

Test 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

Add your answer

Q3. What are different transformations in big data testing

Ans.

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

Add your answer

Q4. Get the lines above and below of the line containing a string

Ans.

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

Add your answer
Discover null interview dos and don'ts from real experiences

Q5. Give 3 Positive and Negative scenarios of Pen

Ans.

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

Add your answer

Q6. How is increment load different from full load

Ans.

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

View 1 answer
Are these interview questions helpful?

Q7. Difference between array and linked list

Ans.

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

Add your answer

Q8. What's you expectation form us

Ans.

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

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Shell command to change the color of the text in the file

Ans.

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'

Add your answer

Q10. What is Docker, container and AWS services for container

Ans.

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

Add your answer

Q11. What is Jira? How to create CI/CD pipeline?

Ans.

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

Add your answer

Q12. Write a code to open new window

Ans.

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

View 1 answer

Q13. Difference between stack and queue

Ans.

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

Add your answer

Q14. Difference between Priority and Severity

Ans.

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

Add your answer

Q15. Describe scenario of Elevator

Ans.

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

Add your answer

Q16. Explain OOPS concepts

Ans.

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

Add your answer

Q17. Name types of deployment in AWS

Ans.

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

Add your answer

Q18. Write code to automate the login page

Ans.

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

Add your answer

Q19. What are the types of wait

Ans.

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.

Add your answer

Q20. Technologies you have worked on

Ans.

I have worked on technologies such as Selenium, JUnit, TestNG, Jenkins, and Git.

  • Selenium

  • JUnit

  • TestNG

  • Jenkins

  • Git

Add your answer

Q21. Explain the framework used

Ans.

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

Add your answer

Q22. What are keywords

Ans.

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.

Add your answer

Q23. Explain Bug life cycle

Ans.

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

Add your answer

Q24. Explain STLC PROCESD

Ans.

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

Add your answer

Q25. Define joins in sql.

Ans.

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

Add your answer

Q26. Explain Framework

Ans.

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

Add your answer

Q27. List Program in java

Ans.

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

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at null

based on 45 interviews in the last 1 year
2 Interview rounds
Technical Round 1
Technical Round 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Test Engineer Interview Questions from Similar Companies

3.7
 • 39 Interview Questions
3.6
 • 24 Interview Questions
3.4
 • 16 Interview Questions
3.6
 • 13 Interview Questions
3.2
 • 10 Interview Questions
3.0
 • 10 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter