dtmilano / AndroidViewClient

Android ViewServer and ADB client
Apache License 2.0
1.62k stars 345 forks source link

How to deal with file dialog #298

Closed ghost closed 2 years ago

ghost commented 2 years ago

Rn im dealing with the problem of completing a file dialoge via AndroidViewClient. I am using Bluestack and when trying to import files from the windows pc to the emulator you need to choose the files you want to import. Is there any way to process the file dialog with AndroidViewClient?

I thought it would be possible with something similar to seleniums option where you send_keys(file_path) to the input. But I have not found any option to send entire text via AndroidViewClient?

dtmilano commented 2 years ago

If I understand correctly the dialog is a Windows dialog so you may need to find a tool to do that kind of automation. Similar to what AndroidViewClient/culebra does on the android side.

Perhaps you can post some screenshots and additional details if this is not the case.