Painless Mobile Test Automation with Maestro?

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 53

  • @SaddamOdaibat
    @SaddamOdaibat 2 года назад +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  2 года назад +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 6 месяцев назад +1

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

    • @DanielKnott
      @DanielKnott  6 месяцев назад

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

  • @devanshnigam5172
    @devanshnigam5172 3 месяца назад +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  3 месяца назад

      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

  • @manikumar-ix7sr
    @manikumar-ix7sr 2 года назад +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  2 года назад +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 Год назад +3

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

    • @DanielKnott
      @DanielKnott  Год назад

      @@UnluckyTN Is it working now?

    • @K.Beatrice
      @K.Beatrice Год назад +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  Год назад

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

  • @ElinaBaker-nl9cb
    @ElinaBaker-nl9cb 5 месяцев назад +1

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

    • @DanielKnott
      @DanielKnott  5 месяцев назад +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 5 месяцев назад +1

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

    • @DanielKnott
      @DanielKnott  5 месяцев назад +1

      Let me know if you face any problems

    • @YalYanto
      @YalYanto 4 месяца назад +1

      @@DanielKnott Does maestro support for flutter apps ?

    • @DanielKnott
      @DanielKnott  4 месяца назад

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

  • @AnsonDSouza-j4c
    @AnsonDSouza-j4c 10 месяцев назад +1

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

    • @DanielKnott
      @DanielKnott  10 месяцев назад

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

  • @SonAyoD
    @SonAyoD Год назад

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

    • @DanielKnott
      @DanielKnott  Год назад

      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 Год назад +1

    You can make a installation tutorial on Windows ?

    • @DanielKnott
      @DanielKnott  Год назад

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

    • @JUANUNIX1982
      @JUANUNIX1982 Год назад

      @@DanielKnott complicated installation

    • @DanielKnott
      @DanielKnott  Год назад

      @@JUANUNIX1982 what is the complicated part?

  • @danielterceros9434
    @danielterceros9434 Год назад

    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  Год назад

      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.

  • @IyanSR
    @IyanSR Год назад

    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  Год назад

      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 Год назад

      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  Год назад

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

    • @turmericsun
      @turmericsun Год назад

      ​@@DanielKnottthank you sooo much for the answer 💖

  • @keerthih2898
    @keerthih2898 Год назад

    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  Год назад

      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 Год назад

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

    • @DanielKnott
      @DanielKnott  Год назад +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 Год назад

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

    • @DanielKnott
      @DanielKnott  Год назад +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 Год назад

      Yes. Thanks Daniel!

  • @dineshsandaruwan3514
    @dineshsandaruwan3514 Год назад

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

    • @DanielKnott
      @DanielKnott  Год назад

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

    • @dineshsandaruwan3514
      @dineshsandaruwan3514 Год назад

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

    • @DanielKnott
      @DanielKnott  Год назад

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