Complete Reading Guide
Linear, book-style path through framework documentation
About This Guide
This guide provides a linear, book-style path through the framework documentation. Unlike web-style navigation (jumping between hyperlinked pages), this guide presents a chapter-based structure for reading documentation from beginning to end.
Framework: mAiβ’ Automation Framework | Version: 2.0 | Total Documentation: 16 Files | Total Reading Time: 3-5 hours
Choose Your Reading Speed
π Quick Path
60 minutes
- Read summaries and code examples only
- Skip detailed explanations
- Focus on getting tests running fast
π Standard Path
3 hours (Recommended)
- Read all core sections
- Skip optional deep-dive sections
- Best for most users
π¬ Deep Dive
5+ hours
- Read everything including technical details
- Study all diagrams thoroughly
- Complete understanding of architecture
Table of Contents
Part 1: Introduction & Setup (30-45 min)
- Framework Introduction - 10 min
- Architecture Overview - 15 min
- Installation & Setup - 20 min
Part 2: Writing & Running Tests (45-60 min)
- Test Development - 25 min
- Test Execution - 15 min
- Test Lifecycle Flow - 15 min
Part 3: Advanced Features (60-90 min)
- mAi Advisorβ’ System - 25 min
- HTTP Security Assessment - 25 min
- Network Diagnostics - 20 min
Part 4: Architecture Deep Dive (45-75 min)
- Complete Architecture - 20 min
- Test Discovery System - 15 min
- Data Collection Pipeline - 20 min
Part 5: Cloud Integration (30-45 min)
- BigQuery Integration - 15 min
- mAi Advisor Workflow - 10 min
- HTTP Audit Pipeline - 10 min
Part 6: Visual Reference (15-30 min)
- Complete Diagram Index - 15 min
Part 1: Introduction & Setup
Estimated Time: 30-45 minutes
Chapter 1: Framework Introduction
File: Home.html | Reading Time: 10 minutes
What You'll Learn
- What the mAi Automation Framework is
- Key capabilities and features
- Framework benefits and use cases
- How to navigate the documentation
Reading Notes
- Must Read: "Quick Start" section
- Must Read: "Framework Features" section
- Optional: "Getting Help" section (reference later)
Action Items After Reading
β Understand framework purpose | β Identify which features you need | β Know where to find help
Chapter 2: Architecture Overview
File: Doc-Overview.html | Reading Time: 15 minutes
What You'll Learn
- Framework's 8-layer architecture
- 60+ classes and their purposes
- Component relationships
- Technology stack
Key Concepts
- Layer 1-3: Test foundation (JUnit, Page Objects)
- Layer 4-5: Framework utilities
- Layer 6: Audits (HTTP, Network)
- Layer 7: mAi Advisorβ’
- Layer 8: Cloud integration
Action Items After Reading
β Understand 8-layer structure | β Identify which layers you'll use | β Recognize class naming conventions (FW_ prefix)
Chapter 3: Installation & Setup
File: Doc-Setup.html | Reading Time: 20 minutes
What You'll Learn
- Required software installation
- Project setup steps
- Configuration file setup
- Verification commands
Prerequisites Needed
Java 23+ | Maven 3.9+ | Chrome/Firefox/Edge browser | VS Code or IntelliJ IDEA
Action Items After Reading
β
Install all required software | β
Clone/setup project | β
Configure testConfig.properties | β
Run mvn clean test successfully | β
Verify ChromeDriver works
Part 2: Writing & Running Tests
Estimated Time: 45-60 minutes
Chapter 4: Test Development
File: Doc-Test-Development.html | Reading Time: 25 minutes
What You'll Learn
- Page Object Model (POM) pattern
- Writing test suites and test cases
- Using custom assertions
- HTTP audit integration
- Network diagnostic integration
- mAi Advisor integration
Key Patterns
// Page Object Structure
public class PO_Login extends FW_Page {
private String txt_username = "id=user-name";
public void enterUsername(String username) {
FW_CustomAssertJU.sendKeys(driver, txt_username, username);
}
}
// Test Suite Structure
@TestInstance(Lifecycle.PER_CLASS)
public class TS_MyTests_JUnit {
@BeforeAll void setupSuite() { /* ... */ }
@Test void tc_my_first_test() { /* ... */ }
}Action Items After Reading
β Understand Page Object pattern | β Create a simple Page Object class | β Write a basic test case | β Use FW_CustomAssertJU assertions | β Run your test successfully
Chapter 5: Test Execution
File: Doc-Test-Execution-VSCode.html | Reading Time: 15 minutes
What You'll Learn
- Running tests from VS Code
- Maven command-line execution
- Test filtering and selection
- Viewing test results
Action Items After Reading
β Run tests from IDE | β Run tests from command line | β Filter tests by name or tag | β Locate test results
Chapter 6: Test Lifecycle Flow
File: Diagram-Maven-to-first-Test-Case.html | Reading Time: 15 minutes
What You'll Learn
- Maven build phases
- Test execution order
- Lifecycle hooks (@BeforeAll, @AfterAll)
- Post-test processing
Part 3: Advanced Features
Estimated Time: 60-90 minutes
Chapter 7: mAi Advisorβ’ System
File: Doc-mAi-Advisor.html | Reading Time: 25 minutes
What You'll Learn
- Two-tier recommendation model
- Six audience types
- Template system
- Finding-to-recommendation flow
Key Concepts
- Understanding Tier: What the issue is and why it matters
- Action Tier: How to fix (role-specific)
- Audiences: Developer, QA, DevOps, Security, PM, Executive
Chapter 8: HTTP Security Assessment
File: Doc-HTTP-Assessment.html | Reading Time: 25 minutes
What You'll Learn
- Security header analysis
- SSL/TLS certificate validation
- Cookie security assessment
- Report generation
Chapter 9: Network Diagnostics
File: Doc-Network-Diagnostics.html | Reading Time: 20 minutes
What You'll Learn
- Ping testing
- Traceroute analysis
- Speed test integration
- Network troubleshooting
Part 4: Architecture Deep Dive
Estimated Time: 45-75 minutes
Chapter 10: Complete Architecture
File: Diagram-Architecture.html | Reading Time: 20 minutes
What You'll Learn
- Full 8-layer diagram
- Component inventory (60+ classes)
- Dependency relationships
- Data flow paths
Chapter 11: Test Discovery System
File: Diagram-TestAssetsScanner.html | Reading Time: 15 minutes
What You'll Learn
- How tests are discovered
- File scanning patterns
- Test metadata extraction
- Suite organization
Chapter 12: Data Collection Pipeline
File: Diagram-Adding-data-to-datacollector.html | Reading Time: 20 minutes
What You'll Learn
- Test step data capture
- CSV generation process
- Data transformation
- Archive management
Part 5: Cloud Integration
Estimated Time: 30-45 minutes
Chapter 13: BigQuery Integration
File: Diagram-Automation-completed-to-Google_BigData.html | Reading Time: 15 minutes
What You'll Learn
- BigQuery upload process
- Schema configuration
- Data validation
- Query examples
Chapter 14: mAi Advisor Workflow
File: Diagram-Advisor-Flow.html | Reading Time: 10 minutes
What You'll Learn
- Finding β Recommendation flow
- Template selection
- Audience filtering
- Report generation
Chapter 15: HTTP Audit Pipeline
File: Diagram-HTTP-Audit-Pipeline.html | Reading Time: 10 minutes
What You'll Learn
- Audit execution flow
- Security check sequence
- Report assembly
- Advisor integration
Part 6: Visual Reference
Estimated Time: 15-30 minutes
Chapter 16: Complete Diagram Index
File: Diagrams.html | Reading Time: 15 minutes
All Diagrams
- Architecture Overview - 8-layer system
- Maven to First Test - Execution flow
- Test Assets Scanner - Test discovery
- Data Collection Pipeline - Data flow
- BigQuery Upload - Cloud integration
- Advisor Flow - Recommendation generation
- HTTP Audit Pipeline - Security assessment
Action Items After Reading
β Bookmark this page for reference | β Know which diagram to use when | β Understand role-based paths
Role-Based Reading Paths
Test Writers
Focus on Parts 1-2
- Framework Introduction
- Installation & Setup
- Test Development
- Test Execution
DevOps Engineers
Focus on Parts 1, 5
- Architecture Overview
- Installation & Setup
- BigQuery Integration
- Test Lifecycle Flow
Security Engineers
Focus on Parts 1, 3
- Framework Introduction
- HTTP Security Assessment
- mAi Advisorβ’ System
- HTTP Audit Pipeline
Framework Maintainers
Read all parts
- All chapters in order
- Deep dive on architecture
- Study all diagrams
- Review all appendices
Appendix A: Quick Command Reference
Essential Maven Commands
# Run All Tests
mvn clean verify
# Run Specific Test Suite
mvn test -Dtest=TS_MyTests_JUnit
# Run Single Test Case
mvn test -Dtest=TS_MyTests_JUnit#tc_specific_test
# Skip Tests
mvn clean install -DskipTests
# Generate Reports
mvn site # Generate JavaDocs
allure serve target/allure-results # View Allure reportHTTP Audit Commands
# Run all HTTP audits
mvn test -Dtest=TS_HTTP_Audits_JUnit
# Run single audit
mvn test -Dtest=TS_HTTP_Audits_JUnit#tc_http_audit_basicNetwork Diagnostic Commands
# Run all network tests
mvn test -Dtest=TS_Network_JUnit
# Run specific network test
mvn test -Dtest=TS_Network_JUnit#tc_network_ping_googleParallel Execution
# Configure in testConfig.properties
parallelExecution=true
parallelExecutionThreads=4Appendix B: Configuration Properties
Required Properties
# Browser Configuration
browser=chrome
headless=false
# Test Configuration
parallelExecution=false
parallelExecutionThreads=1
# Screenshot Configuration
takeScreenshots=true
screenCaptureFormat=png
# Data Collection
dataOutputPath=target/data/
dataTestStepsFilename=TestStepsData.csv
dataArchivePath=target/data/archive/Google Cloud Properties
# BigQuery Export
googleCloudBigQueryExport=true
googleCloudProjectId=your-project-id
googleCloudServiceAccountJsonFile=src/test/resources/.private/credentials.json
googleCloudProjectDataset=dataset_automation_01
googleCloudProjectDatasetTableTestSteps=table_teststeps_02
# Cloud Storage Export
googleCloudStorageExport=true
googleCloudStorageBucket=your_bucket_namemAi Advisor Properties
# Advisor Configuration
maiAdvisorEnabled=true
maiAdvisorAudiences=Developer,QA,DevOps,Security,PM,ExecutiveAppendix C: Troubleshooting Index
Maven Issues
mvn: command not found
β Add Maven to PATH
Tests won't run
β Check Java version (need 23+)
Build fails
β Run mvn clean install first
Browser Issues
ChromeDriver version mismatch
β Update ChromeDriver to match Chrome version
Browser won't start
β Check headless mode setting
Timeout errors
β Increase implicit wait in configuration
BigQuery Issues
CSV file does not exist
β Verify dataOutputPath configuration
BigQuery credentials failed
β Check service account JSON file path
Dataset creation failed
β Grant BigQuery Admin role to service account
Report Issues
Allure report won't open
β Install Allure commandline tool
Screenshots missing
β Verify takeScreenshots=true
Report not generated
β Check post-integration-test execution
Appendix D: Glossary
| Term | Definition |
|---|---|
| mAiβ’ | MissionWares AI methodology for intelligent test guidance |
| POM | Page Object Model design pattern |
| FW_ | Framework class naming prefix |
| JUnit 5 | Java testing framework (Jupiter) |
| Allure | Test report framework |
| OpenCSV | CSV parsing library |
| BigQuery | Google Cloud data warehouse |
| Mermaid | Diagram syntax (text-based flowcharts) |
| Surefire | Maven plugin for test execution |
| WebDriver | Browser automation API (Selenium) |
| Test Suite | Collection of related test cases (*_JUnit.java) |
| Test Case | Single test method (tc_*) |
| Page Object | Class representing a web page (PO_*) |
| Custom Assertion | Framework assertion with auto-screenshot |
| Test Step | Single action within a test (logged to CSV) |
| Advisor Finding | Security/quality issue detected by audit |
| Recommendation | mAi Advisor generated guidance |
| Audience | Target user type for recommendations |
| Template | Pre-defined recommendation structure |
| Two-Tier Model | Understanding + Action recommendation format |
Reading Completion Checklist
After completing this guide, you should be able to:
Basics
- β Understand framework architecture (8 layers)
- β Install and configure the framework
- β Write a basic test using Page Objects
- β Run tests via Maven
- β View Allure reports
Intermediate
- β Write comprehensive test suites
- β Use custom assertions effectively
- β Configure parallel execution
- β Understand test lifecycle
Advanced
- β Run HTTP security audits
- β Execute network diagnostics
- β Generate mAi Advisor recommendations
- β Configure BigQuery integration
- β Interpret security findings
Expert
- β Understand complete architecture
- β Extend framework with new features
- β Troubleshoot complex issues
- β Contribute to framework development
Next Steps
Now that you've completed the reading guide:
- Practice - Write your own test suites
- Experiment - Try different features
- Integrate - Set up cloud integration if needed
- Contribute - Report bugs or suggest features
- Share - Help others learn the framework
Role-Specific Guides
| Guide | Focus Area |
|---|---|
| Guide for Test Writers | Writing and running tests |
| Guide for DevOps Engineers | CI/CD integration and cloud setup |
| Guide for Framework Maintainers | Architecture and extension |