Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Tech Mahindra Team. If you also belong to the team, you can get access from here

Tech Mahindra Verified Tick

Compare button icon Compare button icon Compare
3.5

based on 34.5k Reviews

Filter interviews by

Tech Mahindra Sr.QA Interview Questions and Answers

Updated 6 Jun 2024

Tech Mahindra Sr.QA Interview Experiences

1 interview found

Sr.QA Interview Questions & Answers

user image Anonymous

posted on 5 Jun 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(1 Question)

  • Q1. Do you remember me ?
Round 2 - HR 

(1 Question)

  • Q1. What is your Expected CTC ?
  • Ans. 

    My expected CTC is based on my experience, skills, and the market rate for Senior QA roles.

    • My expected CTC is in line with industry standards for Senior QA positions.

    • I have taken into consideration my years of experience and expertise in QA.

    • I am open to negotiation based on the overall compensation package offered by the company.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - One on one round was like a causal talk about olden method of technical trouble shootings.
HR round was very good as they offered as per standard without much bargain.

Interview questions from similar companies

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(4 Questions)

  • Q1. Java Oops - Polymorphism and abstract
  • Q2. Program - Array Sort and String reverse
  • Q3. BDD Framework behaviou Ques
  • Q4. Run time driver Calling function
  • Ans. 

    Run time driver calling function is a mechanism where a function is called during the execution of a program.

    • Run time driver calls a specific function based on certain conditions or events during program execution.

    • This mechanism is commonly used in software testing to simulate real-world scenarios.

    • Example: A test script that triggers a function to validate user input during runtime.

  • Answered by AI
Round 2 - Coding Test 

Selenium Programs based on framewaork + beheviour sceanrio based ques

Interview Preparation Tips

Interview preparation tips for other job seekers - must know logic and concept

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. How do you migrate the existing automation framework to cucumber
  • Ans. 

    Migrating an existing automation framework to Cucumber involves integrating Cucumber features, step definitions, and hooks into the existing framework.

    • Identify the existing test cases and convert them into Cucumber feature files

    • Create step definitions for each step in the feature files

    • Integrate Cucumber hooks for setup and teardown actions

    • Update the automation framework to execute Cucumber tests

    • Run and validate the con

  • Answered by AI
  • Q2. How do you handle SQL Exceptions.
  • Ans. 

    I handle SQL Exceptions by catching them in try-catch blocks and logging the error details.

    • Catch SQL Exceptions in try-catch blocks

    • Log the error details for troubleshooting

    • Handle exceptions gracefully to prevent application crashes

  • Answered by AI

Skills evaluated in this interview

Sr.QA Interview Questions & Answers

TCS user image Anonymous

posted on 18 Jun 2022

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - One-on-one 

(1 Question)

  • Q1. Tell me about your self

Interview Preparation Tips

Interview preparation tips for other job seekers - Be prepared for interview before attending any interview

Sr.QA Interview Questions & Answers

Accenture user image sandhya rathod

posted on 7 Apr 2022

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 
Round 3 - HR 

(1 Question)

  • Q1. Why are you looking for a change?

Interview Preparation Tips

Topics to prepare for Accenture Sr.QA interview:
  • Selenium
  • Java
  • API
Interview preparation tips for other job seekers - -Prepare for Selenium framework
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(6 Questions)

  • Q1. Write a code for febonacci series
  • Q2. Dynamic webElements handling using Xpath?
  • Q3. What is spike in agile?
  • Q4. Difference between agile and waterfall based model?
  • Q5. Sprint point system? Explain?
  • Q6. Payment failure by debit card in e-commerce site? Make test scenarios?
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(9 Questions)

  • Q1. Difference between absolute and relative Xpath
  • Ans. 

    Absolute Xpath starts from the root element, while relative Xpath starts from any node in the DOM structure.

    • Absolute Xpath starts with a single forward slash (/) and starts selection from the root node.

    • Relative Xpath starts with a double forward slash (//) and starts selection from the current node or any node in the DOM structure.

    • Absolute Xpath is more brittle and prone to breaking if the structure of the page changes...

  • Answered by AI
  • Q2. What would be return if multiple tabs are open
  • Ans. 

    The return would be the number of tabs open in the browser.

    • The return value would be an integer representing the count of open tabs.

    • For example, if there are 5 tabs open, the return value would be 5.

  • Answered by AI
  • Q3. What are the waits in selenium
  • Ans. 

    Types of waits in Selenium 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 occur before proceeding further in the code.

    • Fluent Wait: Waits for a condition to be true with a defined polling frequency.

    • Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

  • Answered by AI
  • Q4. Exceptions in selenium
  • Ans. 

    Exceptions in Selenium are errors that occur during test execution, disrupting the flow of the test script.

    • Exceptions are thrown when there is an unexpected behavior in the application under test or in the test script itself.

    • Common exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, TimeoutException, and StaleElementReferenceException.

    • Handling exceptions in Selenium can be done using try-...

  • Answered by AI
  • Q5. What is feature and step definitions in cucumber BDD
  • Ans. 

    Feature files contain high-level description of the functionality to be tested, while step definitions are the implementation of the steps in the feature file using code.

    • Feature files are written in Gherkin syntax and describe the behavior of the application in plain text.

    • Step definitions are written in programming languages like Java, Ruby, etc., and map the steps in the feature file to automation code.

    • Feature files a...

  • Answered by AI
  • Q6. How to input data in cucumber
  • Ans. 

    Data can be input in Cucumber using feature files and step definitions.

    • Data can be input in feature files using scenarios and scenario outlines

    • Step definitions can be used to define the actions to be taken with the input data

    • Data tables can be used in feature files to input structured data

    • Examples keyword can be used in scenario outlines to provide multiple sets of input data

  • Answered by AI
  • Q7. Basic Java questions like access modifiers, method overloading and overriding
  • Q8. What is Test case, Test plan and Test Secenarios
  • Ans. 

    Test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements. Test plan is a document outlining the scope, approach, resources, and schedule of testing activities. Test scenarios are detailed descriptions of possible interactions with the system.

    • Test case: specific conditions to be tested, expected results, steps to execute

    • Test plan: overall strate...

  • Answered by AI
  • Q9. Hooks in Java
  • Ans. 

    Hooks in Java are methods that allow subclasses to override or extend the behavior of a superclass.

    • Hooks are commonly used in frameworks like JUnit and TestNG for test automation.

    • They are often used for setup and teardown operations before and after test methods.

    • Examples include @Before, @After, @BeforeClass, and @AfterClass annotations in JUnit.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - The second round interview was quite challenging, with numerous questions focused on core Java topics such as data structures and linked lists. It felt less like a testing interview and more akin to a developer interview.

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(10 Questions)

  • Q1. "Hello world" java program to print the count of letter 'l'
  • Ans. 

    A Java program to count the occurrences of the letter 'l' in the string 'Hello world'.

    • Create a Java program with a main method.

    • Initialize a String variable with the value 'Hello world'.

    • Use a loop to iterate through each character in the string and count the occurrences of the letter 'l'.

    • Print the count of 'l' at the end.

  • Answered by AI
  • Q2. "Hello world" java program to print output as "olleH dlrow"
  • Ans. 

    Reverse the characters of each word in a given string

    • Split the input string into an array of words

    • Reverse each word in the array

    • Join the reversed words back into a single string

  • Answered by AI
  • Q3. What is the diff between comparator and comparable
  • Ans. 

    Comparator is an interface used to sort objects, while Comparable is an interface used to compare objects for natural ordering.

    • Comparator is used to define custom sorting logic for objects, while Comparable is used for natural ordering based on the class's implementation of compareTo() method.

    • Comparator can be used to sort objects of different classes, while Comparable is implemented within the class itself.

    • Example: So...

  • Answered by AI
  • Q4. What is lamda expression
  • Ans. 

    Lambda expression is a concise way to represent an anonymous function in programming languages.

    • Lambda expressions are used to create small, inline functions without a formal definition.

    • They are commonly used in functional programming languages like Python, Java, and C#.

    • Lambda expressions can be used to simplify code and make it more readable.

    • Example: (x, y) -> x + y is a lambda expression that takes two parameters a

  • Answered by AI
  • Q5. What is contructor chaining
  • Ans. 

    Constructor chaining is the process of calling one constructor from another constructor in a class.

    • Allows reusing code and avoiding duplication

    • Can be achieved using 'this' keyword in the constructor

    • Helps in initializing objects with different parameters

  • Answered by AI
  • Q6. Appium & Selenium architecture
  • Q7. How to handle notifications in mobile automation
  • Ans. 

    Handle notifications in mobile automation by using automation tools to interact with notifications, verify content, dismiss or respond to them.

    • Use automation tools like Appium or Espresso to interact with notifications

    • Verify the content of notifications by extracting text or images

    • Dismiss notifications to continue with test execution

    • Respond to notifications if required for test scenarios

    • Handle different types of notifi...

  • Answered by AI
  • Q8. How to handle if element xpath is different in ios and android apps
  • Ans. 

    Use platform-specific locators or conditional statements to handle different element xpaths in iOS and Android apps.

    • Use platform-specific locators like accessibility id for iOS and resource id for Android

    • Implement conditional statements to switch between different xpaths based on the platform

    • Utilize Appium's platformName capability to identify the platform and adjust the element xpath accordingly

  • Answered by AI
  • Q9. Different TestNG annotations and order
  • Ans. 

    TestNG annotations include @Test, @BeforeMethod, @AfterMethod, @BeforeClass, @AfterClass, @BeforeSuite, @AfterSuite

    • @Test - denotes a test method

    • @BeforeMethod - runs before each test method

    • @AfterMethod - runs after each test method

    • @BeforeClass - runs before the first test method in the current class

    • @AfterClass - runs after the last test method in the current class

    • @BeforeSuite - runs before all tests in the suite

    • @AfterSu

  • Answered by AI
  • Q10. What is pom.xml and how to mention dependencies
  • Ans. 

    pom.xml is a configuration file used in Maven projects to define project settings and dependencies.

    • pom.xml stands for Project Object Model XML

    • It is used in Maven projects to manage project configuration, build settings, and dependencies

    • Dependencies are mentioned inside the <dependencies> tag in pom.xml

    • Each dependency is specified with <groupId>, <artifactId>, and <version>

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Interview went well, its been more than a week.. no call back for feedback.

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - One-on-one 

(7 Questions)

  • Q1. What is a constructor and it's purpose?
  • Ans. 

    A constructor is a special type of method in a class that is automatically called when an object of that class is created.

    • Constructors have the same name as the class they belong to

    • They are used to initialize the object's state or perform any necessary setup

    • Constructors can have parameters to customize the initialization process

    • Example: public class Car { public Car(String color) { this.color = color; } }

  • Answered by AI
  • Q2. Can you override a Static Method?
  • Ans. 

    Yes, a static method can be overridden in Java using the concept of method hiding.

    • In Java, static methods cannot be overridden in the traditional sense like instance methods.

    • When a subclass defines a static method with the same signature as a static method in the superclass, it is called method hiding.

    • Method hiding does not follow polymorphism and is resolved at compile time based on the reference type.

    • Example: class...

  • Answered by AI
  • Q3. Can you create a Static local variable inside a Static method
  • Ans. 

    Yes, a static local variable can be created inside a static method.

    • Yes, a static local variable can be declared inside a static method in programming languages like C++.

    • Static local variables retain their values between function calls.

    • Example: static void myStaticMethod() { static int count = 0; count++; }

  • Answered by AI
  • Q4. What is the memory allocation for a String?
  • Ans. 

    String memory allocation is dynamic and depends on the length of the string.

    • String memory allocation is dynamic and can change based on the length of the string.

    • In Java, a String object is stored in the heap memory.

    • Each character in a String typically takes up 2 bytes of memory.

    • String objects in Java are immutable, meaning once a String object is created, it cannot be changed.

  • Answered by AI
  • Q5. Can you create a Static method inside an Abstract class or Interface?
  • Ans. 

    Yes, you can create a static method inside an abstract class or interface.

    • Static methods can be defined in interfaces since Java 8.

    • Static methods in interfaces are used for providing utility methods that are not tied to any specific instance of the interface.

    • Static methods in abstract classes can be used for common functionality that does not require an instance of the class.

  • Answered by AI
  • Q6. What is the Parent class of Java?
  • Ans. 

    The parent class of Java is the Object class.

    • All classes in Java are directly or indirectly derived from the Object class.

    • The Object class is the root class in Java's class hierarchy.

    • It provides methods that are common to all objects in Java, such as toString(), equals(), and hashCode().

  • Answered by AI
  • Q7. What is Window Handles in Selenium?
  • Ans. 

    Window Handles in Selenium are unique identifiers used to handle multiple browser windows in a Selenium test script.

    • Window Handles are unique alphanumeric strings assigned to each browser window opened by Selenium.

    • They are used to switch between different browser windows during a test script execution.

    • Window Handles can be obtained using getWindowHandles() method in Selenium.

    • Example: Set handles = driver.getWindowHandl

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Mphasis Automation Test Engineer interview:
  • Selenium
  • Java
  • OOPS
  • Manual Testing
Interview preparation tips for other job seekers - Nowadays, the interviewers expect the same Java language of a Developer as a Tester. But, how will that be possible? If a Tester has the same knowledge as a Developer, then why would he/she become a Tester instead of a Developer? Please open up your thoughts to the Interviewer, so that they can think before confusing with the deep logical knowledge.

Skills evaluated in this interview

Senior Quality Analyst Interview Questions & Answers

Genpact user image Priyadharshini Sivarajan

posted on 13 Jan 2025

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Collections,List set diff,basic coding
  • Q2. Cucumber basics
  • Q3. Java interface Framework explanation

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Sr.QA interview?
Tech Mahindra interview process usually has 2 rounds. The most common rounds in the Tech Mahindra interview process are One-on-one Round and HR.

Tell us how to improve this page.

Tech Mahindra Sr.QA Interview Process

based on 1 interview

Interview experience

5
  
Excellent
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.8
 • 8.2k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3.1k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Tech Mahindra Sr.QA Salary
based on 13 salaries
₹10.8 L/yr - ₹21.6 L/yr
6% more than the average Sr.QA Salary in India
View more details

Tech Mahindra Sr.QA Reviews and Ratings

based on 5 reviews

3.0/5

Rating in categories

3.8

Skill development

2.5

Work-life balance

2.4

Salary

4.2

Job security

2.7

Company culture

2.2

Promotions

2.7

Work satisfaction

Explore 5 Reviews and Ratings
Software Engineer
26.3k salaries
unlock blur

₹2 L/yr - ₹9.1 L/yr

Senior Software Engineer
21.4k salaries
unlock blur

₹5.5 L/yr - ₹23 L/yr

Technical Lead
11.6k salaries
unlock blur

₹9.3 L/yr - ₹37 L/yr

Associate Software Engineer
5.5k salaries
unlock blur

₹1.8 L/yr - ₹6 L/yr

Team Lead
4.9k salaries
unlock blur

₹5.2 L/yr - ₹17 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.6
Compare

Cognizant

3.8
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview