How to test "upload file" feature? #916
-
Discussed in #629Originally posted by VinodKumbar November 22, 2022 I want to automate the below actions
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Hi @VinodKumbar 👋 Thanks for using Patrol! It would be helpful if you shared the screenshots of the upload functionality that you want to test. Then I'll be able to help you :) Regarding your question: please take a look at the Inspecting native view hierarchy section in our documentation. |
Beta Was this translation helpful? Give feedback.
-
You might want to see #514 for an example test involving file picker. |
Beta Was this translation helpful? Give feedback.
-
Hi @bartekpacia I want to achieve the same test of uploading an image from gallery, can you help me out.
await $(t.upload_image).tap();
await $.native.tap(Selector(text: 'Pictures'));
Can you tell me how I can select one image from the screen below? |
Beta Was this translation helpful? Give feedback.
Hi @VinodKumbar 👋 Thanks for using Patrol!
It would be helpful if you shared the screenshots of the upload functionality that you want to test. Then I'll be able to help you :)
Regarding your question: please take a look at the Inspecting native view hierarchy section in our documentation.