WinAppDriver. Windows App Automation Testing with Java

Поделиться
HTML-код
  • Опубликовано: 25 сен 2024
  • ** Tutorial: Windows App Automation using WinAppDriver and Java **
    / tutorial-windows-app-a...
    ** IntelliJ IDEA: Selenium WebDriver automated web tests with Page Objects in 15 minutes **
    / intellij-idea-selenium...
    ** Espresso Framework: Creating UI Tests using Page Object Model **
    / espresso-framework-cre...
    ** Mobile Test Engineer: How to make an awesome bug report? **
    / mobile-test-engineer-h...
    ** Publication: Software Testing: Break and Improve **
    / software-testing-break...
    ** Follow me on Medium **
    / nomadic.dmitry
    ** IntelliJ IDEA: WebDriver Web Testing with Page Objects in 15 minutes **
    • WebDriver Web Testing ...
    ** How to boot Windows/Linux on Mac **
    • rEFInd: How to Install...
    ** Linux Tools for your Mac. Package Management. HomeBrew, MacPorts, Fink **
    • Linux Tools for your M...
    ** Appium: Locating Elements. Automating Task app **
    • Appium: Locating Eleme...
    If you found this video useful please consider subscribing and/or donating using the links below.
    Thank you a lot!
    💰 Support me (for NEW videos!):
    / nomadicdmitry
    www.buymeacoff...
    🏡My website:
    www.trvlforever...
    👉Sign up for Airbnb and get a bonus for your perfect getaway - www.airbnb.com...
    🚗Sign up and drive for:
    Uber goo.gl/gJX6g9
    Lyft goo.gl/MnYzhV
    📚My Medium articles:
    💻Who is responsible for quality of software testing - / who-is-responsible-for...
    🎴Relax. Travel doesn't solve any of your problems - / relax-travel-doesnt-so...
    🗺How location independence changed my mindset - / how-location-independe...
    👎The power of saying "No" - / the-power-of-saying-no
    🗺3 rules for following nomadic travel dream - / 3-rules-for-following-...
    😉Why being yourself is the best thing you could do - / why-being-yourself-is-...
    💻Android Automation. Simple Espresso tutorial - / android-automation-a-s...
    👉My Website articles:
    🏡How to book Airbnb Apartments for a best price - trvlforever.com...
    🏕Nomad challenges when living in the vehicle - trvlforever.com...
    🌎I love Nevada and it's not only about Las Vegas -
    trvlforever.com...
    🔖Most important words for your trip to Mexico -
    trvlforever.com...
    💸How to travel like a king on a low budget - trvlforever.com...
    🌎Los Angeles in one day. What to visit? - trvlforever.com...
    🏕Lake Tahoe Camping. Best places to camp on budget - trvlforever.com...
    🏕Camping in Mojave Desert: Experience - trvlforever.com...
    🌎Rediscovering American cities. Virginia city - trvlforever.com...
    #WinAppDriver #TestAutomation #WebDriver

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

  • @Senelerayavaran
    @Senelerayavaran 2 года назад +1

    Спустя год, а твое видео все ещё актуально, подписался, буду смотреть

    • @NomadicDmitry
      @NomadicDmitry  2 года назад +1

      Спасибо, я планирую еще видео делать!

  • @premsudheer2092
    @premsudheer2092 4 года назад +2

    great tutorial man.. working like a champ

  • @serhiiudod3604
    @serhiiudod3604 5 месяцев назад +1

    спасибо за видос

    • @NomadicDmitry
      @NomadicDmitry  5 месяцев назад

      Пожалуйста! Надеюсь, что было полезно 👍

  • @Senelerayavaran
    @Senelerayavaran 2 года назад +1

    если использовать подключение через appium, WinAppDriver нужно устанавливать все равно, а уже потом поднимать appium // if u want to use apium connection u have to install WinAppDriver anyway and after that use apium

  • @badrip4062
    @badrip4062 3 года назад +1

    Im not able to get text from a login field in my desktop application. I used getText(), getattribute ("Vale.Value"), it returning null, is there any way to get the t ct from fields.

  • @kvenkatramana506
    @kvenkatramana506 3 года назад +2

    can you please make a video on how to take screenshot and connecting to a database

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

    Are you able to use jenkins call the test scripts? I am wondering how to trigger winappdriver remotely.

  • @sureshn6587
    @sureshn6587 2 года назад +1

    Hi, Please show us how to automate Ms Teams app, thanks

  • @galmeetzworld5818
    @galmeetzworld5818 4 года назад +1

    Do you happen to have an example for MS Word? On how to launch and navigate it through Winapp driver?

    • @NomadicDmitry
      @NomadicDmitry  4 года назад

      Thank you for your comment. No, I don't have an example with Word. It's quite interesting, though!
      I should be able to try that in the future videos though.

  • @sureshb134
    @sureshb134 4 года назад +1

    Getting error :web driver exception.. Unable to connect to app I'd with some process I'd.. For one of my project desktop applcn.. How to fix these.. Plz help

    • @NomadicDmitry
      @NomadicDmitry  4 года назад +1

      Well, I need some additional description in order to understand.
      1) Windows version?
      2) Is WinAppDriver running?
      3) What app are you trying to automate?
      4) Does the code that I shown here working on your computer?

    • @sureshb134
      @sureshb134 4 года назад

      @@NomadicDmitry1) WinAppDriver 1.2 version .2)yes WinAppDriver running and I m able to automate normal applictn like notepad etc.. 3) I'm trying to automate one of my project desktop application :QAD. (application type : I guess splash type).. Not able to launch.. Getting error for this application

    • @sureshb134
      @sureshb134 4 года назад

      @@NomadicDmitry Thanks for replying.. Able to fix this.. Need to handle with window handle concept to connect for particular process app id. GitHub has the code.

    • @barathkumar7286
      @barathkumar7286 3 года назад

      @@sureshb134 @Nomadic Dmitry Can we do the above same thing without installing WinAppdriver . If so how pls elaborate with steps? What advantage one gets if we implement WinAppdriver ?

  • @sbksdg7019
    @sbksdg7019 2 года назад +1

    Thank you for the tutorial.
    But for me its not working for the selenium 4.

    • @NomadicDmitry
      @NomadicDmitry  2 года назад +2

      Strange, what kind of errors does it show? Maybe I need to try it again with the latest version.

    • @sbksdg7019
      @sbksdg7019 2 года назад +1

      Thanks for replying. It seems winappdriver is not compatible with w3c hence selenium 4 is not compatible. For me the driver initiation is failing.

    • @NomadicDmitry
      @NomadicDmitry  2 года назад +1

      @@sbksdg7019 I see. Looks like the focus is Web and Mobile testing. Desktop testing is not in the spotlight anymore, sadly.

  • @fuataktumen2491
    @fuataktumen2491 3 года назад

    I can not close page after test. What can be problem?

  • @mkmayank39
    @mkmayank39 3 года назад +1

    How to convert our test code into .exe file so that we can have .exe on other machine and just run the .exe file to test.

    • @NomadicDmitry
      @NomadicDmitry  3 года назад +2

      To be honest, I am not sure. Since it's a Java application essentially it would need Java runtime and other dependencies there. Probably it's possible to find a solution there, but I don't have an exact one.

    • @mkmayank39
      @mkmayank39 3 года назад

      @@NomadicDmitry Yes, And my next question is can you try to make a video on installshield application automation. Because I can’t see any controls while dealing with installshield

  • @sunrisesoft7952
    @sunrisesoft7952 3 года назад +1

    Hey Nomadic,
    Thank you for the great tutorial.
    However, can we automate the Windows App installing process?
    (I mean, click on exe file, then next, next ...)
    THANKS!

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

    Страница о которой идёт речь в видео и которая лежит в описании не открывается.

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

      Спасибо за коментарий. А что именно не открывается?

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

      ​@@NomadicDmitry самая первая ссылка в описании

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

      @@NomadicDmitry Не удается получить доступ к сайту
      Соединение сброшено.

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

      @@NomadicDmitry I've already solved this problem (VPN)

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

      @@NomadicDmitry unfortunately, is throws an exception: java.lang.NullPointerException: Cannot invoke "io.appium.java_client.windows.WindowsDriver.quit()" because "CalcTest.calcSession" is null

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

    Hey, Does WinAppDriver work (detection) on an application written in java Swing ?

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

      Hey, sorry for the long wait. Technically it should not matter as long as the WinAppDriver can find all the buttons/elements in your program