Playwright with Javascript | Page Object Model Pattern | POM | Part 34

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

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

  • @TejaBabu-ku6gt
    @TejaBabu-ku6gt Год назад +5

    Hi @Pavan@ Sir,
    I am the one selected as Test Engineer in Qualitrix by watching your videos, I am very interested to learn security testing expecting your videos in that part if you do it helps us a lot, in future security testers will have more demand.

  • @madirajuchaitanya
    @madirajuchaitanya 3 месяца назад

    Hi Pavan Sir, a valuable course to understand POM design pattern while automating applications using Playwright (JavaScript).
    Thank you for the wonderful video.

  • @kushalwadatkar6475
    @kushalwadatkar6475 Год назад +4

    Hello Sir, Can you create a new appium series step by step. I'm interested to learn this technology and I'm sure other students also interested. So please create a series with all new updates. It will be great help for all of us. Thank You.

  • @AshokR-k3w
    @AshokR-k3w Год назад

    Hi @Pavan Sir, This is my sincere request please do one video verifying all the links on a page using Playwright with JavaScript, I hope you will do it, Thank you so much for your time and effort and incredibly good tutorials. Thanks again

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

    Hi Paven,Hope you are doing great thankyou for the hard work you do ,just a appreciation comment :)

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

    Thank you Sir . Well explained. Could you please make a video on how to get text from a locator in page class and assert that text in test class. I searched for this scenario in many places but unable to find the best practice

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

    Hello, sir, can we look forward to videos about testing frameworks like Jest or Mocha in the context of JavaScript automation testing with Playwright?

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

    Hi Pavan, You are doing an outstanding job. I am following your playwright videos and implementing the same in my project. It would be great if you provide us GIT link for the playwright with JS project. Thanks in advance.

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

      github.com/pavanoltraining/playwrightautomation

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

    Thank you so much sir. Could you do a one course to talk about the playwright fixtures? many appreciate in advance.

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

    @pavan ! in page file why arent we getting the autosuggestions or when we mouse hover on the playwright methods why are we not getting the descriptions about that particular method - it is oberved only in page object model in page file

  • @KevoStorm
    @KevoStorm 7 месяцев назад

    I have a question, if i need to create a class for example "BasePage" to manage all the methods from playwright ( for future purpuse) how can i do that?. For example in Java with selenium we create a BasePage to create methods for the future if selenium is upgrade and the method "findElement" change the name, we need to modify in all the pages. How can we prevent that in playwright?.

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

    I am not able to access method selectOption for selecting any option from drop down in page files where css and path are defined. This method is accessible only in spec file, then how to frame Pom with drop down selection.

  • @ArtemVybornov-n8v
    @ArtemVybornov-n8v Год назад

    Hello. Thanks for the tutorial, it really helps to get started. I've noticed 1 thing that is you created the instances of each page inside the particular test. What if we need to reuse these instances in other tests? Do we have to create each instance again in other tests? Doesn't look clean and we are repeating ourself. Can we somehow create those page's instances outside the tests? I am thinking on how to do it but no ideas so far.

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

    Sir we are learning this technologies for Automation.. What is your views on AI based tools. Will AI based tools replace our skill set which we have learnt.

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

    Hi, thank you for the videos. A very valuable resource of information.
    Would it be possible to put those page objects (Home.js/Login.js/Cart.js) files somewhere on a public repo so people can download the files locally?

  • @anilkumardevaki7014
    @anilkumardevaki7014 11 месяцев назад

    if i have multiple test cases again new page will be opened and need to do the same from starting.
    is there anyway to make single page ref for all the test cases?

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

    Hi Pavan , Please make a video on multiple window handling.

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

    Good afternoon Sir,
    Which is better Project Manager or a Software tester ?
    And who is more paid project manager or a tester ?

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

    Hii sir which should I learn in testing for better opportunities

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

    Hi Pavan sir, for playwright pls create some videos for BDD cucumber integration, thanks.

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

    Sir I have one question
    In selenium Java the exception is The driver executable must exist

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

    Hi Sir,
    Any git repo available for the above playwright framework.

  • @lindastephen6274
    @lindastephen6274 2 месяца назад

    Hi Pavan ,
    I saved my files under node modules ..when I update npm I lost all my files .any way to retrieve

  • @user-le3wh8xc3u
    @user-le3wh8xc3u Год назад

    My page object class's name is LoginPageObject and my test case's files name is LoginPO. When I create a constructor in Page Object file, and I write this.page = page; then it give a red line under this.page. And the error message reads -
    Property 'page' does not exist on type 'LoginPageObject'.ts(2339)
    Error message is appearing for all variables. I am follow all the exact steps but unable to understand what's wrong with my code. Plz help

  • @kushalparikh3608
    @kushalparikh3608 2 месяца назад

    Playwright doesn’t support maximising browser window in latest version using “- start-maximized”

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

    I am getting this error TypeError: Cannot read properties of undefined (reading 'goto') how to resolve

    • @RandomToast
      @RandomToast 3 месяца назад

      Hello, I have the same issue. Have you managed to find a solution?

    • @RandomToast
      @RandomToast 3 месяца назад

      Nevermind, found it, you have to pass the page in here:
      const login = new LoginPage(page);

  • @akhilrathore
    @akhilrathore 13 дней назад

    31:30

  • @AbhiramBEHERA-s7j
    @AbhiramBEHERA-s7j Год назад

    Sir can you please create a video on how to integrate Playwright with BDD Framework? Thanks

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

    Hi Pavan, how to load playwright default methods like fill(), click() in .js page files,
    async login(username, password) {
    await this.page.locator(this.loginLink).click();
    await this.page.locator(this.userInput).fill(username)
    await this.page.locator(this.userPassword).fill(password)
    await this.page.locator(this.loginButton).click();
    }

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

    Sir can u make video on appium using webdriverio

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

    Hi Pavan, I have tried reaching via email but haven't received an response back. I am interested in 1 on 1 training can you please let me know whats the best way to get in contact. Thank you!

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

    Playwright with Serenity Js

  • @andersanders-d7f
    @andersanders-d7f Год назад

    I have created tests and pages following your video but When i am runnning test , i am geeting this error "Error: page.$$: Target page, context or browser has been closed
    Failed worker ran 1 test:
    [chromium] › tests\blaze.spec.js:6:5 › login to blaze
    at HomePage.addProductToCart (c:\ws\plawright-demo\pages\HomePage.js:11:41)
    at tests\blaze.spec.js:15:14"

  • @rathishramankutty302
    @rathishramankutty302 11 месяцев назад

    below error displays
    Error: expect(received).toEqual(expected) // deep equality
    Expected: true
    Received: undefined
    19 | const carts1 = new CartsPage(page)
    20 | const verified1 = await carts1.productverify('Nexus 6')
    > 21 | expect(await verified1).toEqual(true)
    | ^
    22 | //await page.waitForTimeout(2000)
    23 |