New Robot Framework Library: robotframework-filewatcher

Hi everyone :waving_hand:

I recently built and released robotframework-filewatcher, a Robot Framework library for event-driven filesystem testing powered by Python’s watchdog.

The goal was to eliminate polling loops and arbitrary sleeps when dealing with files generated by applications.

Some features:

• Wait For File Created / Modified / Deleted
• Wait Until File Stable
• Find Files Matching Pattern
• Get Latest File
• Event history with sequential event IDs
• Thread-safe EventStore with multiple concurrent waiters
• Cross-platform support (Windows, Linux, macOS)

Example:

Start Watching Directory    ${DOWNLOADS}

Click Export

${event}=    Wait For File Created    report.xlsx

Log    ${event}[src_path]

No polling. No Sleep 1s loops. Just wait for filesystem events.

I’d appreciate any feedback, feature requests, or suggestions from the community.

GitHub: GitHub - deekshith-poojary98/robotframework-filewatcher: Robot Framework library for file system monitoring · GitHub
PyPI: Client Challenge

I don’t currently have a need for this, but thank you for sharing this :folded_hands: I can see this being very useful :+1: