How to Automate Windows Based Application using Winium and Selenium

Sdílet
Vložit
  • čas přidán 2. 07. 2024
  • This video will guide you How to Automate Windows Based Application using Winium.
    What is Winium
    Win + Selenium= Winium
    Winium is Selenium Based Open Source Automation framework for windows platform
    You can automate desktop application using Winium
    Links
    github.com/2gis/Winium
    github.com/2gis/Winium.Desktop
    github.com/2gis/Winium.Deskto...
    github.com/blackrosezy
    ~-~~-~~~-~~-~
    Please watch: "How To Create Maven build For Selenium Framework"
    • How To Create Maven bu...
    ~-~~-~~~-~~-~
  • Věda a technologie

Komentáře • 412

  • @Mukeshotwani
    @Mukeshotwani  Před 6 lety +6

    Hope you will like the video. Like, Share and Support

    • @gobinathpalanisamy5450
      @gobinathpalanisamy5450 Před 6 lety

      following code not click 1
      DesktopOptions option=new DesktopOptions();
      option.setApplicationPath("C:\\Windows\\System32\\calc.exe");
      WiniumDriver driver=new WiniumDriver(new URL("localhost:9999"), option);
      Thread.sleep(5000);
      driver.findElement(By.name("1")).click();
      pls gve solution. following depence im using before run the program i started the server too
      com.github.2gis.winium
      winium-webdriver
      0.1.0-1

    • @RekhaChauhan-qu9gi
      @RekhaChauhan-qu9gi Před rokem

      Hi Mukesh , Actually i created maven project script for calculator and inspect and winium driver keep inside the project... what when i tried to clicking on any Number then not able to click on client virtual VM machine. But same code i have been written on my machine then it is clickable .can you pls help me , it is very appriciated

  • @meenudby
    @meenudby Před 6 lety

    Thanks Mukesh !!!
    looking forward to more videos.

  • @soundarm337
    @soundarm337 Před 6 lety

    Thanks for the demo mukesh. awaiting for more on winium..

  • @sumanthzvakacharla6079
    @sumanthzvakacharla6079 Před 6 lety +1

    Thank you so much Mukesh! Your latest technology updates make us updated upto mark

    • @Mukeshotwani
      @Mukeshotwani  Před 6 lety

      Thanks Sumanthz, keep updating your skill..

  • @ashishgoel7456
    @ashishgoel7456 Před 5 lety

    Really Useful video :) You have a new subscriber!!

  • @nieldac2717
    @nieldac2717 Před 5 lety

    Thanks for this nice tutorial Mukesh!

  • @jitendrachaurasia6297
    @jitendrachaurasia6297 Před 6 lety

    nice one - this video will make life more easier for desktop application Automation developers, thanks Mukesh

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

    Outstanding session Sir ! Thanks a Ton !

  • @thenmozhisundaram3671
    @thenmozhisundaram3671 Před 6 lety

    Very useful..thanks Mukesh for explaining this very clearly :)

  • @aarthikalyanasundaram8431

    Thanks for this Demo Mukesh:)

  • @AlphaSierra380
    @AlphaSierra380 Před 6 lety +1

    As always awesome video....Thanks.

  • @ramansivasankar8838
    @ramansivasankar8838 Před 6 lety

    Thanks Mukesh. Very informative

  • @sbonisomthembu6821
    @sbonisomthembu6821 Před 6 lety

    Thanks for sharing Mukesh 👌

  • @miguelangelsuarezmontiel1364

    Hi friend, very nice and useful tutorial, very good to explain and very clear.
    Thanks for your time, and thanks for your effort. 🙏

  • @azerphoenix
    @azerphoenix Před 5 lety +1

    I need this video) Thank you, sir!))

  • @diwakardod5750
    @diwakardod5750 Před 6 lety

    Hi sir,
    thanks for uploading a video on winium. am so waiting fr that..

  • @onebeartoe
    @onebeartoe Před 5 lety

    Nice video, man. Thanks for sharing!

  • @shauryasingh1642
    @shauryasingh1642 Před 6 lety

    Thanks for the amazing video please make some video to automate excel application using Winium in the way we can combine Selenium and Winium together in Automation.

  • @kriya94
    @kriya94 Před 3 lety +1

    Thank you bro for your clear explanation

  • @smratikulshrestha4504
    @smratikulshrestha4504 Před 6 lety

    Thanks for sharing this excellent video on Winium Mukesh. Can you please help, how to provide path of Desktop shortcut application, mentioned by you in the video.Cheers

  • @tiagolopesdefreitas8345

    My congratulations Mukesh your video help me much :)

  • @vamsikattamudi6560
    @vamsikattamudi6560 Před 6 lety

    Hi Mukesh, this is very good video for desktop automation. Shall we automate the windows authentication in web application using this tool

  • @yousefrazeghi3192
    @yousefrazeghi3192 Před 6 lety

    Thanks Mukesh :)

  • @himanshusingh6350
    @himanshusingh6350 Před 6 lety

    its ... good for us thanks

  • @Shaileshkumar-fn7rl
    @Shaileshkumar-fn7rl Před 6 lety

    Hi Mukesh, Very Good video. Thanks for such helpful video. Could you please tell me how we can handle dropdown and list of elements in the windows application?

  • @BelgiumDiaries
    @BelgiumDiaries Před 4 lety

    thank you so much

  • @AbhishekMishra-ru2fi
    @AbhishekMishra-ru2fi Před 6 lety +1

    Good work champ :)
    Can we have video on Gradle as well?

  • @RalphNgOfficial
    @RalphNgOfficial Před 6 lety

    Hi Mukesh, thanks for sharing, I have a question regarding the Eclipse, when installing the Eclipse, which version should I choose, should I choose Eclipse IDE for Java Developers, or Eclipse for Testers?

  • @ramandogra1008
    @ramandogra1008 Před 5 lety

    Hi Mukesh,
    We are using Winium for automating Desktop Appln. Its really helpful.
    Can you tell me how to scroll within an Application through Winium ??

  • @saurabhsrivastav902
    @saurabhsrivastav902 Před 5 lety

    Hi Mukesh, Thanks for the video. Can you let me know if we can use this tool for ETL testing and BI Report Testing like SAB BO- Crystal Report(Window Applications).

  • @aimantirmizi
    @aimantirmizi Před 4 lety

    Hello Mukesh,
    I always use to watch your training videos. They are very helpful.
    I am trying to automate one Swing Desktop Application, I am trying to use both Inpect.exe and UISpy to inspect the elements, unfortunately both did not work with swing desktop application. Which tool to use to inspect elements for above mentioned application?
    Thanks and keep it up! :) (Y)
    Regards

  • @rubinahassan7309
    @rubinahassan7309 Před 4 lety

    Hi Mukesh,
    Nice information. i was really looking for some freeware desktop automation tool these days. i am already using selenium for web version of my application and i have to automate desktop version of same application.
    eclipse and selenium is already setup on my machine. can i use the same by adding another project for desktop application, as there will be separate pom.xml in that for setting up winium. kinldy confirm?

  • @samareshsatpathy3818
    @samareshsatpathy3818 Před 6 lety +1

    Hey Mukesh ,Thanks for this video.Can we use winium instead of AutoIT ?

  • @amitchaudhary4762
    @amitchaudhary4762 Před 6 lety

    Hi Mukesh,
    Here we are opening an application using desktop class and than attaching that reference to winium driver. How to handle/attach already opened desktop application(For Example - Print dialogue box) in winium ?

  • @tijothomas7104
    @tijothomas7104 Před 5 lety

    Hi Mukesh ,
    Could you please suggest sites in which Test complete is discussed in detail regarding desktop application

  • @uvitalkumar
    @uvitalkumar Před 6 lety +1

    Really very useful tool. Thank you for sharing.. Can you post a vedio using Winium with c#

    • @Mukeshotwani
      @Mukeshotwani  Před 6 lety +1

      Yes will do. In blog they have given the steps as well. You can also give a try.

    • @uvitalkumar
      @uvitalkumar Před 6 lety

      Can you share blog link..Thank you

  • @adrianaferreirabrito
    @adrianaferreirabrito Před 5 lety +1

    thanks a lot!

    • @Mukeshotwani
      @Mukeshotwani  Před 5 lety

      Hey Adriana Ferreira I am glad you liked my tutorial . Keep learning and Sharing. Feel free to contact for any issues related to Automation.

  • @TaldrenDR
    @TaldrenDR Před 5 lety

    Q: How do you remote execute your test cases from TFS onto a target machine? With Coded UI, which is based on the same Microsoft Automation UI library, I can use Test Agent from TFS , so I hoped Winium allowed something similar.

  • @IQh142
    @IQh142 Před 4 lety

    How can we switchTo() the dialog/message in Desktop application. I could NOT catch the element of the application which display a message first when it launch. Thank you for your answer!

  • @tejkumarkempaiah4906
    @tejkumarkempaiah4906 Před 3 lety +1

    Thanks for the video Mukesh, Does Winium also support CEF (Embedded chromium enabled framework) desktop applications?

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety +1

      Hi Tej I never tried but it should work you can give a try and let me know if it works.

  • @user-df1bh9on5v
    @user-df1bh9on5v Před 6 lety

    Incredibly

  • @balaramanb6500
    @balaramanb6500 Před 4 lety

    How to configure hub node for winium to perform parallel execution with Jenkins. Currently working in single machine. Same machine as both hub and node.
    But if hub and node is different machines then no such element exception displayed. Kindly let me know the solution.

  • @gauravgupta7285
    @gauravgupta7285 Před 5 lety

    Very Nice Video. Actually I am trying the same on system but not inspecting tools are not working correctly. Is there other tools to inspect elements.??

  • @DigvijayBisht
    @DigvijayBisht Před 10 měsíci

    Good tutorial. My question was how do we automate an application whose path isnot present. Example case is, want to search teams from windo search open team and send message to group. How do I automate this.

  • @pragyatest860
    @pragyatest860 Před 5 lety +1

    Hi Mukesh
    As usual your videos are awesome, Now I just want to know how to automate MAC desktop application? Please suggest me any tool.
    Thanks
    Pragya

  • @ramkimarichamy5769
    @ramkimarichamy5769 Před 5 lety +1

    @Mukesh Otwani Thanks for this guide to automate desktop application. Our existing selenium framework is running on Linux, could I collaborate the winium project I created with my existing selenium framework to run them on Linux?

  • @maheshrao622
    @maheshrao622 Před 4 lety

    Hi Mukesh, I have been a frequent visitor to your channel. I appreciate all your efforts in making life easier for all the testers out there. I was just following this video and trying to automate the calculator, but UISPY gives me an error on the start that limited user access will limit most of the features and when I run it I don't see the pane item for a calculator as you do. So, I tried to use INSPECT.EXE app instead of UISPy. and the automationid i got for the buttons are "num1Button" etc. But when I run the program, I see that it opened calc app but does nothing and no errors as well. Can you please let me know any reason for this? I am using findElement.id and also tried .name as well. But no luck.

  • @farheenahmad2478
    @farheenahmad2478 Před 6 lety

    Hey mukesh, any idea which tool to use to automate application which is developed in excel macros, ie complete application is in excel itself ?

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

    Hi Mukesh, Thanks for the video, also can you pls suggest which is the best tool for desktop application with platform independency?

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

      I tried Winium and UiPath but depends on your requirement you can use any of this tool.

  • @RalphNgOfficial
    @RalphNgOfficial Před 6 lety

    Hi Mukesh, another question is whether Winium compatible with Windows 10. I have experience in AutoIT, the AutoIT doesn't seems to compatible much with the Windows 10 Calculator. Will this issue be the same for Winium?

  • @vaiyshnavir2700
    @vaiyshnavir2700 Před 5 lety

    Hi mukesh.. do you have any video tutorial for UFT??

  • @PareshBorole
    @PareshBorole Před 6 lety +2

    Hi Mukesh,Thanks for such great video. Just a doubt..Can we stop mouse movements for this because i tried moving mouse at runtime,it is failing because of that. So how can we handle this?

    • @Mukeshotwani
      @Mukeshotwani  Před 6 lety +1

      Hi Paresh, while doing desktop automation you should not disturb the test machine because it will affect execution.

    • @PareshBorole
      @PareshBorole Před 6 lety

      Okay. Thanks!!

  • @praveenambi636
    @praveenambi636 Před 6 lety +1

    Hi mukesh,
    Nice video , helpful one... Thanks for this.
    The only query I have is if the system or desktop is locked, will it work in that case also?

    • @Mukeshotwani
      @Mukeshotwani  Před 6 lety

      No I dont think so. You can check from your side and I will also check.

  • @alendelon4384
    @alendelon4384 Před rokem

    Hi Mukesh, can we use it for a Clarion(work-station)-based application?

  • @muthuvel2390
    @muthuvel2390 Před 6 lety

    Hi mukesh,Already I have project for selenium web based application if it is possible to integrate winium into that framework or we keep into separate one. pls suggest me

  • @pratheeps1806
    @pratheeps1806 Před 6 lety

    Hi Mukesh,Very informative, i need to Automate mobile Windows Based Application using Winium...?

  • @notch7751
    @notch7751 Před 6 lety +1

    Thanks fam

  • @tgkashish
    @tgkashish Před 6 lety

    Hello Mukesh, I have written one script using selenium RC now I want to use this (winium).But before starting I have just small question Can we use winium and execute the desktop application which is present in some other remote machine.If yes,then can you please tell me how I can proceed.

  • @prajeethk3397
    @prajeethk3397 Před 5 lety +1

    Hi mukesh, nice tutorial . Do you give online classes for winium?

    • @Mukeshotwani
      @Mukeshotwani  Před 5 lety

      Hi Prajeeth no training for winium because it’s not that stable and no updates from long time.
      I provide training on Selenium only as of now

  • @amitchaudhary4762
    @amitchaudhary4762 Před 6 lety +1

    Hi Mukesh, This really great demo and explanation on this tool. I have a scenario where i move to windows "Save As" dialogue box from a web application. Is there way i can use winium to automate this scenario?

    • @Mukeshotwani
      @Mukeshotwani  Před 6 lety

      +Amit Chaudhary yes Amit why not it will work. You can use selenium code itself to handle download pop up window

    • @amitchaudhary4762
      @amitchaudhary4762 Před 6 lety

      Thanks for your reply. But here we are opening an application using desktop class and than attaching that reference to winium driver. How to handle/attach already opened desktop application in winium ?

  • @sujaykumar1167
    @sujaykumar1167 Před 4 lety

    Hi Mukesh,
    Can we handle already opened outlook application? I have scenario in which selenium clicks on 'send email' button in the browser , which opens an Outlook application, how can i handle that,?

  • @amittech3
    @amittech3 Před 5 lety

    Hi Mukesh, using winium can we automate Oracle application that starts by putting url in browsers and opens java window forms??

  • @AmitKumar-op3ws
    @AmitKumar-op3ws Před 9 měsíci

    Can we use this tool for Sabre Red App automation.
    Saber Red app is also a Window based application

  • @sammy22391
    @sammy22391 Před 5 lety +1

    Hi thanks lot for uploading this video, I have question Can I use this tool to upload multiple files from windows explorer?

  • @farzanainamdar9318
    @farzanainamdar9318 Před 3 lety +1

    Hi Mukesh, I am not able to identify few elements using ui spy. How to locate these elements

  • @attilakunkli2208
    @attilakunkli2208 Před 3 lety

    Hello Mukesh,
    I wrote the program from the video, but for some reason the cursor slides when I click. I tried to define the button with Id and the unfortunately the name is the same.
    Maybe you could give me some advice on this?

  • @brijyotchawla3247
    @brijyotchawla3247 Před 5 lety +1

    Is this stable for all windows application and not just for pre defined apps like calc or notepad ?

  • @NishaYadav-yg8ss
    @NishaYadav-yg8ss Před 4 lety +1

    Hi Mukesh, how can we add wait for winium driver? I tried implicit wait but getting "'setTimeout' is not valid or implemented command" exception. Is there any way to add wait other than Thread.sleep()?

  • @iamayoungexplorer1734
    @iamayoungexplorer1734 Před 3 lety

    Hi Mukesh, I have a word application which has embedded web application in it. Will winium work here? WebAppDriver does not recognize the web application fields.

  • @deepanshujain6504
    @deepanshujain6504 Před 5 lety

    Hi Mukesh ,
    I have followed the video to the step but after application getting startedc,it is not clicking on any element .

  • @AkshayAgrawal5
    @AkshayAgrawal5 Před 5 lety +1

    Hi Mukesh, how can we use UIspy for inspecting elements of Eclipse? I tried using the hovering method but didn't get any specific information related to the elements in eclipse like what we get for the Calculator application.

    • @Mukeshotwani
      @Mukeshotwani  Před 5 lety

      Hi Akshay few tools wont work for all application so we might have to use multiple tools to inspect.

    • @AkshayAgrawal5
      @AkshayAgrawal5 Před 5 lety

      Okay, so do you know any of them which I can use to automate eclipse itself?

  • @dhavalmistry4570
    @dhavalmistry4570 Před 6 lety

    Hi Mukesh, I guess it does support WPF but I have embedded web control (html). those pages are loaded into panel control. Can winium framework support for my WPF application and web control loan under WPF application? Please suggest if you know any other framework support.

  • @sudhakumari274
    @sudhakumari274 Před 6 lety

    Hi, Mukesh
    can we automate the flex /AIR based standalone application through Winium ?

  • @lalitkadam8381
    @lalitkadam8381 Před 3 lety +1

    Hi Mukesh, Do we have only one video on Winium? If there are more can you please provide link. I couldn’t find it on your channel list.

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety

      Hey Lalit, WInium is not coming with new features now.

  • @rahulthandani3421
    @rahulthandani3421 Před 6 lety +1

    Mukesh
    Could you please add session for working with XPATH on winium. To find child, parent and following elements.

  • @biplabghosh1380
    @biplabghosh1380 Před 2 lety

    Hi Mukesh, I am downloading some file from web and now I want to automate to navigate to download folder, open the file then print it. Could you please suggest.

  • @JitendraKumar-lr3vq
    @JitendraKumar-lr3vq Před 4 lety

    Hi Mukesh while downloading the UISpy.exe file I am not able to inspect the Windows Application and while opening its throwing error as UISpy is running with limited user access (LUA) . This will prevent UISpy from accessing UI Automation details from applications running with higher privilege. See UISpy documentation for further details.
    Due to this error I am not able to inspect the elements .

  • @elixirautomation
    @elixirautomation Před 6 lety

    Hi Mukesh, I was automating USD with winium but I am having lot's of issues regarding object identification. How to write xpath in winium ? How to identify the object if data is coming from the third party app (html format) ?

  • @Mridubandari
    @Mridubandari Před rokem

    Hi Thank you for great session, I have a question- kindly 1:10 advise.
    Q. How can we launch the exe file from folder. Its not the regular app so am not able to find the app id of that .exe. Greatly appreciate any suggestions, thanks 🙏

  • @ArunSharma-wm6od
    @ArunSharma-wm6od Před 6 lety

    Hi Mukesh - Could you please tell How to handle native PRINT Dialogue to print the report ??

  • @sushmapamnaniin5922
    @sushmapamnaniin5922 Před 6 lety

    Hi Mukesh , your Video Helped me , Thanks . When i tried this on my machine i am unable to locate elements.
    Instead of clicking 7 , its clicking 5 . locating incorrect elements for all numbers .
    can u plse help me with exact code.
    Also i tried this on Local machine as well as remote machine for both its unable to locate correct elements.
    waiting for your help,
    Thanks.

  • @marsh6676
    @marsh6676 Před 5 lety

    can we also use this in automating iseries/as400 application?

  • @uichannel9764
    @uichannel9764 Před 6 lety

    How to select element in Combobox with Winium.Cruciatus?

  • @naveenkumar-vq5pz
    @naveenkumar-vq5pz Před 5 lety

    Hi Mukesh...
    I'm trying to automate desktop application developed by Java AWT... I'm not able to find elements using any UI Spy tools, could u help how to do that?

  • @karthikchava4249
    @karthikchava4249 Před 5 lety +2

    Hi Mukesh, Can u pls show the same in Python

  • @SenSei.Soumyojit
    @SenSei.Soumyojit Před 3 lety

    Is it possible to run this code automatically using task scheduler everyday for an automation solution to check if citrix login is working for a server/user?

  • @krishnakumark3910
    @krishnakumark3910 Před 4 lety

    Hi,
    Whan i try to use wait in winium driver Im getting the error "Set time" out is not a valid or implemented command. Is there any work around for that

  • @amrutakadam5221
    @amrutakadam5221 Před 3 lety +1

    Hi Mukesh,
    Thank you so much for this helpful video.
    Currently i am struggling to automate combo box. Will you please help me for this.
    Tganks in advance

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety

      Hi Amruta, what is exception/issue you are getting?

  • @USP7
    @USP7 Před 6 lety

    Can u make video on difference between skuli and winium.

  • @harishkumara3137
    @harishkumara3137 Před 6 lety

    Hey Mukesh. How to handle windows pop up which is already opened by selenium webdriver. Like attach file windows popup

  • @AshutoshPatra
    @AshutoshPatra Před 5 lety +1

    trying to automate SOAPUI, but i am not able to find the element locators using the suggested .exe file.
    Could you try and let me know if that is possible as per the .exe file u suggested?

    • @Mukeshotwani
      @Mukeshotwani  Před 5 lety

      Hi Ashu, you can use httpconnection library which can automate all kind of web services.

  • @rahulsainifitness
    @rahulsainifitness Před 5 lety

    Hello Mukesh
    how can we override the browser using selenium webdriver?

  • @gauravgupta7285
    @gauravgupta7285 Před 5 lety

    Hi Mukesh,
    Can you please share that how to take the screenshot in winium

  • @AbhishekKumar-re1iq
    @AbhishekKumar-re1iq Před 3 lety

    Where we can find full video lecture on winium ?

  • @sgrmlk1904
    @sgrmlk1904 Před 6 lety

    I am using UI Spy but it is not capturing objects in my .jnlp application. Its capturing the maximize, minimize buttons but not the other objects. UI SPY is throwing Tree Validation Exception. Could you please provide help in this?

  • @mayursapre1286
    @mayursapre1286 Před 6 lety

    Suppose i want to verify Running windows Services from TASK manager, can i do it with UI SPy? tool

  • @nithisivaa1106
    @nithisivaa1106 Před 5 lety

    Good Evening! I am glad to say that I learnt automation by referring your automation blogs and it is really very informative. I am working in Cognizant as a Automation Tester. I have a doubt Currently I need to perform a POC of the Windows 10 Desktop App which is an .appx file. Is it possible to automate the same using the Winium. The windows app has its application id. I am not sure how to pass the application ID while setting up the path. Or it is not possible to do automation with Winium we can do only via Appium ?
    option1.setApplicationPath("C:\\Program Files (x86)\\Cisco Systems\\Cisco Jabber\\CiscoJabber.exe");

  • @ghendric
    @ghendric Před 3 lety +1

    the Inspect and UISpy tools don't run on windows 64bit. Are there newer versions of these available?

    • @Mukeshotwani
      @Mukeshotwani  Před 3 lety

      Hey George it should work, I am using Win64 during recording of this video.

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

    Can we do this automation using python rather than java??

  • @AkashGupta-hb6rj
    @AkashGupta-hb6rj Před 6 lety

    Quite interesting sir, This is very helpful.............................

    • @Mukeshotwani
      @Mukeshotwani  Před 6 lety

      Thanks Akash :) Hope you will implement this