i
Nagarro
Filter interviews by
Clear (1)
I was interviewed in Dec 2024.
Basic quant and reasoning questions
Selenium MCQ
Java programs with MCQ
The driver is typically initialized in the setup method of a test automation framework.
Driver initialization is usually done in a setup method before test execution.
Commonly used methods for driver initialization include WebDriverManager, System.setProperty, and driver instantiation.
Example: WebDriverManager.chromedriver().setup();
Driver can be both static and non-static depending on the context of its usage.
Driver class can be static if it is used to initiate the WebDriver instance in a test automation framework.
Driver class can be non-static if it is used as an instance variable within a test class.
Static driver can be accessed directly without creating an object of the class.
Non-static driver requires an object of the class to be created befo
Static variables belong to the class itself, while non-static variables belong to instances of the class.
Static variables are shared among all instances of a class
Non-static variables are unique to each instance of a class
Static variables are initialized only once, at the start of the program
Non-static variables are initialized separately for each instance of the class
Static and non-static have their own disadvantages in QA automation testing.
Static methods cannot be overridden or inherited, making it difficult to create flexible test cases.
Non-static methods require an instance of the class to be created, which can lead to increased memory usage.
Static methods can lead to tight coupling between classes, making it harder to maintain and update the code.
Non-static methods may have de...
TestNG allows parallel execution of test cases to save time and improve efficiency.
TestNG provides the 'parallel' attribute in the testng.xml file to specify the level of parallelism for test execution.
Parallel execution can be achieved at the test level, class level, method level, or suite level.
TestNG also supports parallel execution of tests across multiple classes or suites using the 'parallel' attribute in the sui...
Parallel testing in TestNG allows running tests concurrently for faster execution.
Use 'parallel' attribute in testng.xml file to specify parallel execution mode.
Set 'parallel' attribute to 'methods', 'classes', or 'tests' based on the level of parallelism needed.
Example: <suite name='MySuite' parallel='tests'>
Use 'thread-count' attribute to specify the number of threads to use for parallel execution.
Parallel methods run multiple methods concurrently within a single test, while parallel tests run multiple tests concurrently.
Parallel methods execute multiple methods within a single test class concurrently.
Parallel tests execute multiple test classes concurrently.
Parallel methods are useful for speeding up the execution of a single test, while parallel tests are useful for running multiple tests faster.
Example: Runni...
Use Rest Assured to upload a file
Use the given file path to create a File object
Use MultiPartSpecBuilder to build the request with the file
Send the request using Rest Assured's given(), when(), and post() methods
The parameter for a POST method in Postman is typically sent in the request body.
Parameters are sent in the request body in key-value pairs
Parameters can be sent as form-data, x-www-form-urlencoded, or raw JSON
Example: {"key": "value"}
Cucumber knows the step definition file based on the annotations provided in the feature files.
Cucumber uses annotations like @Given, @When, @Then to map steps in feature files to corresponding step definition methods.
Step definition files are typically placed in a separate package or directory within the project structure.
Cucumber scans the project directory for step definition files based on the package structure and
Parameters used in cucumber are used to pass values to the step definitions in feature files.
Parameters are defined in feature files using < > syntax
Parameters can be passed to step definitions using Regular Expressions
Parameters can be used to make scenarios more reusable and dynamic
Datatable in Cucumber is used to pass multiple sets of data to a step definition in a scenario.
Datatables are defined using pipes (|) to separate values
Each row in the datatable represents a set of data passed to the step definition
Datatables can be used for parameterization and data-driven testing
Yes, I have created the test plan document at the start of the project.
Yes, I always create a test plan document at the beginning of a project to outline the testing approach and strategy.
The test plan document includes details on scope, objectives, resources, schedule, and test cases.
It helps in ensuring that all stakeholders are aligned on the testing process and expectations.
For example, in my previous project, I cr...
During the initial testing cycle of a project, focus is on establishing test cases, setting up test environments, and identifying potential issues.
Creating test cases based on requirements
Setting up test environments
Identifying potential issues and risks
Executing test cases and reporting defects
Collaborating with developers to resolve issues
Fibonacci sequence is a mathematical pattern where each number is the sum of the two preceding ones.
Fibonacci sequence is a series of numbers where each number is the sum of the two preceding ones.
The sequence starts with 1, 2, then each subsequent number is the sum of the two previous numbers (1+2=3, 2+3=5, 3+5=8, and so on).
This sequence is used in estimating because it reflects natural growth patterns found in natur
Testing matrix is a tool used to track test coverage and automation ROI is the return on investment from implementing automation testing.
Testing matrix is a visual representation of test cases, test scenarios, and their coverage across different platforms, browsers, devices, etc.
Automation ROI is the measure of the benefits gained from automation testing compared to the costs incurred in implementing and maintaining th...
I applied via Approached by Company and was interviewed in Feb 2024. There were 2 interview rounds.
Test was based on Aptitude and Selenium, Java question.
Sorting a hashmap using keys without any method involves iterating through the keys and rearranging them in ascending order.
Iterate through the keys of the hashmap
Compare each key with the next key and swap them if they are in the wrong order
Continue this process until all keys are in ascending order
I applied via Naukri.com and was interviewed in Jan 2022. There were 3 interview rounds.
Math, logical reasoning, verbal communication
I applied via Company Website and was interviewed before Nov 2021. There were 5 interview rounds.
Medium level Aptitude questions,and basic coding knowledge required to clear the First round
Communication skill Assessment
Program to print Fibonacci series
Declare two variables to store the first two numbers of the series
Use a loop to generate the next numbers in the series
Print each number as it is generated
Program to print palindrome
A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward
To check if a string is a palindrome, we can compare the first and last characters, then the second and second-to-last characters, and so on
If all pairs match, the string is a palindrome
We can use a loop to iterate through the string and compare the characters
Program to print average of number series
Create a variable to store the sum of the numbers in the series
Create a variable to store the count of numbers in the series
Loop through the series and add each number to the sum variable
Increment the count variable for each number in the series
Calculate the average by dividing the sum by the count
Print the average
Program to print sum of 2 numbers
Declare 2 variables to store the numbers
Add the variables and store the result in another variable
Print the result
posted on 1 Jun 2024
posted on 3 Dec 2022
Singleton design pattern restricts the instantiation of a class to a single instance and provides a global point of access to it.
Ensures only one instance of a class exists
Provides a global point of access to the instance
Uses a private constructor to prevent external instantiation
Commonly used in logging, database connections, and configuration settings
A framework is a set of guidelines, rules, and best practices used to develop software applications.
A framework provides a structure for organizing code and helps to ensure consistency across the application.
It can include libraries, tools, and templates to simplify development.
Examples of popular frameworks include React, Angular, and Django.
Frameworks can be used for both manual and automated testing.
They can also be...
posted on 20 Feb 2024
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
HashMap is non-synchronized and allows null values and keys, while HashTable is synchronized and does not allow null values or keys.
HashMap is non-synchronized and not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values and keys, while HashTable does not allow null values or keys.
HashMap is generally preferred over HashTable for non-thread-safe operations due to better performance.
final, finally, and finalize are keywords in Java used for different purposes.
final is a keyword used to declare constants, prevent method overriding, and prevent inheritance.
finally is a block of code that is always executed, whether an exception is thrown or not.
finalize is a method used for cleanup operations before an object is garbage collected.
Idempotent in API means that making the same request multiple times has the same effect as making it once.
Idempotent operations produce the same result regardless of how many times they are called.
GET and PUT requests are typically idempotent, while POST requests are not.
For example, sending a PUT request to update a resource should have the same result whether it is sent once or multiple times.
The pillars of JAVA are Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class. Example: class Dog extends Animal.
Encapsulation: Bundling data and methods that operate on the data into a single unit. Example: private variables with public getter and setter methods.
Polymorphism: Ability of a method to do different things based on the ob...
I applied via Recruitment Consulltant and was interviewed in Mar 2022. There were 4 interview rounds.
posted on 29 Jan 2024
I applied via Naukri.com and was interviewed before Jan 2023. There was 1 interview round.
posted on 27 Jul 2024
Some of the top questions asked at the Nagarro Qa Automation Testing Engineer interview -
based on 3 interviews
Interview experience
based on 2 reviews
Rating in categories
Associate Staff Engineer
2.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Staff Engineer
2.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Engineer
2.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
1.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Engineer
896
salaries
| ₹0 L/yr - ₹0 L/yr |
Deloitte
Cognizant
TCS
Accenture