Painless Mobile Test Automation with Maestro?

Sdílet
Vložit
  • čas přidán 12. 09. 2024
  • In this video I am talking about a mobile test automation tool. The tool is called maestro. It's statement is painless mobile test automation. Maestro comes with a simple syntax, easy setup and fast results. Take a look at the video, where I am explaining the tool and show you how to write a simple mobile test in seconds.
    🔗 maestro.mobile...
    📚 My Book
    👉 leanpub.com/Mo...
    👉 www.amazon.com...
    #SoftwareTesting #MobileTesting #mobile

Komentáře • 53

  • @devanshnigam5172
    @devanshnigam5172 Před 23 dny +1

    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?

    • @DanielKnott
      @DanielKnott  Před 23 dny

      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

  • @SaddamOdaibat
    @SaddamOdaibat Před rokem +2

    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

    • @DanielKnott
      @DanielKnott  Před rokem +1

      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

  • @kyvo2557
    @kyvo2557 Před 4 měsíci +1

    Hello,
    What editor do you use to write the YAML file? Thanks for making this video!

    • @DanielKnott
      @DanielKnott  Před 4 měsíci

      I am using visual studio code. Glad you like the video.

  • @manikumar-ix7sr
    @manikumar-ix7sr Před rokem +3

    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

    • @DanielKnott
      @DanielKnott  Před rokem +1

      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!

    • @UnluckyTN
      @UnluckyTN Před rokem +3

      @@DanielKnott trust me Windows installation is not that simple and the documentation is missing a lot of steps/details at best ...

    • @DanielKnott
      @DanielKnott  Před rokem

      @@UnluckyTN Is it working now?

    • @K.Beatrice
      @K.Beatrice Před rokem +1

      @@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.

    • @DanielKnott
      @DanielKnott  Před rokem

      @@K.Beatrice Did you get in contact with the maestro team? They are listening to the community.

  • @ElinaBaker-nl9cb
    @ElinaBaker-nl9cb Před 3 měsíci +1

    Hi Daniel, thank you for the video! Do you have a tutorial on how to connect an emulator, please?

    • @DanielKnott
      @DanielKnott  Před 3 měsíci +1

      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

    • @ElinaBaker-nl9cb
      @ElinaBaker-nl9cb Před 3 měsíci +1

      @@DanielKnott Will give it a go, thank you so much!

    • @DanielKnott
      @DanielKnott  Před 3 měsíci +1

      Let me know if you face any problems

    • @user-cz5yj5mp4b
      @user-cz5yj5mp4b Před měsícem +1

      @@DanielKnott Does maestro support for flutter apps ?

    • @DanielKnott
      @DanielKnott  Před měsícem

      @@user-cz5yj5mp4b yes it does. find all the information here: maestro.mobile.dev/platform-support/flutter

  • @user-vp2up2lp6w
    @user-vp2up2lp6w Před 8 měsíci +1

    i need to integrate with a build tool and build a framework around it . Can you help me with the same.

    • @DanielKnott
      @DanielKnott  Před 8 měsíci

      Hi, thanks for your comment. Can you be a bit more specific? Have you checked the CI integration docs ? cloud.mobile.dev/

  • @danielterceros9434
    @danielterceros9434 Před rokem

    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)

    • @DanielKnott
      @DanielKnott  Před rokem

      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.

  • @SonAyoD
    @SonAyoD Před rokem

    So we have to have a built app before we can test? We can’t use this while developing?

    • @DanielKnott
      @DanielKnott  Před rokem

      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.

  • @JUANUNIX1982
    @JUANUNIX1982 Před rokem +1

    You can make a installation tutorial on Windows ?

    • @DanielKnott
      @DanielKnott  Před rokem

      Have you tried maestro.mobile.dev/getting-started/installing-maestro/windows ?

    • @JUANUNIX1982
      @JUANUNIX1982 Před rokem

      @@DanielKnott complicated installation

    • @DanielKnott
      @DanielKnott  Před rokem

      @@JUANUNIX1982 what is the complicated part?

  • @keerthih2898
    @keerthih2898 Před rokem

    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?

    • @DanielKnott
      @DanielKnott  Před rokem

      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!

  • @shoict88
    @shoict88 Před rokem

    Is it possible to integrate mail in it and also to do some api request, or just UI?

    • @DanielKnott
      @DanielKnott  Před rokem +1

      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.

  • @dineshsandaruwan3514
    @dineshsandaruwan3514 Před rokem

    I'm using VSC in Windows. How this code run in there? Are you using any other tool to run the command?

    • @DanielKnott
      @DanielKnott  Před rokem +1

      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?

    • @dineshsandaruwan3514
      @dineshsandaruwan3514 Před rokem

      Yes. Thanks Daniel!

  • @IyanSR
    @IyanSR Před rokem

    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

    • @DanielKnott
      @DanielKnott  Před rokem

      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.

    • @Pochithedog
      @Pochithedog Před 10 měsíci

      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

    • @DanielKnott
      @DanielKnott  Před 10 měsíci

      Hi@@Pochithedog , I am using the latest Android Studio version with the default Pixel emulator in the video.

    • @turmericsun
      @turmericsun Před 10 měsíci

      ​@@DanielKnottthank you sooo much for the answer 💖

  • @dineshsandaruwan3514
    @dineshsandaruwan3514 Před rokem

    Hi, how can I connect a physical Android device to Maestro?

    • @DanielKnott
      @DanielKnott  Před rokem

      Hi Dinesh,
      did you enable USB debugging on the device? Is adb installed on your system?

    • @dineshsandaruwan3514
      @dineshsandaruwan3514 Před rokem

      Hi, Yes. USB debugging has been enabled on the device and adb has already installed on the system

    • @DanielKnott
      @DanielKnott  Před rokem

      @@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