Saturday, March 29, 2025

How to use chatgpt for software testing

 1. Test Case Generation
 Generate test cases based on requirements or user stories.
 Prompt: "Generate test cases for a login page with email and password validation."

2. Test Data Creation
 Generate sample test data for manual or automated testing.
 Prompt: "Provide sample test data for user registration with fields: Name, Email, Phone, and Password."

3. Automation Script Assistance
 Generate or debug Selenium, Python, or Java automation scripts.
 Prompt: "Write a Selenium script in Java to automate login functionality."

4. API Testing with Postman
 Generate API test cases and validate responses.
 Prompt: "Create test cases for a REST API with endpoints: /users, /users/{id}, and /login."
 
5. Bug Reporting Assistance
 Format bug reports with steps to reproduce, expected results, and actual results.
 Prompt: "Write a bug report for a login issue where an incorrect password does not show an error message."

6. Performance Testing Support
 Guide on JMeter or LoadRunner for performance testing.
 Prompt: "How to create a JMeter test plan for a login API?"

7. SQL Query Assistance
 Write SQL queries to fetch test data or validate results.
 Prompt: "Write an SQL query to find all users who registered in the last 30 days."

8. CI/CD Pipeline Testing
 Help with GitHub Actions, Jenkins, or other CI/CD tools.
 Prompt: "How to write a GitHub Actions YAML file for running Selenium tests?"

9. Security Testing Help
 Provide security testing guidelines and common vulnerabilities.
 Prompt: "What are common OWASP security risks for a web application?"

10. Debugging Assistance
 Identify and fix issues in test scripts or applications.
 Prompt: "Why is my Selenium script failing to locate an element using XPath?"

Saturday, March 8, 2025

Mobile Testing Interview Questions

 1. Common challenges in mobile application testing
  •   Executing test cases with various operating systems
  •   Screen size fragmentation
  •   Testing applications on different mobile networks
  
2. Planning to perform an end to end mobile testing
  •   Is the application successfully installed across various mobile models, gadgets, and operating systems?
  •   Does the application launch smoothly with or without a network?
  •   Does the application perform well on different kinds of devices and network scenarios?
  •   How does the application respond when it is used? (i.e. response speed and time)
3. Common bugs that would often be found during the mobile testing process?
  •   Critical: Your phone system crash when testing particular feature in your device
  •   Issues with Buttons and Links
  •   Not Optimized for Landscape
  •   Unfriendly Error Messages
  
4. Emulator in mobile testing
  •   This is software for testing mobile apps without a live handset.
  •   Emulators are useful for early-stage testing but may not replicate real-world conditions accurately.

Wednesday, March 5, 2025

API Testing Interview Questions - Part 1

 1. API - API is an application programming interface that acts as an intermediate between two applications. API is a collection of functions and procedures.

2. API Methods:
  GET - get requests are used to retrieve the information from the given URL.
  POST - To send the new data to an api.
  PUT - This method is used to update the existing data.
  DELETE - This is used to remove or delete the existing.
  PATCH - Partially updated resource.

3. What is the difference between 201 and 204 Status Code?
  • 201 - The request was successful, and a new resource was created.
  • 204 - The request was successful, but there is no response body. When an update or delete operation is successful.
4. What is the difference between 401 and 403 Status Code?
  • 401 - Unauthorized. without logging in or with invalid credentials.
  • 403 - Forbidden. When a logged-in user tries to access a restricted area without the required permissions.
5. What is the difference between Query Parameters and Path Parameters?
  • Both Query Parameters and Path Parameters are used to send data in API requests.
6. How does an API Work?
  • Client request -> Server Processing -> Response - Client Handling
7. Main types of API?
  • Public API
  • Private API
  • Partner API
  • Comboste API
8. What must be checked when performing API testing?
  • Accuracy of data
  • HTTP status codes
  • Data type, validations, order, and completeness
  • Authorization checks
  • Implementation of response timeout
  • Error codes in case the API returns, and
9. How do you handle dynamic data in API testing?
  • Data Parameterization: Using data-driven tests where input values are generated dynamically from a data source (e.g., database, files).
10. What are the major challenges faced in API testing?
  • Output verification and validation.
11. Difference b/w RESTful API and SOAP API?
  • RESTful API and SOAP API lie in their architectural styles and message formats.
12. API Endpoint - Refers to a specific URL or URI

13. Purpose of authentication:
  • Verify the requester identity before granting access to protected resources.
14. Authentication methods used in API Testing:
  • Token-based authentication - A token to the client after successful authentication.
  • Basic authentication - sending the username and password 

Monday, March 3, 2025

Manual Testing Interview Questions โ€“ Part 1

1. Authentication and authorization?
  • Authentication (Auth): Verifies the user's identity.
  • Authorization: Determines the user's permissions.Defines what actions the user can perform.
   
2. Retesting and Regression testing?
  • Retesting involves testing a specific bug or issue after it has been fixed by the developer.
  •  Regression testing involves testing the fixed bug and the surrounding areas that may have been affected by the fix. verify that the software works as expected after changes?
  Retesting - Testing only the affected area.
  Regression Testing - Testing the affected as well as the unaffected area.
  
3. Black Box, White Box, Gray Box Testing:
  •  Black box: Focuses on external behavior and user interactions. No knowledge of internal code or structure required. Typically performed by testers, QA engineers, or end-users. Examples: Functional testing, User Acceptance Testing (UAT), Exploratory testing.
  • White Box: Focuses on internal code structure and logic. Requires knowledge of programming languages and code. Typically performed by developers. Examples: Unit testing, Integration testing, Code reviews.
  • Gray Box: Combines elements of black box and white box testing. Requires some knowledge of programming and code. Typically performed by testers with programming skills or developers. Examples: API testing, Database testing, Security testing.
  
4. Severity: Refers to the impact or effect of a defect on the application's functionality. Measures the defect's damage or risk
     Priority: How soon will the defect be fixed?
  
5. Test scenarios focus on what to test, while test cases focus on how to test. Test scenarios define end-to-end functions to be tested, while test cases provide instructions on how to test specific features.

6. Alpha, Beta, Gamma Testing:
  Alpha: Conducted by in-house testing team. focus on functionality.
  Beta: Conducted by external customers, end-users, or a select group. focus on real-world usage.
  Gamma: Conducted by end-users, customers. For the final validation, focus on business requirements and user expectations.
  
7. Equivalence Partitioning:
  • Equivalence partitioning is a black-box testing technique that divides input data into partitions.
  • Test cases that cover all possible input scenarios, reducing the number of test cases.
 Example:  Age (1-100)
   Valid ages: 1-100
   Invalid Ages:
       Below 1 (e.g., 0, -1)
       Above 100 (e.g., 101, 150)
       Non-numeric input (e.g., "abc")

8. Smoke and Sanity testing
  • Smoke testing - Focusing Major functionalities in the software through positive test cases.
  • Sanity testing - Focusing Major functionalities in the software through positive and negative test cases.
9. Usability testing - Easy to use.

10. BUG - Caused by a programming error.
      ERROR - Mismatch between expected and actual output.
      DEFECT - When the actual output differs from customer expectations, it is considered a defect.
      MISTAKE - An error made by the user.

11. Adhoc/Monkey testing - testing an application randomly without following requirements. Here we check negative scenarios.

12. Compatibility testing - testing an application with different hardware and software.

13. Globalization testing - testing an application which is developed for different languages.

14. Reliability testing - testing the functionality of an application for a long duration of time.

15. Accessibility testing - testing the application which is developed for physically challenged people.

16. Acceptance testing - testing the business scenarios of an application, which is done by the customer.

17. Aesthetic testing - Testing the beauty of the application. checking colour combination, font style, font size and attractiveness of an application.

18. Functional, integration and system testing are mandatory for every testing application.

19. Smoke, sanity, exploratory and ad-hoc testing are situation-based testing.

20. Recovery testing - Later close the application and open it again, and see whether all the previous data is still available or not.

21. SDLC - It is Software Development Life Cycle
 It has different stages:
  • Requirement Analysis
  • Designing
  • Coding
  • Testing
  • Deployment
  • Maintenance
22. Agile Model - When a customer wants an application very fast, with less time, we go for this model.

23. STLC - Software Testing Life Cycle
  It has different stages:
  • Requirement Analysis
  • Test Planing
  • Test Designing
  • Test Environment Setup
  • Test execution
  • Test Cycle Closure

24. Scrum terminology
Scrum is a version of agile.
  • Epic - It is a complete set requirement given by the customer.
  • Sprint - It is the duration time taken to work on 1 or more user stories. Each sprint can be either 2/3/4 weeks, it depends upon the customer decision.
  • Sprint planning meeting - It is a meeting which is conducted before the sprint starts.
  • Sprint backlog - It is a user story which is not completed in that particular sprint, that is carried into the next sprint.
  • Sprint review meeting - In this meeting, the scrum master will check whether all the user stories are completely developed and tested, and it is ready to release to the customer or not.
25. Requirement Traceability Matrix:
  • It is a document which is prepared to check whether every requirement has at least one test case or not. RTM maps all the requirements with the test cases.

Monday, February 17, 2025

๐Ÿ” Open to Work: Software Test Engineer Role ๐Ÿ”

Hi everyone! Iโ€™m actively seeking a new opportunity and would appreciate your support. If you have any relevant openings or would like to connect, please message me or comment below.

๐Ÿ”น Open to New Roles | Software Test Engineer ๐Ÿ”น

I am a Senior Software Test Engineer (Automation and Manual) with 4+ years of experience in testing web-based applications. My expertise includes:
โœ… Automation Testing โ€“ Java, Selenium WebDriver, TestNG
โœ… API Automation โ€“ Rest-Assured, Postman
โœ… Manual Testing โ€“ Comprehensive test planning, execution, and defect reporting
โœ… Team Collaboration โ€“ Leading QA teams, mentoring, and training new members
โœ… Bug Identification & Documentation โ€“ Proficient in tracking and reporting software issues

๐Ÿ’ป Technical Skills & Tools:

๐Ÿ”น Languages โ€“ Java | SQL
๐Ÿ”น API Testing Tools โ€“ Postman
๐Ÿ”น Automation Testing โ€“ Selenium WebDriver | TestNG | Java | Maven | WebdriverIO | Appium | Android Studio
๐Ÿ”น Performance Testing โ€“ JMeter
๐Ÿ”น Database โ€“ MySQL | Oracle
๐Ÿ”น Test Management Tools โ€“ Jira | Asana
๐Ÿ”น CI/CD Pipelines โ€“ GitHub Actions
๐Ÿ”น Domain Expertise โ€“ ERP | EdTech | CRM | E-commerce | Healthcare

Contact Info:

๐Ÿ“Œ QA Blog โ€“ https://suriyaparithy.blogspot.com/
๐Ÿ“Œ GitHub โ€“ https://github.com/parithysuriya
๐Ÿ“Œ Portfolio โ€“ https://suriyaparithy.wixsite.com/suriyae
๐Ÿ“Œ LinkedIn โ€“ https://www.linkedin.com/in/suriya-e-211681148/

๐Ÿ“ Preferred Locations:

๐Ÿข On-Site: Madurai | Coimbatore | Chennai
๐Ÿก Remote: India

Feel free to connect or reach out for opportunities!
๐Ÿ“ฉ Email โ€“ suriyaparithy@gmail.com
๐Ÿ“ž Phone โ€“ +91 8344418512