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

Поделиться
HTML-код
  • Опубликовано: 10 сен 2024
  • In this video, I will explain how to generate code automatically in Playwright using codegen.
    Playwright Series
    • Playwright Tutorials F...
    JavaScript Series
    • How To Download And In...
    Create your testRigor account now- testrigor.com/...
    All Playlist
    / mukeshotwani
    If you want to support this channel
    rzp.io/l/qNCAp...
    All Playlist
    / mukeshotwani
    Connect with us:
    Email - mukeshotwani@learn-automation.com
    Linkedin- / mukesh-otwani-93631b99
    Instagram- / mukeshotwaniofficial
    Facebook Group- / 256655817858291
    Facebook Page- / seleniumwebdrivermukesh
    Blog- learn-automatio...

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

  • @akhileshskl
    @akhileshskl Год назад +1

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

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

      Yes I agree on this point 😊🙏🏼

  • @IraKuim04
    @IraKuim04 2 месяца назад +1

    Thank you for detailed explanation. Its helpful.

  • @squideze
    @squideze Месяц назад +1

    your audio is really quiet through the right channel

    • @Mukeshotwani
      @Mukeshotwani  12 дней назад

      Audio is fine, please check once from ur side.

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

    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

  • @Leader977
    @Leader977 8 месяцев назад +1

    Was helpful. Thank you!

  • @artura3553
    @artura3553 7 месяцев назад +1

    Very nice, thank you

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

      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 4 месяца назад

    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?

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

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

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

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

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

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

      I'd like to know as well.

    • @gaby232323
      @gaby232323 Месяц назад

      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.

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

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

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

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

    • @sindhurabc6857
      @sindhurabc6857 8 месяцев назад

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

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

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

    Pls do a video for botium automation.

  • @MsLisa003
    @MsLisa003 9 месяцев назад

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

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

    Will it work with visual studio 2022

  • @karthiknayaka8611
    @karthiknayaka8611 Год назад +1

    I prefer to watch your videos in 1.25x😅

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

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

    where are the commands ?

  • @poojadovari9416
    @poojadovari9416 10 месяцев назад +1

    I am getting fail in final

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

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