Moolya Software Testing
20+ Medhaj Techno Concept Interview Questions and Answers
Q1. 1. Tell me about yourself 2. What is software testing and y is it required ? 3. Different types of Manual testing 4. Give some test cases for Dustbin 5. What does Test Plan document contain? 6. What is the diff...
read moreAnswering questions related to software testing and related concepts.
Software testing is the process of evaluating a software application to ensure it meets the specified requirements and functions correctly.
It is required to identify defects or bugs in the software and ensure its quality and reliability.
Different types of manual testing include functional testing, usability testing, performance testing, etc.
Test cases for a dustbin could include checking if it opens and clos...read more
Q2. what is API testing? explain mobile testing which you did in your projects
API testing is a type of software testing that involves testing APIs directly and ensuring they meet functional and performance requirements.
API testing involves testing the functionality, reliability, performance, and security of APIs
It can be done manually or using automated tools
API testing can be done at different levels such as unit, integration, and end-to-end testing
Examples of API testing tools include Postman, SoapUI, and JMeter
Q3. How API works, api status codes
APIs (Application Programming Interfaces) allow different software applications to communicate with each other by defining a set of rules and protocols.
APIs work by receiving requests from a client, processing them, and returning a response.
API status codes indicate the outcome of the request, such as 200 for successful response, 404 for not found, and 500 for server error.
Common API status codes include 200 (OK), 201 (Created), 400 (Bad Request), 401 (Unauthorized), 403 (For...read more
Q4. One coding challenge was given to find the number of palindrome words in a Given String = "mom dad child";
Count the number of palindrome words in a given string.
Split the string into words using space as a delimiter.
Iterate through each word and check if it is a palindrome.
Increment the count if the word is a palindrome.
Q5. Send the below Json nested Object as a Post request payload { "author": { lastname: "Doe", firstname: "John" } }
JSON payload for POST request with nested object
Use curly braces to define the object
Use colon to separate key-value pairs
Use double quotes for keys and values
Q6. retesting v/s regression
Retesting is testing the same functionality again to ensure the defect is fixed, while regression testing is testing the entire application to ensure new changes do not impact existing functionality.
Retesting focuses on confirming a specific defect fix, while regression testing focuses on ensuring no new defects are introduced.
Retesting is usually done by the tester who found the defect, while regression testing can be done by any tester.
Retesting is a subset of regression te...read more
Q7. Fundamentals of testing
Fundamentals of testing involve understanding the purpose of testing, test planning, test design, test execution, and test closure.
Understanding the purpose of testing - why are we testing and what are we trying to achieve?
Test planning - creating a strategy for how testing will be conducted
Test design - creating test cases and test scenarios based on requirements
Test execution - running the tests and analyzing the results
Test closure - evaluating the testing process and docu...read more
Q8. How do you move to a child window in Selenium
To move to a child window in Selenium, we need to switch to the window using window handles.
Get the window handle of the parent window using driver.getWindowHandle()
Get all the window handles using driver.getWindowHandles()
Switch to the child window using driver.switchTo().window(childWindowHandle)
Perform actions on the child window
Switch back to the parent window using driver.switchTo().window(parentWindowHandle)
Q9. What is the difference between Assert and Verify commands in test automation?
Q10. Playwright Configuration file details and what it manage ?
Playwright Configuration file manages settings for browser automation tests.
Manages browser settings such as viewport size and user agent
Controls the behavior of the browser during tests
Can specify test environment configurations like headless mode or slow network conditions
Q11. What is the difference between String Buffer and String builder calss
String Buffer is synchronized and thread-safe, while String Builder is not synchronized and faster.
String Buffer is synchronized, making it thread-safe for use in multi-threaded environments.
String Builder is not synchronized, making it faster but not thread-safe.
String Buffer is slower than String Builder due to synchronization overhead.
Use String Buffer when thread safety is needed, and String Builder for better performance.
Q12. String reverse while keeping the special charatcter on it's place intact
Reverse a string while keeping special characters in place
Iterate through the string and store special characters in a separate array
Reverse the string excluding special characters
Insert special characters back into their original positions
Q13. difference between selenium and playwright ?
Selenium is a widely used open-source automation tool for web applications, while Playwright is a newer automation tool developed by Microsoft with more modern features.
Selenium is older and more established, with a larger community and more resources available.
Playwright is more modern and has features like cross-browser testing, parallel execution, and better support for modern web technologies.
Selenium uses WebDriver protocol, while Playwright has its own protocol for auto...read more
Q14. find the maximum salary from the table and individual department in sql
To find the maximum salary from the table and individual department in SQL.
Use the MAX() function in SQL to find the maximum salary from the table.
To find the maximum salary for each department, use the GROUP BY clause along with the MAX() function.
You can also use the ORDER BY clause to sort the results in descending order and limit the output to only show the highest salary.
Q15. All types of testing methodologies, Api testing, test scenarios
Testing methodologies include various types of testing such as API testing and test scenarios.
Testing methodologies are the different approaches and techniques used to test software applications.
API testing involves testing the application programming interface to ensure it meets the requirements and specifications.
Test scenarios are a set of steps or conditions that are used to test a specific feature or functionality of the software.
Other types of testing methodologies incl...read more
Q16. Where have you used Interface in your project
I have used interfaces in my project to achieve abstraction and decoupling of components.
Used interfaces to define a contract for classes to implement
Implemented interfaces to provide a common set of methods for different classes
Utilized interfaces to enable polymorphism and dependency injection
Q17. How API works explain
API works by allowing different software applications to communicate with each other through a set of rules and protocols.
API stands for Application Programming Interface
APIs define the methods and data formats that applications can use to request and exchange information
APIs can be used to access data from a remote server, integrate with third-party services, or automate tasks
Examples of APIs include Google Maps API for accessing map data, Twitter API for posting tweets, and...read more
Q18. difference between regression and sanity
Regression testing ensures existing functionality still works after changes, while sanity testing checks for major issues before full testing.
Regression testing is performed to ensure that previously working functionality still works after changes or updates.
Sanity testing is a cursory testing to check for major issues before full testing is conducted.
Regression testing is typically automated and covers a wide range of test cases.
Sanity testing is usually done manually and fo...read more
Q19. what is zero sprint
Zero sprint is a concept in Agile methodology where no new features are developed, focusing on bug fixes, refactoring, and technical debt.
Zero sprint is a dedicated sprint where the team focuses on improving the quality of the existing codebase.
During a zero sprint, no new features are added to the product.
The team may work on bug fixes, refactoring, improving test coverage, addressing technical debt, and enhancing the overall quality of the software.
Zero sprint helps in stab...read more
Q20. Explian Oops concept?
OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs focuses on creating objects that interact with each other to solve a problem
Key concepts include Inheritance, Encapsulation, Polymorphism, and Abstraction
Inheritance allows a class to inherit properties and behavior from another class
Encapsulation involves bundling data and methods that operate on the data into a single unit
Polymorphism allows obj...read more
Interview Process at Medhaj Techno Concept
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month