Page Objects in WebdriverIO & Create WebElement in Page Class - Part - 4

Sdílet
Vložit
  • čas přidán 23. 08. 2024

Komentáře • 29

  • @vinumahalingam
    @vinumahalingam Před 4 lety +1

    Awesome Naveen congratulations on reaching 100 K subscribers. Hope you will move on to many more than a million subscribers. Your channel is gold for all the testing professionals out there

  • @samhaidari2364
    @samhaidari2364 Před 4 lety

    I have been waiting for a while now for naveen to hit 100k Subscribers congrats naveen!!!

  • @deepzzzonline
    @deepzzzonline Před rokem

    Using wdio electron service, how would you interact with an openFileDialog in electron? It would be nice, if u could shed some light?

  • @divyagupta1562
    @divyagupta1562 Před rokem

    Hi Naveen, i wanted to know like in protractor we used to write import statement for ElementFinder and ElementArrayFinder., what we have in webdriver.io on similar grounds??

  • @navathutejomai1038
    @navathutejomai1038 Před 4 lety

    Hi Naveen Sir, I would like to know the difference between two exceptions element not found and No such element. Is there any difference in this 2 or it is only there occurrence of it

  • @KkdvPrasad
    @KkdvPrasad Před 4 lety

    Hi Naveen
    I Have A question?
    In my appication there is fields like EIN/SSN
    whenever we add a info through EIN/SSN numbers
    the data passing through parametrization using data providers to add EIN/SSN
    by the next day when i ran the test the same EIN/SSN should not allow to add this is the business logic
    so this should apply in either data providers or
    Way2: Bulk data import sheets
    it means
    importing EIN/SSN with multiple sets of data
    so how do automate this thing?

  • @mohitsingla5436
    @mohitsingla5436 Před 4 lety

    Hi naveen,
    If Javascript is supporting oops concepts.What is the point of using typescript?

  • @sachinucer
    @sachinucer Před 2 lety

    browser.url is not working (not launching browser with path) if we have Nodejs > 12.18.0 version installed any hint ?

  • @manaliangel
    @manaliangel Před 4 lety +1

    I am getting below error
    TypeError in "home page elements handle verify home page elements"
    Cannot read property 'getText' of undefined

  • @swaroopsonline
    @swaroopsonline Před 4 lety

    Hi Naveen, can you please create a small video on Webdriver using Windows machine?
    I'm just unable to practice, coz 'npm run test' is throwing error.
    i've followed all your configuration steps, with editing the wdio.conf file and package.json.
    But it just throws error.

  • @kapildharmale319
    @kapildharmale319 Před 4 lety

    Nice

  • @rajeev5348
    @rajeev5348 Před 4 lety

    Hi Naveen... I did installation and created script which is running fine on Chrome. But i want to run it on EDge browser also for which i am not able to run. Can you please help

  • @shreyassambare8115
    @shreyassambare8115 Před 5 měsíci

    How abstraction is done here ?

  • @JanJan-li2mw
    @JanJan-li2mw Před 4 lety

    Thanks for this video, but could you show me how can I use POM, when I want to support more pages. for example, is it possible ? :
    Class LoginPage () {
    submit() {
    this.submitBtn.click()
    return new HomePage();
    ///
    }
    }
    //in test
    const homePage= new LoginPage()
    .submit()
    expect(homePage.flash.getText()).to.contain('You logged into a secure area!')
    or simple use:
    LoginPage.submit();
    expect(HomePage.flash.getText()).to.contain('You logged into a secure area!')
    and anotother question, where should I include common elements, such as the navigation bar navbar, How to design it?

  • @paris8248
    @paris8248 Před 3 lety

    Hi Naveen, Thank you so much for tutorials on webdriverIO. I have been practicing it but I am getting error " Unable to load spec files quite likely because they rely on `browser` object that is not fully initialized." when I follow Page object model. Could you please help me out to get rid of this ? Thank you :).

  • @supriyamishra5968
    @supriyamishra5968 Před 4 lety +2

    I am stuck getting error
    "Error: no test specified"
    Checked stack overflow. Nothing worrked. Still trying.....

    • @naveenautomationlabs
      @naveenautomationlabs  Před 4 lety +1

      Please add this tag in your package.json file.
      "scripts": {
      "test": "node ./node_modules/.bin/wdio ./wdio.conf.js"
      },

    • @Imran-M-
      @Imran-M- Před 4 lety +1

      @@naveenautomationlabs Hi Naveen, what happened to JavaScript series? Can you fulfill it just like your evergreen Java series? I am struggling to understand concepts like await, async and promises which are very essential from framework point-of-view. There seem to be no online stuffs which could match your simplified & easy way of explanation.

    • @supriyamishra5968
      @supriyamishra5968 Před 4 lety +1

      @@naveenautomationlabs Thanks a lot!
      It worked 😊

    • @naveenautomationlabs
      @naveenautomationlabs  Před 4 lety +2

      @@Imran-M- It will be there by next week. More videos are coming for JavaScript.

    • @Imran-M-
      @Imran-M- Před 4 lety

      @@naveenautomationlabs Thanks 👍

  • @aaryamorche5400
    @aaryamorche5400 Před 4 lety

    Hi Naveen , i am facing issue to call method from class .. below is error TypeError in "HomePage Testing verify home page elements"
    HomePage.headerofpage is not a function .. Please help me

    • @automatingtheworld9826
      @automatingtheworld9826 Před 4 lety

      call your method directly like HomePage.headerofpage.getText(); it worked for me

    • @aarbie1981
      @aarbie1981 Před 3 lety

      @@automatingtheworld9826 for me it's not working, how cab I resolve?

  • @aarbie1981
    @aarbie1981 Před 3 lety

    Hello Naveen, I am seeing this error when I am trying to call PageHeader from homePage class : ] homePage.pageHeader.getText is not a function
    [Chrome 90.0.4430.93 darwin #0-0] TypeError: homePage.pageHeader.getText is not a function ====>> how can I resolve?

  • @onlyforautomation6450
    @onlyforautomation6450 Před 4 lety

    Thanks it’s working for me