snapexcel
v1.2.5
Published
Desktop Screenshot Logger for UI Testing - Capture any window including Android emulators
Downloads
406
Readme
Desktop Screenshot Logger 🖥️
A desktop application for capturing screenshots from any window, including Android emulators. Perfect for UI testing workflows where you need to capture screens from applications outside the browser.
Features
- 📷 Capture Any Window - Capture screenshots from any application, including Android emulators
- 🖥️ Full Screen Capture - Capture the entire screen with one click
- ✂️ Region Capture - Select and capture a specific area of the screen
- 📑 Multiple Sheets - Organize screenshots into separate sheets (like Excel tabs)
- 📝 Add Notes - Document observations for each screenshot
- 📊 Excel Export - Export to .xlsx with embedded images
- 🌐 HTML Export - Generate beautiful HTML reports
- 📌 Always on Top - Keep the app visible while testing
- ⌨️ Keyboard Shortcuts - Quick capture with
Cmd/Ctrl + Shift + S, Region withCmd/Ctrl + Shift + R - 🎨 Dark Blue Corporate Theme - Matches the Chrome extension design
Installation
Prerequisites
- Node.js (v16 or higher)
- npm (v8 or higher)
Setup
Navigate to the project folder:
cd /path/to/DesktopScreenshotToolInstall dependencies:
npm installRun the application:
npm start
Building for Distribution
To create a standalone executable:
# For macOS
npm run build:mac
# For Windows
npm run build:win
# For Linux
npm run build:linuxThe built application will be in the dist folder.
Usage
Starting a Session
- Launch the application
- Enter an Excel File Name (e.g.,
Android_Test_Report) - Enter a First Sheet Name (e.g.,
Login_Flow) - Click 🚀 Start Session
Capturing Screenshots
Select Capture Source:
- Screen - Captures the entire screen
- Window - Select a specific window (like Android Emulator)
Capture:
- Click the 📷 Capture Screenshot button
- Or use the keyboard shortcut:
Cmd/Ctrl + Shift + S
Add Notes:
- Click 📝 Note to add observations to the last screenshot
Managing Sheets
- Click the ➕ button next to the sheet dropdown to create new sheets
- Switch between sheets using the dropdown
- Each sheet maintains its own set of screenshots
Exporting Reports
Select the export format:
- Excel (.xlsx) - For team sharing and archiving
- HTML Report - For quick viewing in browser
Click ⬇️ Download
Choose the save location
Minimal View
- Click ➖ in the header to switch to minimal view
- Perfect for quick captures while testing
- Click Expand to return to full view
Always on Top
- Click the 📌 button to toggle "always on top" mode
- Keeps the app visible while you work in other applications
Keyboard Shortcuts
| Shortcut | Action |
|----------|--------|
| Cmd/Ctrl + Shift + S | Capture full screen/window |
| Cmd/Ctrl + Shift + R | Region capture (select area) |
Use Cases
Android Emulator Testing
- Start Android Studio and launch the emulator
- Open Desktop Screenshot Logger
- Select "Window" as capture source
- Choose the Android Emulator from the dropdown
- Capture screenshots as you test
Desktop Application Testing
- Open the application you want to test
- Use "Screen" capture for full context
- Or use "Window" capture for specific apps
Project Structure
DesktopScreenshotTool/
├── package.json
├── README.md
├── assets/
│ └── icon.png
└── src/
├── main.js # Electron main process
├── index.html # UI structure
├── styles.css # Styling (dark blue theme)
├── renderer.js # UI logic & state management
└── jszip.min.js # Excel export libraryComparison with Chrome Extension
| Feature | Chrome Extension | Desktop App | |---------|-----------------|-------------| | Web page capture | ✅ | ✅ | | Android emulator capture | ❌ | ✅ | | Any window capture | ❌ | ✅ | | Multiple sheets | ✅ | ✅ | | Notes | ✅ | ✅ | | Excel export | ✅ | ✅ | | HTML export | ✅ | ✅ | | Always on top | ❌ | ✅ | | Global shortcuts | ❌ | ✅ |
Troubleshooting
"Screen recording permission required" (macOS)
- Go to System Preferences → Security & Privacy → Privacy
- Select "Screen Recording" from the left panel
- Add the Desktop Screenshot Logger app
Window capture not working
- Ensure the target window is visible (not minimized)
- Click the 🔄 button to refresh the window list
- Try using "Screen" capture as an alternative
Screenshots are blank
- On macOS, grant screen recording permission
- On Windows, run as administrator if needed
License
MIT License - Walmart UI Testing Team
Version: 1.0.0 Theme: Dark Blue Corporate Companion to: Chrome Extension Screenshot Logger
