Add office photos
Engaged Employer

Tech Mahindra

3.6
based on 33.6k Reviews
Filter interviews by

10+ The Pirimid Interview Questions and Answers

Updated 22 Nov 2024
Popular Designations

Q1. What are Java Collections you have used in your Project ?

Ans.

I have used Java Collections such as ArrayList, HashMap, and HashSet in my project.

  • ArrayList: Used to store and manipulate a list of elements.

  • HashMap: Used to store key-value pairs for efficient retrieval.

  • HashSet: Used to store unique elements without duplicates.

Add your answer

Q2. How you can reslove merge conflicts in git ? Share your experience ?

Ans.

Resolve merge conflicts in git by using git commands and tools.

  • Use 'git status' to identify conflicted files

  • Open conflicted file(s) in text editor and resolve conflicts manually

  • Use 'git add' to stage resolved files

  • Commit changes using 'git commit'

  • Use 'git merge --abort' to abort merge if needed

Add your answer

Q3. 2.WAP to provide String without duplicates.(Each character repeated only once) eg: "Hello World" => "Helo Wrd"; Hint:Use Set (Linked hashset)

Ans.

The program removes duplicates from a given string using a Set data structure.

  • Create a LinkedHashSet to maintain the order of characters while removing duplicates

  • Iterate through each character in the input string and add it to the set

  • Convert the set back to a string and return the result

Add your answer

Q4. For File uploads how can you handle in selenium ?

Ans.

File uploads in Selenium can be handled using the sendKeys() method to input the file path.

  • Use the sendKeys() method to input the file path in the file upload field

  • Make sure the file path is correct and accessible

  • Verify the file upload by checking for the presence of the uploaded file on the page

Add your answer
Discover The Pirimid interview dos and don'ts from real experiences

Q5. Identify test scenarios, write test cases

Ans.

Test scenarios and cases are identified based on requirements and specifications.

  • Identify functional and non-functional requirements

  • Create test scenarios based on requirements

  • Write test cases for each scenario

  • Include positive and negative test cases

  • Consider boundary conditions and edge cases

  • Perform exploratory testing

  • Use automation tools for repetitive tests

Add your answer

Q6. 1. Explain Automation project structure 2. Explanation for TestNG annotations 3. Exception Handling

Ans.

Automation project structure involves organizing test scripts, resources, and configurations. TestNG annotations are used to control the flow of test methods. Exception handling is used to manage errors during test execution.

  • Automation project structure includes organizing test scripts, resources, and configurations in a systematic manner.

  • TestNG annotations like @Test, @BeforeMethod, @AfterMethod are used to control the flow of test methods and set up/tear down operations.

  • Exc...read more

Add your answer
Are these interview questions helpful?

Q7. Explain about your Framework ?

Ans.

My framework is a combination of tools, libraries, coding standards, and guidelines used for automation testing.

  • My framework is based on the Page Object Model design pattern.

  • It uses Selenium WebDriver for browser automation.

  • It includes test data management using Excel or CSV files.

  • It has reporting capabilities using tools like ExtentReports or Allure.

  • It supports parallel execution of test cases using TestNG or JUnit.

View 2 more answers

Q8. What is data structure and Enum

Ans.

Data structure is a way of organizing and storing data in a computer so that it can be accessed and used efficiently. Enum is a data type that consists of a set of named values.

  • Data structure can be linear or non-linear

  • Examples of data structures include arrays, linked lists, stacks, queues, trees, and graphs

  • Enums are used to define a set of named constants

  • Examples of enums include days of the week, months of the year, and colors

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. query to find the sum of price per product name for last month

Ans.

Use SQL query with GROUP BY clause to find sum of price per product name for last month

  • Use SQL query with GROUP BY clause to group by product name

  • Filter the data for last month using WHERE clause

  • Sum the price column for each product name

Add your answer

Q10. Git comands what you have used

Ans.

Various Git commands used for version control and collaboration

  • git clone: to clone a repository from a remote server

  • git add: to stage changes for commit

  • git commit: to save changes to the local repository

  • git push: to push changes to a remote repository

  • git pull: to fetch and merge changes from a remote repository

  • git branch: to create, list, delete, or switch branches

  • git merge: to merge changes from one branch into another

  • git log: to view commit history

  • git status: to see the sta...read more

Add your answer

Q11. Find xpath,design pom classes,test classes,etc.

Ans.

To find xpath, design POM classes and test classes for Senior Test Engineer role.

  • Use browser developer tools to inspect elements and find xpath

  • Design POM classes to represent web pages and their elements

  • Create test classes to write test cases and execute them

  • Use testing frameworks like TestNG or JUnit for test automation

  • Use tools like Selenium WebDriver for browser automation

Add your answer

Q12. What is Object and classes

Ans.

Objects are instances of classes that encapsulate data and behavior. Classes are templates for creating objects.

  • Objects are created from classes using the 'new' keyword.

  • Classes define the properties and methods that objects will have.

  • Objects can interact with each other through their methods and properties.

  • Inheritance allows classes to inherit properties and methods from parent classes.

  • Polymorphism allows objects to take on multiple forms or behaviors.

  • Example: A class 'Car' c...read more

Add your answer

Q13. what is integration testing

Ans.

Integration testing is a type of testing where individual units are combined and tested as a group to ensure they work together correctly.

  • Integration testing verifies the interactions between different components/modules of a system.

  • It helps in detecting issues related to communication between units, data flow, and interfaces.

  • Examples include testing the integration of a database with a web application, or testing the integration of different software modules in a system.

  • Inte...read more

Add your answer

Q14. test technique's and methodology

Ans.

Test techniques and methodologies are essential for ensuring thorough testing of software applications.

  • Test techniques refer to the approach or strategy used to design and execute tests, such as boundary value analysis, equivalence partitioning, and exploratory testing.

  • Test methodologies are the overall process or framework for managing testing activities, such as Agile, Waterfall, and DevOps.

  • It is important for a Senior Test Engineer to be familiar with a variety of test tec...read more

Add your answer

Q15. Mobile testing concepts for Android

Ans.

Mobile testing concepts for Android involve testing on various devices, OS versions, screen sizes, and network conditions.

  • Testing on different Android devices to ensure compatibility

  • Testing on various OS versions to check for compatibility and performance

  • Testing on different screen sizes to ensure proper layout and functionality

  • Testing under different network conditions to assess performance and reliability

Add your answer

Q16. Automation concepts for iOS

Ans.

Automation concepts for iOS involve using tools like Appium, XCUITest, and XCTest to automate testing of iOS applications.

  • Use Appium for cross-platform testing of iOS apps

  • XCUITest is Apple's native UI testing framework for iOS apps

  • XCTest is Apple's unit testing framework for iOS apps

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at The Pirimid

based on 7 interviews in the last 1 year
1 Interview rounds
Technical Round
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Test Engineer Interview Questions from Similar Companies

3.9
 • 43 Interview Questions
4.0
 • 31 Interview Questions
2.4
 • 19 Interview Questions
4.1
 • 14 Interview Questions
3.7
 • 12 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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