Add office photos
Nagarro logo
Engaged Employer

Nagarro

Verified
4.0
based on 4.1k Reviews
Video summary
Filter interviews by
Senior Test Engineer
Clear (1)

Nagarro Senior Test Engineer Interview Questions and Answers

Updated 20 Jun 2024

Q1. Explain testng annotations and how will we use annotation in our framework

Ans.

TestNG annotations are used to control the flow of test methods and provide additional information about the test methods.

  • TestNG annotations are used to mark methods as test methods, setup methods, teardown methods, etc.

  • Annotations like @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeSuite, @AfterSuite are commonly used in TestNG framework.

  • Annotations help in organizing and prioritizing test methods, setting dependencies between test methods, and control...read more

Add your answer
right arrow

Q2. What is overriding and where it is used in automation framework

Ans.

Overriding is a concept in object-oriented programming where a subclass provides a specific implementation of a method that is already provided by its superclass.

  • Overriding allows a subclass to provide a specific implementation of a method that is already provided by its superclass

  • It is used in automation frameworks to customize or extend the functionality of existing methods or classes

  • In automation testing, overriding can be used to modify the behavior of test methods inheri...read more

Add your answer
right arrow

Q3. Explain rest assured and write a code for post and verify the response

Ans.

Rest Assured is a Java library for testing RESTful APIs. It simplifies API testing by providing a fluent interface to make HTTP requests and validate responses.

  • Rest Assured is commonly used in API automation testing to validate the functionality of RESTful APIs.

  • It allows testers to easily make HTTP requests, set headers, parameters, and body, and validate the response.

  • Here is an example code snippet for posting data and verifying the response using Rest Assured: given(). cont...read more

Add your answer
right arrow

Q4. Java code for sorting without using built in function

Ans.

Sorting array of strings in Java without using built-in functions

  • Create a custom sorting algorithm like bubble sort, selection sort, or insertion sort

  • Compare each pair of strings and swap them if necessary to sort in ascending order

  • Repeat the process until the array is fully sorted

Add your answer
right arrow
Discover Nagarro interview dos and don'ts from real experiences

Q5. What is testng listener

Ans.

TestNG listener is an interface that allows users to customize the test execution process.

  • TestNG listeners can be used to perform actions before or after a test method is run.

  • Listeners can be used to generate logs, take screenshots, or perform other custom actions during test execution.

  • Examples of TestNG listeners include ITestListener, ISuiteListener, and IInvokedMethodListener.

Add your answer
right arrow

Q6. Explain ci/cd pipeline using jenkins

Ans.

CI/CD pipeline using Jenkins automates the process of integrating code changes and deploying them to production.

  • Jenkins is a popular automation server used for CI/CD

  • CI/CD stands for Continuous Integration/Continuous Deployment

  • In a CI/CD pipeline, code changes are automatically built, tested, and deployed

  • Jenkins pipelines can be defined using a Jenkinsfile which specifies the stages and steps of the pipeline

  • Example: Checkout code from version control, build code, run tests, de...read more

Add your answer
right arrow

Q7. Explain automation framework

Ans.

Automation framework is a set of guidelines, rules, and tools that help in creating and executing automated tests.

  • Automation framework provides structure and guidelines for creating automated tests

  • It helps in organizing test scripts, data, and results

  • Frameworks can be data-driven, keyword-driven, or hybrid

  • Examples of automation frameworks include Selenium WebDriver, TestNG, and Robot Framework

Add your answer
right arrow

Q8. Explain bdd hooks and tags

Ans.

BDD hooks and tags are used in Behavior-Driven Development to set up preconditions and execute actions before or after scenarios, and to categorize and filter scenarios.

  • BDD hooks are used to set up preconditions and execute actions before or after scenarios

  • Tags are used to categorize and filter scenarios based on certain criteria

  • Hooks can be used to perform setup and teardown actions, such as initializing test data or closing resources

  • Tags can be used to run specific subsets ...read more

Add your answer
right arrow

Q9. Explain bdd background keyword

Ans.

BDD background keyword is used to define common preconditions for all scenarios in a feature file.

  • Used at the beginning of a feature file to define common preconditions

  • Helps in setting up the initial state for all scenarios in the feature file

  • Reduces duplication of steps in scenarios by defining them once in the background

Add your answer
right arrow

More about working at Nagarro

Back
Awards Leaf
AmbitionBox Logo
#2 Best Large Company - 2022
Awards Leaf
Awards Leaf
AmbitionBox Logo
#1 Best IT/ITES Company - 2022
Awards Leaf
Contribute & help others!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos

Interview Process at Nagarro Senior Test Engineer

based on 2 interviews
1 Interview rounds
Aptitude Test Round
View more
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Test Engineer Interview Questions from Similar Companies

TCS Logo
3.7
 • 22 Interview Questions
View all
Recently Viewed
SALARIES
Home Credit Finance
REVIEWS
HDB Financial Services
No Reviews
INTERVIEWS
Centum Learning
No Interviews
INTERVIEWS
Nagarro
No Interviews
INTERVIEWS
Nagarro
No Interviews
INTERVIEWS
Pune Institute of Business Management
No Interviews
INTERVIEWS
Nagarro
No Interviews
SALARIES
Home Credit Finance
INTERVIEWS
Nagarro
No Interviews
SALARIES
Home Credit Finance
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

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