i
Tech Mahindra
Filter interviews by
Clear (1)
I applied via Job Portal and was interviewed in Apr 2024. There was 1 interview round.
I have worked on a project to automate testing processes using various tools and frameworks.
Implemented automation scripts using Selenium WebDriver for web application testing
Utilized TestNG framework for test case management and execution
Integrated Jenkins for continuous integration and deployment
Used Page Object Model design pattern for better code maintenance
Performed API testing using tools like Postman
Reverse a string in Java using StringBuilder or iterative approach.
Use StringBuilder's reverse() method to reverse the string.
Iterate through the string from end to start and build the reversed string.
Handle null or empty string cases.
Example: input 'hello' -> output 'olleh'
I applied via Naukri.com and was interviewed in Dec 2023. There was 1 interview round.
What people are saying about Tech Mahindra
I applied via Walk-in and was interviewed in Jan 2023. There were 3 interview rounds.
Tech Mahindra interview questions for designations
I applied via Referral and was interviewed in Nov 2021. There was 1 interview round.
My framework is a hybrid framework that combines data-driven and keyword-driven approaches.
The framework uses Excel sheets to store test data and keywords.
It uses Selenium WebDriver for browser automation.
It has a modular structure with reusable functions and libraries.
It generates detailed HTML reports for test results.
It supports parallel execution of tests.
It has built-in exception handling and logging mechanisms.
Maven is a build automation tool used primarily for Java projects.
Maven uses a Project Object Model (POM) to manage dependencies and build process
It uses a central repository to download dependencies
Maven has a defined directory structure for projects
Plugins can be added to extend Maven's functionality
settings.xml is a configuration file used by Maven to customize its behavior.
It contains information about the local repository location, proxy settings, and server credentials.
It can be used to define profiles for different environments.
It is located in the .m2 directory in the user's home directory.
It can be overridden by using the -s or --settings command-line option.
To link TestNG file in Maven POM, add the TestNG dependency and plugin in POM.xml
Add TestNG dependency in POM.xml
Add TestNG plugin in POM.xml
Configure TestNG plugin to run the TestNG XML file
Example:
Select class in Selenium is used to handle dropdowns and multi-select options on a web page.
Syntax: Select select = new Select(driver.findElement(By.id("dropdownId")));
Methods: selectByVisibleText(), selectByValue(), selectByIndex(), getOptions(), isMultiple(), getAllSelectedOptions(), deselectAll(), deselectByVisibleText(), deselectByValue(), deselectByIndex()
Select class is used to handle dropdowns and multi-select o...
Jenkins is an open-source automation server used for continuous integration and delivery. It allows creating and managing jobs.
Jenkins is a popular tool for automating software development processes.
It provides a web-based interface for creating and managing jobs.
Jobs in Jenkins are used to define tasks and workflows for building, testing, and deploying software.
To create a job in Jenkins, navigate to the Jenkins dashb...
To point to any other branch in Jenkins, use the 'Branch specifier' field in the 'Source Code Management' section.
In the Jenkins job configuration, go to the 'Source Code Management' section
Select the appropriate SCM tool (e.g. Git, SVN)
In the 'Branch specifier' field, enter the name of the branch you want to point to (e.g. 'develop', 'feature/xyz')
Save the configuration and run the job
I don't have the available data to answer this question.
N/A
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were the same type.
Polymorphism is achieved through method overriding and method overloading
Example: A parent class Animal has a method called makeSound(). Child classes like Dog, Cat, and Cow can override this method to make their own unique sound.
Another example is method overloading where a...
Abstraction is a way of hiding implementation details. An interface is a contract that specifies the behavior of a class.
Abstraction is achieved through abstract classes and interfaces
Abstract classes can have both abstract and non-abstract methods
Interfaces can only have abstract methods and constants
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract classes can have constru...
SQL query to delete duplicate records
Use the DELETE statement with a subquery to identify and delete duplicate records
The subquery should select the duplicate records based on the columns that define uniqueness
Use the ROW_NUMBER() function to assign a unique number to each row, and delete rows with a number greater than 1
SQL query to get the 10th highest salary from employee table
Use ORDER BY and LIMIT clauses
Subquery can be used to get the 10th highest salary
Get interview-ready with Top Tech Mahindra Interview Questions
I applied via Naukri.com and was interviewed before Mar 2023. There was 1 interview round.
Robot Framework is a generic open-source automation framework for acceptance testing and acceptance test-driven development (ATDD).
Robot Framework is a keyword-driven test automation framework that uses tabular test data syntax.
Challenges faced during testing include identifying and prioritizing test cases, handling dynamic elements, and maintaining test scripts.
Types of testing include functional testing, regression t...
I was interviewed in Feb 2022.
Sprint retrospective is a meeting held at the end of a sprint to review the team's performance and identify areas for improvement.
It is a time-boxed meeting
It is attended by the entire team including the product owner and scrum master
The team discusses what went well, what didn't go well, and what can be improved in the next sprint
Action items are identified and assigned to team members for follow-up
The goal is to cont...
Sprint backlog is a prioritized list of tasks to be completed during a sprint.
It is created during sprint planning
It contains user stories, bugs, and technical tasks
It is updated daily during the sprint
It helps the team to stay focused on the sprint goal
It is owned by the development team
Yes, I can remove all the pcs from the lab and keep them in another lab right now.
Ensure all the necessary equipment and tools are available for the move
Coordinate with the lab staff to ensure a smooth transition
Label and document each PC for easy identification and setup in the new lab
Ensure proper packaging and handling to prevent any damage during the move
Fibonacci series is a sequence of numbers where each number is the sum of the two preceding ones.
The first two numbers of the series are always 0 and 1
The next number is the sum of the previous two numbers
The series goes on infinitely: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, ...
Pseudo code: 1. Initialize variables a=0, b=1, c=0 2. Print a and b 3. Repeat steps 4-6 until desired number of terms 4. c=a+b 5. Pr
Algorithm for matrix multiplication
Create a result matrix with dimensions of the two input matrices
Iterate through each row and column of the result matrix
For each element in the result matrix, multiply corresponding row in first matrix with corresponding column in second matrix
Add the products obtained in the previous step to get the final value for the element
I worked on a project that involved sentiment analysis of customer reviews using Naive Bayes algorithm.
The project involved collecting customer reviews from various sources.
Preprocessing the data by removing stop words, stemming, and tokenizing.
Used Naive Bayes algorithm for sentiment analysis.
The algorithm was chosen because of its simplicity and effectiveness in text classification tasks.
The accuracy of the model was
Developed a web-based project management system for a construction company.
Used PHP and MySQL for backend development
Implemented user authentication and authorization
Designed a responsive UI using Bootstrap
Integrated Google Maps API for location tracking
Enabled file uploads and downloads for project documents
EXTC and IT are not mutually exclusive fields. My knowledge in EXTC complements my skills in IT.
My knowledge in EXTC gives me a strong foundation in electronics and communication, which are essential in the IT industry.
I have also gained programming skills through my coursework and projects in EXTC.
IT is a rapidly growing field with a lot of opportunities, and I believe my skills and knowledge make me a strong candidat...
Yes, I am open to relocation for the right opportunity.
I am willing to relocate for a position that aligns with my career goals
I am excited about the prospect of exploring a new city and culture
I am flexible and adaptable to new environments
I am familiar with several programming languages.
Java
Python
C++
JavaScript
SQL
A leader inspires and motivates while a manager plans and organizes.
Leaders focus on the big picture while managers focus on details
Leaders lead by example while managers delegate tasks
Leaders inspire and motivate while managers enforce rules and policies
Leaders are visionaries while managers are implementers
Examples of leaders: Steve Jobs, Martin Luther King Jr. Examples of managers: Tim Cook, COO of Apple
Yes, I am open to relocation for the right opportunity.
I am willing to relocate for the right job opportunity
I am open to exploring new places and cultures
I understand that relocation may come with challenges, but I am prepared to face them
I am excited about the prospect of starting fresh in a new location
I'm sorry, I don't have that information.
N/A
The TCS aptitude test was challenging but fair.
The test covered a wide range of topics including math, logic, and English.
The questions were designed to test problem-solving skills and critical thinking.
Time management was crucial as there were many questions to answer in a limited time.
Overall, the test was a good indicator of one's aptitude for software engineering.
Some of the top questions asked at the Tech Mahindra Automation Test Engineer interview -
based on 5 interviews
1 Interview rounds
based on 29 reviews
Rating in categories
Software Engineer
26.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
21.4k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Lead
11.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Software Engineer
5.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Infosys
Cognizant
Accenture
Wipro