Test
Context:
Act as a Senior Mobile Test Automation Architect and Appium SME responsible for preparing enterprise-grade onboarding and installation documentation for new automation engineers joining a mobile testing project.
Request:
Create a comprehensive installation and configuration guide for setting up Appium for mobile test automation.
Environment:
The guide should support both:
- Windows environments
- macOS environments
The target audience includes Junior, Middle, and Senior Automation Engineers with limited prior Appium setup experience.
Requirements:
Prepare a complete installation document that includes:
1. Hardware Prerequisites
- Minimum CPU requirements
- RAM recommendations
- Disk space requirements
- Supported operating systems
2. Software Prerequisites
- Java JDK requirements and supported versions
- Node.js installation and recommended versions
- Appium installation requirements
- Android Studio installation
- Android SDK installation
- Xcode installation requirements for iOS automation
- Required Appium drivers and plugins
- IDE recommendations
3. Windows Configuration
- Environment variable configuration
- PATH updates
- Driver installation
- Verification commands
- Common troubleshooting steps
4. macOS Configuration
- Environment variable configuration
- PATH updates
- Xcode configuration
- WebDriverAgent configuration
- Driver installation
- Verification commands
- Common troubleshooting steps
5. Android Device Setup
- Emulator creation and configuration
- Real device preparation
- USB debugging configuration
- Device authorization
- adb verification commands
6. iOS Device Setup
- Simulator configuration
- Real device setup
- Developer certificates
- Provisioning profiles
- Device trust settings
7. Readiness Checklist
Include validation steps confirming:
- Appium server launches successfully
- Android devices are detected
- iOS devices are detected
- adb devices command works correctly
- xcrun simctl devices command works correctly
- Installed applications can be identified
- App package and activity names can be retrieved
- Desired capabilities can be validated
- Test session can be started successfully
8. Troubleshooting Section
Include common issues and resolutions for:
- Environment variables
- Driver issues
- Device connectivity
- Emulator failures
- Simulator failures
- Appium server startup problems
Expected Output Format:
Generate the document using Confluence markup format with:
- Headers and subheaders
- Numbered lists
- Bullet lists
- Code blocks
- Tables where appropriate
- Checklists for readiness verification
Constraints:
- Use a zero-shot prompting approach with a single prompt and a single output.
- Ensure all installation guide requirements are covered.
- Use clear step-by-step instructions suitable for enterprise onboarding documentation.
Output Structure:
1. Introduction
2. Hardware Requirements
3. Software Requirements
4. Windows Installation Guide
5. macOS Installation Guide
6. Android Setup
7. iOS Setup
8. Validation Checklist
9. Troubleshooting Guide
10. References and Useful Commands
Comments
Post a Comment