Assignment 9 QA
Assignment 9 QA
Functionality: Adding items to the cart, applying coupons, and using payment
gateways.
Test Scenarios: Testing coupon codes, cart updates, and payment methods
(credit cards, wallets).
4. Delivery Tracking
3. Data Preparation
Proper preparation ensures the data is usable:
Cleaning: Remove duplicates, incomplete entries, or irrelevant data.
Transformation: Normalize formats for phone numbers, dates, and addresses.
Formatting: Convert the data into application-compatible formats like JSON, CSV, or
database entries.
5. Performance Testing:
Properly anonymized data ensures compliance with standards like GDPR (General Data
Protection Regulation).
Example: Using masked user data avoids the exposure of sensitive information during
testing.
1. Data Versioning:
Version 1: Includes basic test scenarios, such as login and restaurant searches.
Version 2: Expands to include edge cases like failed payments, invalid orders, and peak-
time loads. Use version control tools like Git to track changes in test data.
2. Data Masking
Replace sensitive information (e.g., user names, emails, payment details) with dummy
values.
Example: Replace "Ahmad" with "User_001" and mask card numbers as "XXXX-XXXX-
XXXX-5678".
3. Data Sub-Setting
Create smaller, focused datasets to test specific features.
Example: For testing cart functionality, use a dataset with 100 users, 10
restaurants, and 50 orders.
4. Data Refreshing:
Regularly update the test data to ensure relevance and accuracy.
Use automated scripts to pull recent anonymized data from production or generate new
synthetic data.
Tools Used:
Efficient management and generation of test data rely on the following tools:
1. Data Generation: Python’s Faker library or Mockaroo for creating realistic dummy
data.
2. Data Storage: MySQL or MongoDB for organizing and storing data.
3. Data Masking: Python scripts to anonymize sensitive data.
4. Version Control: Git to track and manage changes in test data.
Test with real and fake credentials to evaluate error messages and login
processes.
Create scenarios for applying valid and invalid coupons and using different
payment methods.
4. Delivery Tracking:
Test live tracking with simulated order status updates for various delivery
locations.