# Prompt Managerment

| Context                                         | prompt                                                                                                                                                                                                                                                                                                                                                                                       |
| ----------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Positive Scenario Test Case                     | Your task is to create a positive scenario test case for the given feature. Assume that a user wants to complete a specific action successfully. Provide step-by-step instructions on how to navigate through the system, input relevant data, and execute the action flawlessly. Clearly state the expected outcome and any relevant preconditions.                                         |
| Negative Scenario Test Case                     | Write a negative scenario test case for the specified functionality. Imagine a situation where a user intentionally enters incorrect or invalid data. Detail the steps to reproduce this scenario, specify the expected error message or failure, and outline any necessary post-condition checks to confirm the system's behavior.                                                          |
| Boundary Value Test Case                        | Your task is to generate a boundary value test case for the given input field. Identify a field that has acceptable limits, such as a quantity or a date range. Provide values that represent the lower and upper bounds of this range, explaining how the system should handle these boundary conditions and the expected outcomes.                                                         |
| Regression Test Case                            | Develop a regression test case to safeguard existing functionality after recent code changes. Choose a specific feature or area to test, list the preconditions required to execute the test, provide detailed steps to replicate the scenario, and clearly outline the expected outcomes to ensure that no unintended side effects occur due to the changes.                                |
| Data Validation Test Case                       | Your task is to write a data validation test case for the input form. Define a set of valid and invalid input values for a specific field (e.g., email address, phone number). Explain how the system should validate or reject each type of data, and specify the corresponding error messages or system responses for invalid inputs.                                                      |
| Usability Test Case                             | Create a usability test case to evaluate the user-friendliness of a particular interface feature. Define a task that a typical user should be able to accomplish, provide detailed instructions on the steps they need to follow, and consider any potential challenges or confusion they might face during the task. Clearly indicate the expected level of ease of use or difficulties.    |
| Performance Test Case                           | Develop a performance test case to assess the system's responsiveness under load. Specify the test scenario, including the number of concurrent users or transactions that the system should handle. Define the acceptable response time for the task being performed and outline the expected performance metrics.                                                                          |
| Compatibility Test Case                         | Write a compatibility test case to ensure the software functions correctly across different browsers or devices. Specify the exact browser/device combinations that need testing, identify the specific features or functionalities to be validated, and outline the expected results or behavior for each combination.                                                                      |
| Security Test Case                              | Generate a security test case to identify potential vulnerabilities or security breaches. Describe a scenario where unauthorized access or data breaches may occur, outline the actions to be taken to simulate the breach attempt, and detail the expected system response or security measures in place to prevent or mitigate the breach.                                                 |
| Accessibility Test Case                         | Create an accessibility test case to evaluate the software's compliance with accessibility standards. Define a task that users with disabilities should be able to perform, specify the assistive technologies that will be used, and detail the expected level of accessibility that the software should provide. Include any specific criteria or guidelines for accessibility compliance. |
| Error Handling Test Case                        | Your task is to create an error handling test case for a specific feature. Imagine a situation where an unexpected error occurs during user interaction. Detail the steps that lead to the error, describe the error message or behavior that should be displayed, and specify the corrective action or resolution expected from the system.                                                 |
| Cross-Module Integration Test Case              | Develop a cross-module integration test case to ensure seamless interaction between different modules or components of the software. Choose two or more modules that need to work together, outline the specific actions to be performed, and describe the expected data flow and results between the modules.                                                                               |
| Data Integrity Test Case                        | Write a data integrity test case to validate the accuracy and consistency of data stored in the system. Specify a scenario where data is entered, modified, or deleted, and outline the steps to replicate the data change. Describe the expected state of the data after the operation, ensuring that it aligns with the system's integrity constraints.                                    |
| Load Balancing Test Case                        | Develop a load balancing test case to assess the software's ability to distribute incoming traffic or requests across multiple servers or instances. Define the load distribution scenario, specify the number of requests or users, and detail the expected distribution pattern and system behavior under different load levels.                                                           |
| Recovery and Rollback Test Case                 | Your task is to create a recovery and rollback test case to evaluate the system's ability to recover from failures. Describe a scenario where the system encounters an unexpected error or interruption, outline the steps taken by the system to recover, and detail the expected state of the system after recovery or any necessary data rollback.                                        |
| Localization Test Case                          | Write a localization test case to verify that the software is correctly adapted to different languages or regions. Choose a specific feature or content that needs localization, specify the languages to be tested, and outline the steps to change the language settings and validate the accurate translation and display of content.                                                     |
| Data Migration Test Case                        | Develop a data migration test case to ensure the successful transfer of data from one system or format to another. Specify the source and target systems, detail the data migration process, and describe the expected state of the data in the target system after migration, including accuracy, completeness, and data relationships.                                                     |
| Concurrency Test Case                           | Your task is to create a concurrency test case to evaluate the system's behavior under simultaneous user interactions. Define a scenario where multiple users perform actions concurrently, outline the specific steps they take, and describe the expected outcomes, including how the system should handle potential conflicts or synchronization issues.                                  |
| API Integration Test Case                       | Write an API integration test case to ensure the seamless communication between different software components via APIs. Choose two components that interact through APIs, detail the API requests and responses involved, and describe the expected data exchange and system behavior during the integration.                                                                                |
| User Permissions Test Case                      | Develop a user permissions test case to verify that different user roles have appropriate access and restrictions. Specify the user roles, outline the specific actions or features that each role should have access to, and describe the expected behavior when users attempt actions beyond their assigned permissions.                                                                   |
| Stress Testing                                  | Your task is to create a stress testing test case to assess the software's stability and performance under extreme load conditions. Define the stress test scenario, specify the load level (e.g., high concurrent users, data volume), and detail the actions to be performed. Describe the expected behavior, system response, and any performance metrics to be monitored.                |
| Compatibility Test Case (Operating Systems)     | Develop a compatibility test case to ensure the software functions correctly on different operating systems. Specify the operating systems and versions to be tested, outline the specific features or functionalities to validate, and describe the expected results or behavior for each OS.                                                                                               |
| End-to-End Workflow Test Case                   | Write an end-to-end workflow test case that covers a complete user journey involving multiple steps and interactions. Detail the sequence of actions, user inputs, system responses, and expected outcomes throughout the entire workflow. Ensure that the test covers various scenarios and edge cases to validate the workflow's integrity.                                                |
| Accessibility Compliance Test Case              | Your task is to create an accessibility compliance test case to verify that the software meets accessibility standards for users with disabilities. Define a specific accessibility requirement (e.g., keyboard navigation, screen reader compatibility), outline the steps to validate compliance, and describe the expected behavior and user experience for users with disabilities.      |
| Localization and Internationalization Test Case | Develop a test case to ensure the accurate localization and internationalization of the software. Specify a feature or content to be tested for localization (e.g., date formats, currency symbols), choose a target language or region, and outline the steps to validate that the software adapts correctly to the cultural and linguistic context.                                        |
| Installation and Setup Test Case                | Develop an installation and setup test case to ensure that the software is installed and configured correctly. Detail the installation process, including software prerequisites and configuration options, outline the steps for setup and initial configuration, and describe the expected outcomes and system behavior after successful installation.                                     |
| Network Disruption Test Case                    | Your task is to create a network disruption test case to evaluate the software's behavior during network interruptions. Describe a scenario where the network connection is suddenly lost or unstable, outline the user actions and system responses, and detail the expected behavior and recovery process once the network is restored.                                                    |
| Negative Data Input Test Case                   | Write a negative data input test case to assess how the software handles invalid or malicious inputs. Specify the input fields or areas to be tested, provide examples of various types of negative inputs (e.g., SQL injection, cross-site scripting), and describe the expected system response to prevent security risks or data corruption.                                              |

source from: <https://faqprime.com/en/ai-prompts-for-test-case-generation/>
