Hi Saddam, sorry for my late reply. Pretty busy these days. In the documentation of the tool I found the following regarding parameters, hope this is helpful maestro.mobile.dev/advanced/parameters-and-constants. Best, Daniel
This is super easy to do. For example on Android, download Android studio, install the emulators from the IDE. Then start the emulator and you can use it within maestro. Just follow the instructions here developer.android.com/studio
Been struggling with making sure the order of execution of flows is predictable and as written in the config file, but not sure where to place this config file, if we go by the docs it says to place at the root where maestro is installed from brew but what if I want to have multiple projects using maestro? Will that not raise a conflict?
Good question. So far I used it only for one Projekt. But I think you can provide the complete OS path to the flow file when executing it. Maybe this is a way to handle it
Hi Can you make a playlist step by step like from how to install in mac and window then goes to advance level like parallel run, cicd implementation . If you can make e2e framework , will be helpful
Hi @mani kumar, the installation of maestro is really simple, just follow the instructions here: maestro.mobile.dev/getting-started/installing-maestro. Regarding the other topics in your comment, I need some time to prepare for it, but I put it on my long video list :). Have a great day!
@@DanielKnott I have been stuck with the Windows installation for a while now and it's proven hellish. Would really appreciate it if you can go through the Windows installation.
nice video. Question. do you know how can i include test data preparation so that when i start the App, it's in a expected state? (e.g. create 10 users as prerequisite to validate sorting)
Hi @Daniel Terceros, as far as I know this is not possible with maestro itself. I think you have to invest some time in generating the test data with a script and pepare the data on the database level.
Hi Son, you can test any app with maestro, also apps that you are downloading from the app stores. But of course your need to have a compiled app running on a simulator/ emulator or real device.
Hi Keerthi, I think the only way at the moment to save the results in a file is to pipe it there. Here is an example maestro test ios-flow.yaml > TestResultFile.txt You can find all swipe commands here: maestro.mobile.dev/reference/scroll-and-swipe I hope this was helpful. Have a great day!
Hi Nenad, I haven't tried it yet. Not sure if you can define a second appID in your test file. Maybe a question for the mobile devs on their slack channel. API requests are not in focus of maestro. It's main focus is on the UI layer.
hello! @@DanielKnott thank you for your video! can you tell me please what kind of emulator did you used bc I try to work with android studio one, but your emulator looks much simple and light as included in-app one
@@dineshsandaruwan3514 is the device shown in the console if you enter "adb devices" what is the output if you type "maestro test"? Maestro is checking the connected devices via USB. Maybe this error is helpful
hey thanks for covering up this tool , i have one question can we create and use function , for example passing future date and store values
Hi Saddam, sorry for my late reply. Pretty busy these days. In the documentation of the tool I found the following regarding parameters, hope this is helpful maestro.mobile.dev/advanced/parameters-and-constants.
Best,
Daniel
Hello,
What editor do you use to write the YAML file? Thanks for making this video!
I am using visual studio code. Glad you like the video.
Hi Daniel, thank you for the video! Do you have a tutorial on how to connect an emulator, please?
This is super easy to do. For example on Android, download Android studio, install the emulators from the IDE. Then start the emulator and you can use it within maestro. Just follow the instructions here
developer.android.com/studio
@@DanielKnott Will give it a go, thank you so much!
Let me know if you face any problems
@@DanielKnott Does maestro support for flutter apps ?
@@YalYanto yes it does. find all the information here: maestro.mobile.dev/platform-support/flutter
i need to integrate with a build tool and build a framework around it . Can you help me with the same.
Hi, thanks for your comment. Can you be a bit more specific? Have you checked the CI integration docs ? cloud.mobile.dev/
Been struggling with making sure the order of execution of flows is predictable and as written in the config file, but not sure where to place this config file, if we go by the docs it says to place at the root where maestro is installed from brew but what if I want to have multiple projects using maestro? Will that not raise a conflict?
Good question. So far I used it only for one Projekt. But I think you can provide the complete OS path to the flow file when executing it. Maybe this is a way to handle it
Hi
Can you make a playlist step by step like from how to install in mac and window then goes to advance level like parallel run, cicd implementation .
If you can make e2e framework , will be helpful
Hi @mani kumar,
the installation of maestro is really simple, just follow the instructions here: maestro.mobile.dev/getting-started/installing-maestro. Regarding the other topics in your comment, I need some time to prepare for it, but I put it on my long video list :).
Have a great day!
@@DanielKnott trust me Windows installation is not that simple and the documentation is missing a lot of steps/details at best ...
@@UnluckyTN Is it working now?
@@DanielKnott I have been stuck with the Windows installation for a while now and it's proven hellish. Would really appreciate it if you can go through the Windows installation.
@@K.Beatrice Did you get in contact with the maestro team? They are listening to the community.
You can make a installation tutorial on Windows ?
Have you tried maestro.mobile.dev/getting-started/installing-maestro/windows ?
@@DanielKnott complicated installation
@@JUANUNIX1982 what is the complicated part?
nice video. Question. do you know how can i include test data preparation so that when i start the App, it's in a expected state? (e.g. create 10 users as prerequisite to validate sorting)
Hi @Daniel Terceros, as far as I know this is not possible with maestro itself. I think you have to invest some time in generating the test data with a script and pepare the data on the database level.
So we have to have a built app before we can test? We can’t use this while developing?
Hi Son, you can test any app with maestro, also apps that you are downloading from the app stores. But of course your need to have a compiled app running on a simulator/ emulator or real device.
Hi
How can I store these results in one file? Can you please help me out with that Also what is the command for swiping in the current list?
Hi Keerthi,
I think the only way at the moment to save the results in a file is to pipe it there. Here is an example
maestro test ios-flow.yaml > TestResultFile.txt
You can find all swipe commands here:
maestro.mobile.dev/reference/scroll-and-swipe
I hope this was helpful. Have a great day!
Is it possible to integrate mail in it and also to do some api request, or just UI?
Hi Nenad, I haven't tried it yet. Not sure if you can define a second appID in your test file. Maybe a question for the mobile devs on their slack channel. API requests are not in focus of maestro. It's main focus is on the UI layer.
I'm using VSC in Windows. How this code run in there? Are you using any other tool to run the command?
hi, i am running the maestro inside a console. in VSC you also have a console where you can execute the command. Have you tried this?
Yes. Thanks Daniel!
Hi, Do you use mac with M1? If yes, how can you have the android emulator skin? I enable the emulator skin but it didn't show
Hi, when I recorded the video I was using an Intel based mac. Now I switched to an M2, but haven't tried maestro since then. Need to check.
hello!
@@DanielKnott thank you for your video!
can you tell me please what kind of emulator did you used
bc I try to work with android studio one, but your emulator looks much simple and light as included in-app one
Hi@@Pochithedog , I am using the latest Android Studio version with the default Pixel emulator in the video.
@@DanielKnottthank you sooo much for the answer 💖
Hi, how can I connect a physical Android device to Maestro?
Hi Dinesh,
did you enable USB debugging on the device? Is adb installed on your system?
Hi, Yes. USB debugging has been enabled on the device and adb has already installed on the system
@@dineshsandaruwan3514 is the device shown in the console if you enter "adb devices" what is the output if you type "maestro test"? Maestro is checking the connected devices via USB. Maybe this error is helpful