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

Поділитися
Вставка
  • Опубліковано 2 жов 2024
  • #playwright #javascript #pageobjectmodel
    #########################
    Udemy Courses:
    #########################
    Manual Testing+Agile with Jira Tool
    ************************************
    ► shorturl.at/xNXZ4
    Selenium with Java+Cucumber
    ********************************
    ► shorturl.at/aIKMW
    Selenium with Python & PyTest
    ********************************
    ► shorturl.at/ELW09
    Selenium with python using Robot framework
    ****************************************
    ► shorturl.at/bcDPZ
    API Testing(Postman, RestAssured & SoapUI)
    *****************************************
    ► shorturl.at/uAWY7
    Web & API Automation using Cypress with Javascript
    ********************************************
    ► rb.gy/4uum2n
    Playwright with Javascript
    **************************
    ► shorturl.at/gALZ1
    Jmeter-Performance Testing
    ************************
    ► rb.gy/ocj7r2
    SDET Essencials(Full Stack QA)
    *************************
    ► rb.gy/hlnf2v
    Appium-Mobile Automation Testing
    ************************************
    ► rb.gy/wmzv64
    Java Collections
    *****************
    ► bit.ly/3S66ezE
    Python Programming
    *********************
    ► urlis.net/gdsf...
    Cucumber BDD Framework
    ***************************
    ► bit.ly/3F7d69r
    Protractor with Javascript
    ***************************
    ► urlis.net/4udd...
    ####################################
    UA-cam Playlists:
    ####################################
    Manual Testing & Agile
    ***********************
    ► bit.ly/3ujvaYa
    ► bit.ly/3OYzxQj
    SQL
    *************************
    ► bit.ly/3R6XjeG
    ► bit.ly/3nE0a1s
    ► bit.ly/3IeKuuJ
    linux & Shell Scripting
    **********************
    ► bit.ly/3up1Z6a
    ► bit.ly/3nzvGxx
    Java
    **********************
    ► bit.ly/3R9QfOs
    ► bit.ly/3AoRMKM
    ► bit.ly/3IbTTDn
    ► bit.ly/3ybXInv
    ► bit.ly/3yCoHdw
    Selenium With Java+Cucumber
    ********************************
    ► bit.ly/3P2FMm4
    ► bit.ly/3yhiIt4
    ► bit.ly/3uokzet
    ► bit.ly/3a7XIND
    ► bit.ly/3umN2S9
    ► bit.ly/3aar7GW
    ► bit.ly/3y9kD2S
    ► bit.ly/3uhLskn
    Python
    ********************************
    ► bit.ly/3agNgU0
    ► bit.ly/3NJNnoy
    ► bit.ly/2CTQ4mR
    ► bit.ly/3OIYWh1
    Selenium With Python,Pytest&Behave
    ***************************************
    ► bit.ly/3OHHoC9
    ► bit.ly/3IeNLdv
    ► bit.ly/2J4tPeT
    ► bit.ly/3ydSkAq
    Selenium With Python Using Robert Framework
    (Web&API Testing)
    *************************************************
    ► bit.ly/3nUvlpr
    ► bit.ly/3nUvE3z
    API Testing (Postman,SoapUi,&Rest Assured)
    **********************************************
    ► bit.ly/3OXacWY
    ► bit.ly/3yh0UhE
    ► bit.ly/3nC9DWQ
    ► bit.ly/3yGfhNS
    ► bit.ly/3OJa11H
    ► bit.ly/3P2slCC
    Mobile App Testing Appium
    ****************************
    ► bit.ly/3Al49HG
    Performance Testing Jmeter
    *******************************
    ► bit.ly/3nz4fE7
    Maven,Jenkins,Git,Github,CI/CD
    *******************************
    ► bit.ly/3P16HPj
    ► bit.ly/3yhlUVA
    ► bit.ly/3afYfwT
    ► bit.ly/3yGzweG
    ► bit.ly/3yF73Ws
    ► bit.ly/3NCOmH7
    SQL,DB Testing&ETL,Bigdata
    *******************************
    ► bit.ly/3NKOcNY
    ► bit.ly/3OVpDyI
    ► bit.ly/3NEvUy0
    ► bit.ly/3IryxlT
    ► bit.ly/3RkWBLh
    JavaScript Based Automation Tools
    ********************************
    ► bit.ly/3nUx51X
    ► bit.ly/3AqI6Q0
    ► bit.ly/3yeurbT
    ► bit.ly/3ujzpTK
    Selector Hub Tools
    ********************
    ►rb.gy/h3h424
    GraphQL
    ******************
    ► rb.gy/sj3gys
    Cypress API Testing
    ********************
    ► shorturl.at/fjKPX
    Cypress Web Testing
    **********************
    ► shorturl.at/agjlK
    Playwright with Javascipt
    **************************
    ► shorturl.at/adSTY
    #Playwright #JavaScript #PageObjectModel #POM #WebAutomation #WebTesting #BrowserAutomation #UIAutomation #FrontEndTesting #TestAutomation #CodeAutomation #WebDevelopment #QualityAssurance #SoftwareTesting #WebApps #TestingPatterns #DesignPatterns #TestFramework #PageObjects #PageObjectsInPlaywright #WebInteractions #PlaywrightTutorial #PlaywrightTips #WebTestingTools #QA #SeleniumAlternative #UA-camTutorial #ProgrammingTips #WebDevTips #UA-camChannel #TechTutorials #CodeTutorial #WebTestingTricks #TestCases #TestingBestPractices #AutomatedTesting #TestDrivenDevelopment #TestingStrategies #UA-camLearning #WebUI #AutomatedTests #WebApplicationTesting #TestCoverage #JavaScriptTricks #UA-camEducation #FrontEndDevelopment #SoftwareQuality #WebTestingSolutions #TestPatterns #WebTestingGuide #TestingMethodology #TestingConcepts

КОМЕНТАРІ • 36

  • @TejaBabu-ku6gt
    @TejaBabu-ku6gt Рік тому +4

    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.

  • @kushalwadatkar6475
    @kushalwadatkar6475 Рік тому +3

    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.

  • @madirajuchaitanya
    @madirajuchaitanya 22 дні тому

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

  • @tallurivamsi6413
    @tallurivamsi6413 Місяць тому

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

  • @VenusriM
    @VenusriM 2 місяці тому

    Hisir,please make live project on playright

  • @TechCommuteTelugu
    @TechCommuteTelugu 11 місяців тому +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

  • @anilkumardevaki7014
    @anilkumardevaki7014 9 місяців тому

    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?

  • @KevoStorm
    @KevoStorm 4 місяці тому

    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?.

  • @user-le3wh8xc3u
    @user-le3wh8xc3u 10 місяців тому

    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

  • @jonitadsouza5044
    @jonitadsouza5044 2 місяці тому

    @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

  • @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();
    }

  • @JoolieEm
    @JoolieEm 8 місяців тому

    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?

  • @laraabdurazak3882
    @laraabdurazak3882 6 місяців тому

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

  • @ArtemVybornov-n8v
    @ArtemVybornov-n8v 11 місяців тому

    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.

  • @rathishramankutty302
    @rathishramankutty302 8 місяців тому

    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 |

  • @pankukamble2259
    @pankukamble2259 Рік тому

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

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

  • @AshokR-k3w
    @AshokR-k3w 9 місяців тому

    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

  • @Snehaandsahasra
    @Snehaandsahasra 8 місяців тому

    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

  • @shelly1067
    @shelly1067 11 місяців тому

    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.

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

  • @AbhiramBEHERA-s7j
    @AbhiramBEHERA-s7j Рік тому

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

  • @vishalrangari8600
    @vishalrangari8600 Рік тому

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

  • @sumitgoyal385
    @sumitgoyal385 Рік тому

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

  • @saivyshnavikoduru1162
    @saivyshnavikoduru1162 Рік тому

    Hii sir which should I learn in testing for better opportunities

  • @raghavpothineni6843
    @raghavpothineni6843 Рік тому

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

  • @srittamkhuntia9443
    @srittamkhuntia9443 Рік тому

    Sir can u make video on appium using webdriverio

  • @aaraonhon
    @aaraonhon Рік тому

    Playwright with Serenity Js

  • @mehulchaturvedi9271
    @mehulchaturvedi9271 7 місяців тому

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

    • @RandomToast
      @RandomToast Місяць тому

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

    • @RandomToast
      @RandomToast Місяць тому

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

  • @andersanders-d7f
    @andersanders-d7f 9 місяців тому

    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"