#8 - How To Record And Play Scripts In Playwright | Playwright Test Generator| Codegen Playwright

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ม.ค. 2025

ความคิดเห็น • 43

  • @akhileshskl
    @akhileshskl 2 ปีที่แล้ว +1

    Nice explanation 👏, This record and playback mechanism will make playwright different from other JS based automation tool.

    • @Mukeshotwani
      @Mukeshotwani  2 ปีที่แล้ว

      Yes I agree on this point 😊🙏🏼

  • @abhaypareek8256
    @abhaypareek8256 2 ปีที่แล้ว

    Hi Mukesh,
    Hope you're doing well, This is Abhay Pareek from the Digital Orix team I have been watching your content for the past few months, and literally, you are doing a great job. it is informative and the quality of the content is exactly to the point.
    Mukesh, on behalf of our team and our client Tech Grid we would also like to add our contribution to your channel by providing you with the service that they provide so that you can go ahead and test that and give a full review on your channel.
    It would be our pleasure to work with you.
    Thank you
    Abhay Pareek
    (Content Department)
    Team Digital Orix

  • @IraKuim04
    @IraKuim04 6 หลายเดือนก่อน +1

    Thank you for detailed explanation. Its helpful.

    • @Mukeshotwani
      @Mukeshotwani  6 หลายเดือนก่อน

      You are welcome! Ira

  • @Leader977
    @Leader977 ปีที่แล้ว +1

    Was helpful. Thank you!

    • @Mukeshotwani
      @Mukeshotwani  11 หลายเดือนก่อน

      Glad it was helpful!

  • @RobG95
    @RobG95 ปีที่แล้ว

    If i wanted to test the functionality of an app or website, do i need to always sign into (login) the website or app?

  • @MayankNigam-yq4hy
    @MayankNigam-yq4hy 8 หลายเดือนก่อน +1

    I guess in the latest version they have removed the functionality to automatically add the assertion because when I have tried it parallel while you were doing it in video the assertions which got added for you automatically doesn't get added for me and it is not verifying the title URL in both cases login and logout.

    • @Mukeshotwani
      @Mukeshotwani  8 หลายเดือนก่อน

      No idea will check with latest version. Mayank I would suggest dont rely on record and playback tools for dynamic application

  • @NehaChaudhary-cw1zh
    @NehaChaudhary-cw1zh 7 หลายเดือนก่อน

    Is it possible to replace getByRole default locator with something of developer's choice? For example, the other locator getByTestId() instead of getByRole() and how to do that?

  • @rajeshnaidu2527
    @rajeshnaidu2527 8 หลายเดือนก่อน

    @mukesh
    can I record on non-incognition chrome or can I record which ever page I want to not starting from login page

  • @ravi14feb
    @ravi14feb ปีที่แล้ว

    Great Stuff, amazing content. I have a quick question about the Codegen record popup, I am unable to see JavaScript in the target dropdown, using Playwright version 1.29.1. any lead will be highly appreciated

  • @claytonblakey2722
    @claytonblakey2722 7 หลายเดือนก่อน +1

    I know chromium is the browser of choice for Playwright (for God knows why). Is there some way to set this up either in Chrome or Chromium to use a proxy for lower environments? This feature only seems to support Prod.

    • @Mukeshotwani
      @Mukeshotwani  7 หลายเดือนก่อน

      Yes you can, please use below in config file
      {
      name: 'Google Chrome',
      use: { ...devices['Desktop Chrome'], channel: 'chrome' }, // or 'chrome-beta'
      }

  • @squideze
    @squideze 5 หลายเดือนก่อน +1

    your audio is really quiet through the right channel

    • @Mukeshotwani
      @Mukeshotwani  4 หลายเดือนก่อน

      Audio is fine, please check once from ur side.

  • @tharakeshs6152
    @tharakeshs6152 10 หลายเดือนก่อน

    Hi Bro, I am working as a manual tester, wants to learn automation. But don't have coding knowledge. This playback testing in playwright gives me hope for learning automation. I have some doubts on this Playback method.
    Is there any major challenge in playback testing compared to writing codes for testing? what is the difference between writing code and playback testing? Can we use this playback for all UI web automation?

    • @claytonblakey2722
      @claytonblakey2722 7 หลายเดือนก่อน

      I'd like to know as well.

    • @gaby232323
      @gaby232323 5 หลายเดือนก่อน

      You can use if the application in question is very static, you could use the same scripts / playbacks.
      However for dynamic applications that move around / have randomization and so on... you will need CODE in a language thats for sure.

  • @sindhurabc6857
    @sindhurabc6857 ปีที่แล้ว +1

    Hi Mukesh,
    I tried the record and play today but i am not getting the expect line of code added by default.

    • @Mukeshotwani
      @Mukeshotwani  ปีที่แล้ว

      Hi Sindhu, I wont recommend record and play for dynamic application.

    • @sindhurabc6857
      @sindhurabc6857 ปีที่แล้ว

      @@Mukeshotwani yes. I continued watching your next series. And I am able to follow up coding easily. Thanks

  • @raghavendraandewadikar6905
    @raghavendraandewadikar6905 8 หลายเดือนก่อน +1

    Will it work with visual studio 2022

  • @artura3553
    @artura3553 11 หลายเดือนก่อน +1

    Very nice, thank you

    • @Mukeshotwani
      @Mukeshotwani  11 หลายเดือนก่อน

      Our pleasure!

  • @MsLisa003
    @MsLisa003 ปีที่แล้ว

    Javascript code option is not available in dropdown for code generation can you please provide command to generate java script code

  • @ygb861
    @ygb861 หลายเดือนก่อน +1

    i don't get the assert statement when i click to login in the latest version

    • @Mukeshotwani
      @Mukeshotwani  หลายเดือนก่อน

      Hi Yosra, can you again with different applications too ?

    • @ygb861
      @ygb861 หลายเดือนก่อน +1

      Sorry i don’t understand, what do you mean?

    • @Mukeshotwani
      @Mukeshotwani  หลายเดือนก่อน

      @@ygb861 I mean try with different URL opensource-demo.orangehrmlive.com/web/index.php/auth/login

  • @maoskitchen
    @maoskitchen ปีที่แล้ว +1

    Hey Mukesh....I have a project for you.
    Can we discuss about it?

    • @Mukeshotwani
      @Mukeshotwani  ปีที่แล้ว

      Sure please share the project details to this email will connect accordingly
      mukeshotwani@learn-automation.com

    • @maoskitchen
      @maoskitchen ปีที่แล้ว +1

      I have sent you a mail...please check it

    • @Mukeshotwani
      @Mukeshotwani  ปีที่แล้ว

      @@maoskitchen sure will do that thank you

  • @karthiknayaka8611
    @karthiknayaka8611 ปีที่แล้ว +1

    I prefer to watch your videos in 1.25x😅

  • @aishusri33
    @aishusri33 8 หลายเดือนก่อน +1

    Pls do a video for botium automation.

    • @Mukeshotwani
      @Mukeshotwani  8 หลายเดือนก่อน

      Done will try

  • @sagarsjdjfn
    @sagarsjdjfn ปีที่แล้ว

    where are the commands ?

  • @poojadovari9416
    @poojadovari9416 ปีที่แล้ว +1

    I am getting fail in final

    • @Mukeshotwani
      @Mukeshotwani  ปีที่แล้ว

      Hi Pooja can u please explain in detail like what is failing ?