Playwright with Javascript | How to Handle Dialogs Or Alerts | alert(),confirm(), prompt() | Part 16

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ต.ค. 2024

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

  • @SineQuaNon1
    @SineQuaNon1 ปีที่แล้ว +3

    Thanks. What you are doing for free is so precious. I appreciate and respect it.

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

      You are so welcome

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

    Hii sir,
    i have completed my testing training recently and now prepare for interviews. I have followed your videos from day one of my training and i say thanks to you because of your video i understand the testing easily. And i started watching your mock interview videos and i very impressed with your way of taking interview. And i have some nervous about interview because i have a stage fear .
    So sir i request you to please take my Mock interview so that i loose my this fear and give real time interview freely.

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

    You doing very useful thing,no words to say anything thank you so much 🙏🙏

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

      Welcome

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

    From seeing 15 videos you are so nice in explaining, there is no point to leave without understanding.
    Please make the cucumber with this playlist

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

    Nice one sir ! Thank you for sharing !

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

    Hope you can read more about playwright it's a great automation test tool. I love this series. I hope you create Playwright series full in Udemy

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

    after getting new build which testing we perform first, and which second and which third and like wise, please tell us..

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

    Sir is this your complete series on playwrite with js or do we need to buy your course for complete meterial access ?

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

    Hi Pavan, Thanks for this great content. I am facing some issue when there are multiple dialogs in the same test(like one prompt and one Alert). Second dialog always fails so wondering how can we handle this ? is there any way to unregister/unload registered first dialog handler and register new one?

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

    aren't we use dismiss and accept for different alert in same test scope?

  • @Ruslan-ps9rz
    @Ruslan-ps9rz ปีที่แล้ว

    hello. Would be a lesson about using GitHub Actions with playwright js?

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

    On the prompt type of dialog, how is the pressng the Ok button (after filling in the name) handled? You wrote all the steps (from my understanding) except for the one where you click/press ok, once you filled in the name.

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

      Or is it the 'await dialog.accept("abcde")' that also handles the ok button?

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

      @@mihaelacostea5783 yes, that did!

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

    Hello sir ..are there offline classes in hydrabad...

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

      No only Online Classes

  • @HemaLatha-lc2wi
    @HemaLatha-lc2wi ปีที่แล้ว

    Sir I am also interested to join testing classes please confirm is there any classes starting now

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

    Sir, i need a manual testing classes from your side now we have any classes starting to please in from me i aslo join the classes

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

    Hi sir , Can explain How Game Testing Topics , How to find bugs / Types Testing in this ,, please explain sir.... Or can provide any video link

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

    First the all, Thank you for the video.
    How do you handle in one test for 5 buttons. Each button call alert dialog?
    foreach (var item in test.TestCase)
    {
    var dialogName = $"dialog{item.TestId}";
    Page.Dialog += async (_, dialogName) => { await dialogName.AcceptAsync();

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

    Sir how to handle otp?

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

    Sir
    We need terraform classes. Plss

  • @8ack2Lobby
    @8ack2Lobby ปีที่แล้ว

    simple version would be `test('alert works', async({page}) => {
    page.on('dialog', dialog => {
    expect(dialog.type()).toContain('alert');
    expect(dialog.message()).toContain('amazing');
    dialog.accept();
    })

    await page.$("button").then(btn => btn?.click())
    })`

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

    after getting new build which testing we perform first, and which second and which third and like wise, please tell us..