Introduction¶
Optics Framework is a powerful, extensible no-code test automation framework designed for vision-powered, data-driven testing and production app synthetic monitoring. It enables seamless integration with intrusive action & detection drivers such as Appium / WebDriver as well as non-intrusive action drivers such as BLE mouse / keyboard and detection drivers such as video capture card and external web cams.
Primary Use Cases¶
This framework was designed primarily for the following use cases:
-
Production App Monitoring Where access to USB debugging / developer mode and device screenshots is prohibited
-
Resilient Self-Healing Test Automation That rely on more than one element identifier and multiple fallbacks to ensure maximum recovery
-
Enable Non-Coders to Build Test Automation Scripts No programming knowledge required to create and execute tests
Supported Platforms¶
- iOS - Native iOS app testing
- Android - Native Android app testing
- Browsers - Web application testing
- Smart TVs - BLE-enabled device testing
Key Features¶
Vision Powered Detections¶
UI object detections are powered by computer vision and not just on XPath elements. This makes tests more resilient to UI changes.
No Code Automation¶
No knowledge of programming languages or access to IDE needed to build automation scripts. Define tests using simple CSV files.
Non-Intrusive Action Drivers¶
Non-intrusive action drivers such as BLE mouse and keyboard are supported, enabling testing of production apps without developer mode.
Data-Driven Testing (DDT)¶
Execute test cases dynamically with multiple datasets, enabling parameterized testing and iterative execution.
Extensible & Scalable¶
Easily add new keywords and modules without any hassle. The modular architecture allows for easy extension.
AI Integration¶
Choose which AI models to use for object recognition and OCR. Support for multiple vision models and OCR engines.
Self-Healing Capability¶
Configure multiple drivers, screen capture methods, and detection techniques with priority-based execution. If a primary method fails, the system automatically switches to the next available method in the defined hierarchy.
Architecture¶
Optics Framework offers a modular architecture paired with a command-line interface (CLI) that enables testers and developers to:
- Define test cases using CSV files
- Manage test data efficiently
- Execute tests with ease
- Extend functionality through plugins
Who Can Use It?¶
Whether you're:
- A beginner looking to automate your first test
- An experienced developer contributing new features
- A QA engineer building comprehensive test suites
- A DevOps engineer setting up CI/CD pipelines
The Optics Framework is designed to empower you.
License¶
The Optics Framework is licensed under the Apache License 2.0, which can be found here. This permissive license allows you to use, modify, and distribute the software freely, as long as you comply with its terms.
License Key Points
- Redistributions of the code must include a copy of the license and any relevant notices
- If you modify the code, you should also document your changes
- The software is provided "as is" without any warranties
- You can use, modify, distribute, and even sublicense the software with minimal restrictions
Next Steps¶
Ready to get started? Check out our Quick Start Guide to create your first test in minutes!