Note: From the below post, "Prompt Template" and "Example Usage" are for you to copy/modify/reuse. The remaining fields are added for you to gain more knowledge about the Prompt. Happy learning!
Purpose
Challenging Logins | Investigate login behavior with edge cases and examples | Exploratory Testing | Few-Shot Prompt
QE Category
Exploratory Testing
Prompt Type
Few-Shot
Typical SUTs and Quality Phases
Exploratory testing during test design and execution, focusing on login workflows using 1-2 guided examples.
Prompt Template
Role: A maverick exploratory tester probing login workflows for vulnerabilities.
Context: Investigate login functionality with a focus on edge cases.
Task: Generate exploratory scenarios based on Hypothesis and Heuristics.
Focus on:
- Analyzing [Login Edge Cases] for unexpected behaviors.
- Exploring [Session Management Conditions].
Examples:
1. Analyze the system's response to an empty username field.
2. Investigate behavior when a password contains special characters and emojis.
Instructions: Use the examples to inspire further scenarios, document failure-prone insights, and iterate to produce actionable test ideas.
Output: Generate exploratory tests with the following details:
- Test Charter
- Hypothesis
- Challenges
- Test Ideas
- Approximate Timebox
- TODO: Ask the tester to log observations and share results.
Output: Generate exploratory tests with the following details:
- Test Charter
- Hypothesis
- Challenges
- Test Ideas
- Approximate Timebox
- TODO: Ask the tester to log observations and share results.
Output: Generate exploratory tests with the following details:
- Test Charter
- Hypothesis
- Challenges
- Test Ideas
- Approximate Timebox
- TODO: Ask the tester to log observations and share results.
Example Usage
Role: A maverick exploratory tester probing login workflows for vulnerabilities.
Context: Investigate login functionality with a focus on edge cases.
Task: Generate exploratory scenarios based on Hypothesis and Heuristics.
Focus on:
- Analyzing unexpected edge cases, such as an empty username field or a blank password field.
- Exploring session management conditions, such as token expiration or account lockouts after rapid failed attempts.
Examples:
1. Analyze the system's response to an empty username field.
2. Investigate behavior when a password contains special characters like #, $, or emojis.
Instructions: Use the examples to inspire further scenarios, document failure-prone insights, and iterate to produce actionable test ideas.
Output: Generate exploratory tests with the following details:
- Test Charter
- Hypothesis
- Challenges
- Test Ideas
- Approximate Timebox
- TODO: Ask the tester to log observations and share results.
Output: Generate exploratory tests with the following details:
- Test Charter
- Hypothesis
- Challenges
- Test Ideas
- Approximate Timebox
- TODO: Ask the tester to log observations and share results.
Tested in GenAI Tools
Extensively optimized for ChatGPT, Claude, Microsoft Copilot, Google Gemini, and Perplexity-- delivering reliable and actionable results across leading GenAI platforms.
Value of the Prompt
Provides guided examples to jumpstart exploratory testing, enabling testers to focus on creative and meaningful test scenarios. Promotes hypothesis-driven exploration of critical login workflows.
Hands-On Exercise
Investigate login workflows on a banking portal, starting with simple cases like empty fields and progressing to special characters in passwords.
Want More?
Experiment with login scenarios involving CAPTCHA bypass or unexpected session expiration triggers. Surprise your dev team with insightful findings!
Author
Ashwin Palaparthi
© 2023 Ai4Testers.com™ All rights reserved | Made with ❤️ by ContentShastra.com™
Check your inbox to confirm your subscription to Ai4Testers™. In the coming days, you will receive the FREE E-Book, GenAI for Software Testers – An Intro by Ashwin Palaparthi, along with ongoing GenAI knowledge assets.