i
Mphasis
Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2021. There were 5 interview rounds.
Our automation framework is a hybrid framework that combines data-driven and keyword-driven approaches.
We use Excel sheets to store test data and test cases.
We have a set of reusable functions that are stored in a separate library.
We use Selenium WebDriver for web automation and Appium for mobile automation.
We have a reporting mechanism that generates reports in HTML format.
We use Jenkins for continuous integration and...
Control flow of automation framework refers to the sequence in which the test cases are executed.
The framework follows a predefined sequence of steps to execute test cases
It includes steps like test case selection, test data preparation, test case execution, and result reporting
The control flow can be linear or non-linear depending on the framework design
Example: In a linear control flow, test cases are executed one af
Reporting is an essential part of any framework to track and analyze test results.
Reporting helps in identifying the test cases that have failed and the reasons behind the failure.
It also helps in tracking the progress of testing and identifying areas that need improvement.
Reporting can be done using various tools such as TestNG, JUnit, Extent Reports, etc.
Reports can be generated in various formats such as HTML, PDF, ...
Java program to count frequency of characters in string
Create a HashMap to store character and its frequency
Convert the string to char array
Iterate through the char array and update the frequency in HashMap
Print the HashMap
An interface is a contract between two components that defines the communication between them.
Interfaces provide a way to achieve abstraction and loose coupling in software design.
They allow different components to communicate with each other without knowing the implementation details.
Interfaces are used in object-oriented programming to define a set of methods that a class must implement.
Examples of interfaces in Java...
I applied via Walk-in and was interviewed before Dec 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2020. There were 3 interview rounds.
I applied via Campus Placement and was interviewed before Feb 2020. There were 6 interview rounds.
I applied via Company Website and was interviewed before Feb 2020. There was 1 interview round.
I applied via Campus Placement and was interviewed in Oct 2020. There were 4 interview rounds.
Bubble sort is a simple sorting algorithm that repeatedly steps through the list, compares adjacent elements and swaps them if they are in the wrong order.
Start from the first element and compare it with the next element
If the next element is smaller, swap them
Repeat this process for all elements in the array
Continue this process until no more swaps are needed
A program to print all prime numbers
Take input from user for range of numbers
Loop through the range and check if each number is prime
Print the prime numbers
Hashmap is a data structure that stores key-value pairs and allows constant time access to values based on their keys.
Hashmap uses a hash function to map keys to indices in an array.
Collisions can occur when multiple keys map to the same index, which can be resolved using techniques like chaining or open addressing.
Examples of hashmap implementations include Java's HashMap class and Python's dict type.
Inheritance is a mechanism in object-oriented programming where a new class is created by inheriting properties of an existing class.
Inheritance allows code reuse and promotes code organization.
The existing class is called the parent or superclass, and the new class is called the child or subclass.
The child class inherits all the properties and methods of the parent class and can also add new properties and methods.
For...
I applied via Walk-in and was interviewed in Mar 2021. There was 1 interview round.
based on 4 reviews
Rating in categories
Software Engineer
6.3k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Software Engineer
5.6k
salaries
| ₹6 L/yr - ₹23.5 L/yr |
Associate Software Engineer
4.6k
salaries
| ₹2 L/yr - ₹5.8 L/yr |
Module Lead
2.4k
salaries
| ₹8.1 L/yr - ₹35 L/yr |
Transaction Processing Officer
2.3k
salaries
| ₹1 L/yr - ₹4.5 L/yr |
Cognizant
Wipro
Accenture
TCS