Live View ========= .. role:: bolditalic :class: bolditalic .. role:: underline :class: underline .. contents:: In this section :local: :depth: 2 .. grid:: 1 1 1 1 :margin: 4 .. grid-item-card:: ๐Ÿ‘€ Live View Overview :class-header: bg-primary text-white **Real-time Testing Dashboard** Live View provides comprehensive real-time monitoring and control capabilities for all your active testing sessions. Located in the RobusTest application header, it serves as your centralized command center for managing and observing ongoing test activities across all devices. +++ **๐ŸŽฏ Instant access to all active sessions โ€ข ๐Ÿ“ฑ Universal device support โ€ข โšก Real-time monitoring** Overview -------- Live View transforms how you monitor and manage your testing activities by providing instant visibility into all active sessions: .. grid:: 3 3 2 1 :margin: 4 :gutter: 3 .. grid-item-card:: ๐Ÿ“Š Real-time Monitoring :class-header: bg-success text-white **Live Device Screens** Watch live device screens during test execution with zero-delay streaming and interactive capabilities. +++ * Zero-delay screen streaming * Interactive device control * Multi-screen simultaneous viewing * Performance metrics overlay .. grid-item-card:: ๐ŸŽฎ Session Management :class-header: bg-info text-white **Complete Control** Resume, control, and terminate active sessions with comprehensive management tools. +++ * Session resume capabilities * Remote device control * Emergency session termination * Cross-browser continuity .. grid-item-card:: ๐Ÿ”ง Universal Access :class-header: bg-warning text-white **All Testing Types** Works seamlessly with manual, automation, and Hub test sessions across all device types. +++ * Manual testing sessions * Automation test runs * Hub-based testing * Multi-device scenarios Active Session Information -------------------------- Live View displays comprehensive information about all your active testing sessions in an organized, easy-to-understand format: .. tabs:: .. tab:: ๐Ÿ“‹ Session Overview **Comprehensive Session Data** Each active session displays detailed information to help you understand the current testing state: .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿ“ฑ Device & App Information :class-header: bg-primary text-white **Core Session Details:** * **๐Ÿ“ฆ App Build**: Current application build being tested * **๐Ÿ“ฑ Device Model**: Device specifications and model information * **๐Ÿ”ง ADB ID**: Android Debug Bridge unique identifier * **โš™๏ธ Device Configuration**: Screen size, OS version, and capabilities .. grid-item-card:: ๐Ÿ‘ค Session Metadata :class-header: bg-info text-white **Session Context:** * **๐ŸŽฏ Session Type**: Manual, automation, or Hub test classification * **๐Ÿ‘ค User Details**: Name of the user who initiated the session * **โฐ Start Time**: Precise session start timestamp * **โฑ๏ธ Duration**: Real-time session elapsed time .. tab:: ๐ŸŽ›๏ธ Session Controls **Available Actions** For each active session, you can perform various control actions: .. grid:: 3 3 2 1 .. grid-item-card:: ๐Ÿ‘€ Live Screen :class-header: bg-success text-white **Real-time Viewing** * Monitor device screen in real-time * Interactive control capabilities * Multiple screen support .. grid-item-card:: โ–ถ๏ธ Resume Session :class-header: bg-warning text-white **Session Recovery** * Resume interrupted sessions * Cross-browser continuity * Maintain test progress .. grid-item-card:: ๐Ÿ”š Release Device :class-header: bg-danger text-white **Session Termination** * Terminate active sessions * Free up device resources * Clean session closure .. tab:: ๐Ÿ“Š Session Status **Understanding Session States** .. grid:: 2 2 1 1 .. grid-item-card:: ๐ŸŸข Active States :class-header: bg-success text-white **Running Sessions:** * **๐ŸŸข Active**: Session is running normally * **๐Ÿ”ต Paused**: Session is temporarily paused * **๐ŸŸก Busy**: Device is processing commands * **๐ŸŸ  Waiting**: Session waiting for user input .. grid-item-card:: โš ๏ธ Alert States :class-header: bg-warning text-white **Attention Required:** * **๐Ÿ”ด Disconnected**: Network connection lost * **โšซ Crashed**: Application or device crash detected * **๐ŸŸฃ Timeout**: Session approaching timeout * **๐Ÿ”ถ Resource Low**: Device resources running low .. figure:: _static/liveviewsessions.png :align: center :alt: Live View Sessions Overview showing active test sessions :class: screenshot-border Live View dashboard displaying all currently active test sessions Session Control Options ----------------------- Live View provides comprehensive control options for managing your active testing sessions with powerful features and flexible configurations: .. tabs:: .. tab:: ๐Ÿ‘€ Live Screen Monitoring **Real-time Device Screen Viewing** The Live Screen button (monitor icon) opens a powerful real-time device viewing experience: .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿ–ฅ๏ธ Screen Viewing Features :class-header: bg-primary text-white **Advanced Display Options:** * **๐Ÿ“บ Real-time Display**: Zero-delay live device screen streaming * **๐Ÿ” Test Step Visibility**: Watch automation test steps in real-time * **๐Ÿ“ฑ Multiple Resolutions**: Adaptive screen sizing and quality * **๐ŸŽฅ Recording Capability**: Record sessions for later analysis * **๐Ÿ“Š Performance Overlay**: Real-time performance metrics display .. grid-item-card:: ๐ŸŽฎ Interactive Control :class-header: bg-success text-white **Device Control Capabilities:** * **๐Ÿ‘† Touch Interactions**: Click, swipe, and gesture support * **โŒจ๏ธ Keyboard Input**: Direct text input to device * **๐Ÿ”„ Device Rotation**: Portrait/landscape orientation control * **๐Ÿ“ฒ Hardware Buttons**: Volume, power, and navigation controls * **๐Ÿ“‹ Clipboard Support**: Copy/paste between device and computer .. admonition:: ๐Ÿ”ง Enabling Device Control :class: tip **To enable full device control during Live Screen viewing, append this parameter to the Live Screen URL:** .. code-block:: text ?deviceControl=true **Example URL:** ``https://your-robustest-instance.com/liveview/session/123?deviceControl=true`` This enables complete remote control capabilities including touch, swipe, and keyboard input. .. tab:: โ–ถ๏ธ Session Recovery **Robust Session Continuity** The Resume Session button (green play icon) provides comprehensive session recovery capabilities: .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿ”„ Recovery Scenarios :class-header: bg-warning text-white **When to Use Resume:** * **๐ŸŒ Browser Crash Recovery**: Restore sessions after browser failures * **๐Ÿ“ก Network Interruption**: Continue after connection drops * **๐Ÿ’ป Device Switching**: Move sessions between computers * **๐Ÿ‘ฅ Collaborative Testing**: Share sessions with team members * **โฐ Timeout Prevention**: Extend session timeouts .. grid-item-card:: โœ… Resume Benefits :class-header: bg-info text-white **Continuity Features:** * **๐Ÿ’พ Progress Preservation**: Maintain all test progress and state * **๐Ÿ”— Cross-browser Support**: Resume from any browser or device * **๐Ÿ“ฑ App State Maintained**: Application remains in current state * **โšก Instant Reconnection**: Immediate session restoration * **๐Ÿ” Secure Handoff**: Secure session transfer mechanisms .. tip:: **Best Practice**: Always use Resume Session instead of starting new sessions when returning to interrupted tests to maintain progress and save time. .. tab:: ๐Ÿ”š Device Release **Efficient Resource Management** The Release Device button provides clean session termination and resource optimization: .. grid:: 2 2 1 1 .. grid-item-card:: ๐ŸŽฏ When to Release :class-header: bg-danger text-white **Release Scenarios:** * **โœ… Testing Completion**: Normal end of testing session * **๐Ÿšจ Emergency Release**: Immediate device liberation needed * **โšก Resource Optimization**: Free devices for team members * **๐Ÿงน Session Cleanup**: Remove inactive or stuck sessions * **๐Ÿ”„ Device Reset**: Prepare device for fresh testing .. grid-item-card:: ๐Ÿ’ก Release Benefits :class-header: bg-secondary text-white **Optimization Advantages:** * **๐Ÿƒ Quick Liberation**: Immediate device availability * **๐Ÿ’ฐ Cost Efficiency**: Optimize device usage costs * **๐Ÿ‘ฅ Team Sharing**: Make devices available to colleagues * **๐Ÿ”„ Resource Cycling**: Prevent device resource exhaustion * **๐Ÿ“Š Usage Analytics**: Better resource utilization tracking .. warning:: **Important**: Device release immediately terminates the session. Ensure you've saved all necessary test artifacts before releasing. .. figure:: _static/liveview1.png :align: center :alt: Live Screen View with Interactive Controls and device interface :class: screenshot-border Interactive Live View showing device screen with control panel Multi-Device Monitoring ----------------------- Live View's multi-device monitoring capabilities enable comprehensive testing scenarios across multiple devices simultaneously: .. tabs:: .. tab:: ๐Ÿ–ฅ๏ธ Parallel Monitoring **Simultaneous Device Screen Viewing** Monitor multiple devices in real-time with advanced multi-screen capabilities: .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿ“บ Multi-Screen Features :class-header: bg-primary text-white **Advanced Viewing Options:** * **๐ŸชŸ Multiple Windows**: Open unlimited device screens simultaneously * **โšก Grid Layout**: Organize screens in customizable grid patterns * **๐Ÿ”„ Synchronized Monitoring**: Coordinated test execution viewing * **๐ŸŽฏ Focus Mode**: Highlight primary device while monitoring others * **๐Ÿ“ฑ Responsive Scaling**: Adaptive screen sizing for optimal viewing .. grid-item-card:: โšก Performance Optimization :class-header: bg-success text-white **Efficient Resource Usage:** * **๐Ÿ’พ Memory Optimization**: Intelligent resource management * **๐ŸŒ Bandwidth Efficiency**: Adaptive streaming quality * **๐Ÿ–ฅ๏ธ GPU Acceleration**: Hardware-accelerated rendering * **โฑ๏ธ Latency Reduction**: Minimized delay across all screens * **๐Ÿ”‹ Power Management**: Optimized for extended monitoring sessions .. tab:: ๐Ÿ› ๏ธ Setup & Configuration **Easy Multi-Device Setup** .. grid:: 1 1 1 1 .. grid-item-card:: ๐Ÿ“‹ Step-by-Step Setup :class-header: bg-info text-white **Quick Configuration Process:** **Step 1: Session Selection** * Select multiple active sessions from the Live View dashboard * Use checkboxes to choose desired devices for monitoring * Verify device compatibility and availability **Step 2: Screen Layout** * Click "Start Multiplexing" to initialize multi-device view * Arrange windows according to your monitoring preferences * Configure screen resolution and quality settings **Step 3: Active Monitoring** * Begin real-time monitoring across all selected devices * Use synchronized controls for coordinated testing * Monitor performance metrics across all devices **Step 4: Session Management** * Control individual devices or all devices simultaneously * Save screenshots and recordings from multiple devices * End sessions individually or as a group .. tab:: ๐ŸŽฏ Use Cases & Benefits **Powerful Testing Scenarios** .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿš€ Testing Scenarios :class-header: bg-warning text-white **Multi-Device Applications:** * **๐Ÿ“ฑ Cross-Device Testing**: Test app behavior across different devices * **๐Ÿ’ฌ Communication Apps**: Monitor chat, call, and messaging features * **๐ŸŽฎ Multiplayer Games**: Test real-time multiplayer interactions * **๐Ÿ”„ Synchronization**: Verify data sync across multiple devices * **๐Ÿ“Š Performance Comparison**: Compare app performance across devices .. grid-item-card:: ๐Ÿ’ก Strategic Benefits :class-header: bg-secondary text-white **Monitoring Advantages:** * **โฐ Time Efficiency**: Monitor multiple tests simultaneously * **๐Ÿ” Comparative Analysis**: Side-by-side behavior comparison * **๐Ÿ‘ฅ Team Collaboration**: Share multi-device views with team * **๐Ÿ“ˆ Comprehensive Coverage**: Test across device ecosystem * **๐ŸŽฏ Centralized Control**: Manage all devices from single interface .. tab:: โš™๏ธ Performance & Optimization **System Requirements & Best Practices** .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿ“Š Performance Considerations :class-header: bg-danger text-white **Resource Requirements:** * **๐ŸŒ Bandwidth Usage**: Multiple screens increase network consumption * **๐Ÿ’ป System Resources**: Monitor CPU and memory usage carefully * **๐Ÿ–ฅ๏ธ Screen Resolution**: Optimize resolution for performance * **๐Ÿ“ก Network Latency**: Consider network conditions for smooth streaming * **๐Ÿ”‹ Battery Impact**: Extended monitoring affects device battery .. grid-item-card:: ๐Ÿ› ๏ธ Optimization Tips :class-header: bg-info text-white **Best Practices:** * **๐Ÿ“ฑ Limit Concurrent Screens**: Start with 2-4 devices maximum * **โšก Adjust Quality**: Reduce streaming quality if performance lags * **๐Ÿ–ฅ๏ธ Monitor Layout**: Use efficient screen arrangements * **โฐ Session Duration**: Limit extended multi-device sessions * **๐Ÿ”„ Rotate Devices**: Periodically refresh device connections Best Practices -------------- Maximize your Live View experience with these proven strategies and recommendations: .. tabs:: .. tab:: ๐ŸŽฏ Session Management **Optimal Session Control** .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿงน Resource Management :class-header: bg-primary text-white **Efficient Resource Usage:** * **โฐ Regular Cleanup**: Release unused sessions every 30 minutes * **๐Ÿท๏ธ Session Naming**: Use descriptive, time-stamped session names * **โฑ๏ธ Time Management**: Monitor session duration and set alerts * **๐Ÿ”„ Rotation Strategy**: Rotate devices to prevent resource exhaustion * **๐Ÿ“Š Usage Tracking**: Monitor device utilization patterns .. grid-item-card:: ๐Ÿ›ก๏ธ Backup & Recovery :class-header: bg-success text-white **Session Continuity:** * **๐Ÿ’พ Progress Saving**: Save test progress at regular intervals * **๐Ÿ”— Resume Planning**: Keep session URLs for easy recovery * **๐ŸŒ Browser Backup**: Test resume capability across browsers * **๐Ÿ‘ฅ Team Handoff**: Document session details for team members * **๐Ÿ“ฑ Device Backup**: Have alternate devices ready if needed .. tab:: ๐Ÿ–ฅ๏ธ Multi-Device Strategy **Effective Multi-Device Monitoring** .. grid:: 2 2 1 1 .. grid-item-card:: ๐ŸŽฏ Device Selection :class-header: bg-info text-white **Strategic Device Choice:** * **๐Ÿ‘ฅ Target Representation**: Choose devices matching your user base * **๐Ÿ“Š Coverage Strategy**: Test across different screen sizes and OS versions * **โšก Performance Tiers**: Include high, medium, and low-performance devices * **๐ŸŒ Geographic Distribution**: Consider devices from different regions * **๐Ÿ”„ Update Cycles**: Test on devices with different OS update schedules .. grid-item-card:: ๐Ÿ–ผ๏ธ Screen Organization :class-header: bg-warning text-white **Optimal Layout Management:** * **๐Ÿ“ Grid Arrangement**: Organize screens in logical grid patterns * **๐ŸŽฏ Priority Focus**: Place critical devices in primary viewing area * **๐Ÿ“ฑ Screen Sizing**: Optimize individual screen sizes for visibility * **โšก Quick Access**: Keep session controls easily accessible * **๐Ÿ‘€ Eye Movement**: Minimize eye strain with efficient layouts .. tab:: ๐Ÿ”ง Troubleshooting **Common Issues & Solutions** .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿ”— Connection Issues :class-header: bg-danger text-white **Network & Connectivity:** * **๐ŸŒ Network Check**: Verify stable internet connection * **๐Ÿ”„ Browser Refresh**: Refresh browser if screens don't load * **๐Ÿš€ Browser Update**: Use latest browser versions * **๐Ÿ”ง Cache Clear**: Clear browser cache for persistent issues * **๐Ÿ“ก Bandwidth Test**: Ensure sufficient bandwidth for multiple streams .. grid-item-card:: โšก Performance Issues :class-header: bg-secondary text-white **System Optimization:** * **๐Ÿ“ฑ Screen Reduction**: Reduce concurrent screens if performance lags * **๐Ÿ–ฅ๏ธ Resolution Adjustment**: Lower screen resolution for better performance * **๐Ÿ’ป Resource Monitoring**: Monitor CPU and memory usage * **๐Ÿ”„ Device Rotation**: Rotate devices to prevent overload * **โฐ Session Limits**: Set time limits for extended sessions .. tab:: ๐Ÿ’ก Advanced Tips **Expert-Level Optimization** .. grid:: 2 2 1 1 .. grid-item-card:: ๐Ÿš€ Performance Maximization :class-header: bg-success text-white **Advanced Techniques:** * **๐ŸŽฏ Focused Monitoring**: Use Live View for critical test phases only * **๐Ÿ“Š Metrics Integration**: Combine Live View with performance monitoring * **๐Ÿ”„ Automated Alerts**: Set up alerts for session issues * **๐Ÿ‘ฅ Team Protocols**: Establish team protocols for Live View usage * **๐Ÿ“ˆ Usage Analytics**: Track Live View usage patterns for optimization .. grid-item-card:: ๐Ÿ› ๏ธ Integration Strategies :class-header: bg-info text-white **Workflow Integration:** * **๐Ÿ”— CI/CD Integration**: Integrate Live View with automated workflows * **๐Ÿ“‹ Test Management**: Link Live View sessions with test case management * **๐Ÿ“Š Reporting Integration**: Include Live View data in test reports * **๐Ÿ‘ฅ Collaboration Tools**: Integrate with team communication platforms * **๐ŸŽฅ Recording Strategy**: Develop systematic recording practices .. admonition:: ๐Ÿ’ก Pro Tip :class: tip **Efficient Monitoring Strategy**: Use Live View strategically during critical test phases rather than continuous monitoring to optimize resource usage and maintain system performance. .. admonition:: ๐ŸŽฏ Quick Start Guide :class: note **For Multi-Device Monitoring:** 1. **โœ… Select Sessions**: Enable checkboxes for desired live session entries (minimum 2 required) 2. **๐Ÿš€ Start Multiplexing**: Click the 'Start Multiplexing' button 3. **๐Ÿ‘€ Monitor Devices**: View and control selected devices in multi-device mode 4. **๐ŸŽ›๏ธ Manage Sessions**: Use individual or coordinated controls as needed .. seealso:: **Related Documentation:** * :doc:`manualtesting` - Manual testing session management and workflows * :doc:`robustesthub` - Hub-based testing and advanced monitoring capabilities * :doc:`healthpage` - Device and infrastructure health monitoring * :doc:`performancetesting` - Performance monitoring and optimization * :doc:`multidevicetesting` - Multi-device testing strategies and best practices