hieuwu/android-groceries-store

Bug Report: IOException with Monkey Runner Execution

Opened this issue · 1 comments

Describe the bug

When running Monkey Runner with event 600 and seed 5000, an IOException is encountered with the following message: "flipjava.io.FileNotFound Exception: /dev/input/event0: open failed: Eacces (permission denied)."

To Reproduce

Steps to reproduce the behavior:

Run Monkey Runner.
Set the event to 600 and the seed to 5000.
Execute the Monkey Runner script.
Encounter the IOException with the mentioned error message.
Expected behavior

The Monkey Runner script should execute without encountering permission denied errors related to opening files.

Screenshots

N/A

Desktop (please complete the following information):

N/A

Smartphone (please complete the following information):

N/A

Additional context

This issue suggests a permissions problem, particularly related to accessing the file /dev/input/event0. This file might require specific permissions that are not granted to the process running Monkey Runner, leading to the permission denied error. Ensuring that the necessary permissions are granted to access this file should resolve the issue.

Could you please elaborate the purpose of using Monkey Runner? Which aspect are you testing? The app does not access any file