Painless Mobile Test Automation with Maestro?

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 พ.ย. 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.

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

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

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

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

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

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

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