Window App Automation using - Microsoft WinAppDriver

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ค. 2024
  • In this video, I have explained how to automate windows based applications using WinAppDriver.
    Windows Application Driver (WinAppDriver) is a service to support Selenium-like UI Test Automation on Windows Applications. This service supports testing Universal Windows Platform (UWP), Windows Forms (WinForms), Windows Presentation Foundation (WPF), and Classic Windows (Win32) apps on Windows 10 PCs.
    You can refer this GIT page :
    github.com/microsoft/WinAppDr...
    Install & Run WinAppDriver:
    Download Windows Application Driver installer from github.com/Microsoft/WinAppDr...
    Run the installer on a Windows 10 machine where your application under test is installed and will be tested
    Enable Developer Mode in Windows settings
    Run WinAppDriver.exe from the installation directory (E.g. C:\Program Files (x86)\Windows Application Driver)
    You need to download the windows kit to get the inspect tool:
    developer.microsoft.com/en-us...
    ~~~Subscribe to this channel, and press bell icon to get some interesting videos on Selenium and Automation:
    th-cam.com/users/Naveen%20Au...
    Follow me on my Facebook Page:
    / naveenqtpexpert
    Let's join our Automation community for some amazing knowledge sharing and group discussion on Telegram:
    t.me/joinchat/COJqZUPB02r5sB7...
    Paid courses (Recorded) videos:
    naveenautomationlabs.com/reco...
    For Java & Selenium - naveenautomationlabs.com/selen...
    For API (Manual + Automation) - naveenautomationlabs.com/manua...
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 130

  • @qhubaibsyed7116
    @qhubaibsyed7116 4 ปีที่แล้ว +16

    You again prove that master tho master heee hota hai, the best ever automation testing expert we all have ever seen 👌👌
    Thank you Naveen with all respect for you..

  • @SarangHoley
    @SarangHoley 4 ปีที่แล้ว +9

    All the selenium folks now have power to automate windows applications too 😊👍, thanks Naveen for demonstrating this. 😊

  • @rohitnegi8839
    @rohitnegi8839 4 ปีที่แล้ว +1

    Thanks 🙏 a lot Naveen, I understand how much it takes to research and make a tutorial of it... kudos . Most important thing is spread the knowledge ,that exactly what you do.

  • @rayalasrinivasarao7022
    @rayalasrinivasarao7022 3 ปีที่แล้ว +2

    awesome!!!! I have been looking for a good automation tool for desktop application and I tried AutoIT. But it has not worked for my application ( control elements not working). now I found this tool which supports selenium and different frameworks.. Thank you very much for this video.

  • @MDHOSSAIN-gj5ve
    @MDHOSSAIN-gj5ve 4 ปีที่แล้ว

    excellent job done by the master of Automation. Want to more valuable video like this.

  • @masoodfaroq4713
    @masoodfaroq4713 3 ปีที่แล้ว

    Awesome Naveen, I love your all toturials

  • @premsinghbisht1428
    @premsinghbisht1428 4 ปีที่แล้ว +1

    as always awsome work and awareness for many people...

  • @goginenikotesh6458
    @goginenikotesh6458 4 ปีที่แล้ว +1

    Thank you very much Naveen.. Its awesome!!

  • @sarojjha9243
    @sarojjha9243 4 ปีที่แล้ว +1

    Thankyou so much...very helpful and interesting

  • @PrashanthYadav-J
    @PrashanthYadav-J 4 ปีที่แล้ว +1

    Thanks👏most awaited

  • @deepthireddy1751
    @deepthireddy1751 4 ปีที่แล้ว +1

    Thankyou very much Naveen.You are awesome

  • @krishanuchakraborty3500
    @krishanuchakraborty3500 4 ปีที่แล้ว +3

    Hi Naveen, thanks again for a new topic. Had a quick question, how is it different from using Winium? It also makes the same rest API service calls etc to perform the actions.

  • @shareefshaik6678
    @shareefshaik6678 4 ปีที่แล้ว +1

    Awesome bhai 👌👌👌👌👌

  • @debajyotidebnath9425
    @debajyotidebnath9425 4 ปีที่แล้ว

    Thanks Naveen , upload this video, it's very helpful,
    Please upload more videos of Stand Alone Application or desktop application testing

  • @rammsteiniano477
    @rammsteiniano477 4 ปีที่แล้ว +1

    wooow so useful!!

  • @riseAboveA1
    @riseAboveA1 3 ปีที่แล้ว

    Hi Naveen ,
    Thank you for the wonderful video.
    I have one Question
    Can we use the WinAppDriver with WebDriver to automate file upload scenario instead of using AutoIT?

  • @tusshartikoo9714
    @tusshartikoo9714 4 ปีที่แล้ว

    Thanks naveen for this helpful video.
    I want to know that do winappdriver will automate desktop application even if system is log off ?

  • @rohanchristopher2265
    @rohanchristopher2265 4 ปีที่แล้ว

    Nice Session.......... Awesome

  • @sunnymore7745
    @sunnymore7745 4 ปีที่แล้ว +2

    i was waiting for this tutorial
    i need to automate a CAD software.
    so can you pls cover topic like Compare screenShots.

  • @iamtopgun
    @iamtopgun 4 ปีที่แล้ว

    Hi Naveen,
    I really enjoyed your tutorial, thanks for that. I also wanted to know if we can automate C# based windows applications as well? In the above tutorial just like you gave the path to the notepad, I gave the path of another C# based application but I kept getting the error - "The system cannot find the file specified" and "Unable to create a new remote session". I was wondering if there is some other capabilities that we need to keep in mind of.
    Thanks,
    Siddhant

  • @kushanchoudhury1942
    @kushanchoudhury1942 4 ปีที่แล้ว

    Thanks Naveen :)

  • @AKPK2016
    @AKPK2016 9 หลายเดือนก่อน

    Thank you so much Naveen for the wonderful and detailed video. So far I was blank on desktop application automation but going through this video I automated notepad application. Thank you for the effort you taken to create this video. I have one question, how to automate CLI tool? I have one CLI tool which is launched with certain commands then how to automate that? could you please advice on the same.

  • @shanthkumar4709
    @shanthkumar4709 2 ปีที่แล้ว +1

    Please make more videos on WinAppdriver for automating different kind of WindowElements.

    • @shanthkumar4709
      @shanthkumar4709 2 ปีที่แล้ว

      please make more videos on WinAppDriver

    • @pythonenthusiast9292
      @pythonenthusiast9292 ปีที่แล้ว

      @@shanthkumar4709 did u find any source for the same? since he Naveen is not making more

  • @ZeLordMephistophele
    @ZeLordMephistophele 3 ปีที่แล้ว +2

    Hi Naveen. Is there a tutorial for building a framework using WinAppDriver and C# as well? Would be great if you can create one

  • @msdeekshith1352
    @msdeekshith1352 ปีที่แล้ว +1

    Hi @Naveen
    Could you please let us know about Sikuli X , with Java or C# or python automation
    your way of teaching help us a lot
    But learning from you is simply superb

  • @mufeedtp5197
    @mufeedtp5197 3 ปีที่แล้ว

    Hi Naveen, it's very helping session. I have one doubt, can we automate the desktop application in headless mode using winappdriver?? Because I am planning to implement the CI/CD.

  • @rachimanwal957
    @rachimanwal957 2 ปีที่แล้ว

    Hi Naveen, again a great video from you..
    i was practicing it and was trying to automate a windows application with it but winappdriver is not looking for the application file at correct location.. is there any way that we can tell winappdriver to look at a particular location for the application related files?

  • @mohitgupta7145
    @mohitgupta7145 3 ปีที่แล้ว

    Hi Naveen, thanks for this video.. Can we do the same thing through Sikuli or AutoIT?

  • @prafullajha4002
    @prafullajha4002 2 ปีที่แล้ว

    Naveen wanted to know if we know selenium well so how easy it will be to pick and i read some blog like windows framework so is this vdo is same and last question how use full this windows automation is in the market wrt to getting the good job? Plz answer....and thanks in advance as i will start the vdo after getting more clarity but as always all ur videos are master piece for qa community

  • @ramnatrajan
    @ramnatrajan 3 ปีที่แล้ว

    Thanks for the video. I have a question, how to find xpath for a specific element on the screen? I see the Name and AutomationID for some fields are not unique, in that case how do I select a particular element. Please help.

  • @muthupondi9538
    @muthupondi9538 3 ปีที่แล้ว

    Hi Naveen, Thank you for great video .I have one question, how to automate the already opened windows application run time? Say i have a web application where on click on specific link opens a windows application.

  • @enginyasar7801
    @enginyasar7801 10 หลายเดือนก่อน

    Hi, thanks a lot for your great sharings. i have a question. Can WinAppDriver UI Recorder also find locators of JavaFX based desktop applications?

  • @ratnasireeshaduvvuri627
    @ratnasireeshaduvvuri627 2 ปีที่แล้ว

    Hi Naveen,
    Thanks for the video. Can we automate the installation procedure of Windows applications by using the win app driver.

  • @shaikamar2
    @shaikamar2 3 ปีที่แล้ว

    Hey naveen, thanks for the video.. I have one question, how to select values from drop down in window application using winium, please help

  • @aishwarya.ajakati9914
    @aishwarya.ajakati9914 4 ปีที่แล้ว

    Hi Naveen
    Thanks for the tutorial. I tried the same but I'm getting no such element exception when tried to click on the notepad options(File, view, edit, help...)The code for entering text inside notepad is working fine but clicking on notepad options in getting execeptions. Tried implicit , explicit waits, java script executor, actionsclass still same issues.

  • @amiteshsrivastava2506
    @amiteshsrivastava2506 2 ปีที่แล้ว

    It was great tutorial!!
    Over it I wanted to ask how to launch a chrome app installed on desktop, like pwa? like an google meet shortcut? it comes with an appId, can we use that to launch that as well?

  • @TheArian291
    @TheArian291 11 หลายเดือนก่อน

    Hi Naveen, could you please tell if i could switch to multiple apps between like how we switch in selenium for window handles? like from notepad to calculator that way. As in my current application it is that way., thank you.

  • @Sd_24_jay
    @Sd_24_jay 4 ปีที่แล้ว

    Can Inspector inspect the ui elements inside a remote desktop from local machine? (Remote desktop is windows based)

  • @quynhbui7526
    @quynhbui7526 ปีที่แล้ว +1

    Hi Naveen, does this tool support for 64-bit application?

  • @enochdone
    @enochdone 3 ปีที่แล้ว

    Very good tutorial. Can you please tell me how to launch an application as different user. like we do with "Runas" Command? Thanks in advance.

  • @automationneemo
    @automationneemo 3 ปีที่แล้ว

    Is there any way we can automate installation of any software like double click on the set up file, then next next ...and complete the installation?

  • @razakjanjoun2648
    @razakjanjoun2648 3 ปีที่แล้ว

    Where to find documentation for all command, when to use SendKeys or when to use getText() for example, how too choose from a comboBox or how to select a radio button?

  • @thiyamsunny6895
    @thiyamsunny6895 3 ปีที่แล้ว

    Sir, How could I perform double click action on any control of the windows application using selenium?

  • @bhavanigc1904
    @bhavanigc1904 2 ปีที่แล้ว

    Hi Naveen, Thank You so much for this video!
    can you help me for automating an UWP app?

  • @makarandethape1311
    @makarandethape1311 4 หลายเดือนก่อน

    Hi Naveen, My client application is installed outside program files in C drive. So is there any dependency that it should be installed in program files only ??

  • @varshabagewadi3338
    @varshabagewadi3338 ปีที่แล้ว

    Hi Naveen,
    Thanks for the wonderful video.
    can we Automate the application when its already opened.
    that means i dont need to open application through script,just want to move to the already opened app and automate it..
    is it possible?plz reply...

  • @shemistone
    @shemistone 3 ปีที่แล้ว

    Hi, I'm trying to test Alt Codes in Notepad. For example, Sendkeys(Keys.Alt + "32") types ! when NumLock is on. How can I press the NumLock key?

  • @abhiuppal4839
    @abhiuppal4839 3 ปีที่แล้ว

    Hi Naveen, Is there any possibility to run it for the Application installed in Windows 10 Virtual Machine.

  • @jerrickorbe8448
    @jerrickorbe8448 3 ปีที่แล้ว

    Hello, i tried the one you used and it worked in calculator and notepad. but in my app ive tried the same but it saying "another instance of the app is running". This error is at the launching. Ive checked Task Manager but only seem WinAppDriver running my app. any thoughts?

  • @prathameshshetye9946
    @prathameshshetye9946 3 ปีที่แล้ว

    more videos on this please

  • @brettbosworth264
    @brettbosworth264 4 ปีที่แล้ว

    What version of eclipse are you using?

  • @JohnDoe-cu6jv
    @JohnDoe-cu6jv 2 ปีที่แล้ว

    I can't find the project link in the description. Are you planning to upload on github?

  • @gangarajumahesh1674
    @gangarajumahesh1674 3 ปีที่แล้ว

    Naveen, I followed everything said by you but I am getting SessionNotCreatedException when I run my script. It says "Unable to create a new remote session. Please check the server log for more details. Original error: The system cannot find the file specified"
    Please suggest on what needs to be done ?

  • @sumitsaha9782
    @sumitsaha9782 4 ปีที่แล้ว +1

    Thanks Naveen for the tutorial. Can we have SAP application automation using WinApp driver ? pls advise

    • @naveenautomationlabs
      @naveenautomationlabs  4 ปีที่แล้ว

      I need to try.

    • @delankoh3494
      @delankoh3494 4 ปีที่แล้ว

      @@naveenautomationlabs i also need more info of how can we automate SAP using selenium?

  • @itsmeavinash3470
    @itsmeavinash3470 10 หลายเดือนก่อน

    How to print the Winapp driver console log to a text file .. in case element not found it just says not found without proper info of which element not found . The information is visible in Winappdriver exe console but unable to print it in test logs . Any thoughts ??

  • @venkadesands9719
    @venkadesands9719 ปีที่แล้ว

    Kindly suggest, which open source tool is best, i want to automate we own created desktop application like notepad in both os of windows and Linux

  • @maruf1287
    @maruf1287 2 ปีที่แล้ว

    @Naveen can we use it for mainframe interface automation?

  • @sudheendrakumar4486
    @sudheendrakumar4486 3 ปีที่แล้ว +1

    @Naveen AutomationLabs
    Could you please add a video to handle multiple windows in windows Application using Appium

  • @hiteshdarji9925
    @hiteshdarji9925 2 ปีที่แล้ว

    @Naveen In my app "Name" field contain blank value than how can we inspect that textbox?

  • @felixikem4957
    @felixikem4957 3 ปีที่แล้ว

    Please where can I find the Pom.xml dependencies for Appium, Testng, Selenium

  • @prakashhn2344
    @prakashhn2344 2 ปีที่แล้ว

    Hey hi your awesome to train and explanation to good but I have one doubts here how to automate electron bade application and it's desktop application pls clarify this

  • @mamadoualphadiallo1603
    @mamadoualphadiallo1603 2 ปีที่แล้ว

    Hello Naveen would it be possible to run winappdriver in headless mode in order to launch several jobs via jenkins please?

  • @akashdiware1583
    @akashdiware1583 4 ปีที่แล้ว +1

    Firet of all thanks a lot for this useful video! How to click on an element which is not in view, which needs to be scrolled? It's giving an error while sending click event to it: An element command could not be completed because the element is not pointer - or keyboard interactable.
    Thanks

    • @naveenautomationlabs
      @naveenautomationlabs  4 ปีที่แล้ว

      can u mail me ur script at naveenanimation20@gmail.com

    • @akashdiware1583
      @akashdiware1583 4 ปีที่แล้ว +1

      @@naveenautomationlabs Thanks for replying!
      well I think I can't because it is limited to specific application and its not possible to give you application as well! But I will try to figure out one generic script which expose the problem and will work at your end as well! I am working on Python so you need java script or Python is fine to you?

    • @RajChahalNsit
      @RajChahalNsit 4 ปีที่แล้ว

      @@akashdiware1583 check ScrollItemPattern property of ur element, if its true WinAppDriver automatically scrolls to this element before interacting with it. you don't have to do anything else to interact with these elements.

  • @user-zl5gr5ln7g
    @user-zl5gr5ln7g 5 หลายเดือนก่อน

    hi Naveen , how can i convert these project in to an exe file , so if i share that file with other and they run it on their system then it should run in their system

  • @goutham8130
    @goutham8130 2 ปีที่แล้ว

    Sir Can we automate oracle based windows application and all type of windows applications with winappdriver Like UFT ??

  • @Livespiritful
    @Livespiritful ปีที่แล้ว

    How to enable the bridge with the chrome browser which was opened manually?

  • @pdpkum9772
    @pdpkum9772 4 ปีที่แล้ว

    Since we are writing and quiting right. So we are getting that confirmation popup

  • @bhupeshgupta2132
    @bhupeshgupta2132 11 หลายเดือนก่อน

    Hi Naveen, Can we automate .Net based desktop GUI application with this tool..pls let me know if you need more info..

  • @fun_animal_facts
    @fun_animal_facts 2 ปีที่แล้ว

    Hi Naveen, how can I use AutomationID or LegacylAccessibleName to find the element

  • @K_H-Channel
    @K_H-Channel 2 ปีที่แล้ว

    Hi Naveen, How to click on an app from the system tray?

  • @balakumar8185
    @balakumar8185 9 หลายเดือนก่อน

    Great video..But, fails for new appium java-client and selenium version. Do someone have idea about this?

  • @poacher2865
    @poacher2865 4 ปีที่แล้ว +1

    Does this can be used to upload files on web

    • @RajChahalNsit
      @RajChahalNsit 4 ปีที่แล้ว

      yes , it can be used for interacting with upload/download prompts.

  • @Devi.Thummala11
    @Devi.Thummala11 8 หลายเดือนก่อน

    Win app driver is not supporting for selenium 4.Please let me know if you have any solution

  • @gowthamn1694
    @gowthamn1694 ปีที่แล้ว

    Hi sir I have doubt we can switch to winappdriver to webdriver means we can automate browser when click on link in windows Apps please reply me sir

  • @akshaymiraje4198
    @akshaymiraje4198 8 หลายเดือนก่อน

    Hi. @naveen Can we automate MS teams using this on windows?

  • @Someone_2923
    @Someone_2923 4 ปีที่แล้ว +1

    Naveen can we use this in windows server os?

    • @RajChahalNsit
      @RajChahalNsit 4 ปีที่แล้ว

      yes , you can ... i am using it on Window Server 2012

  • @saurabhparashar1895
    @saurabhparashar1895 2 หลายเดือนก่อน

    If I have to click on start menu and then click on search box and I want to search something... In this case what capabilities I need to set..

  • @anuradhatarigonda8751
    @anuradhatarigonda8751 2 ปีที่แล้ว

    Hi Naveen, This is Anuradha I am looking for how to automate desktop application using c# in visual Studio using WinAPP driver, Please can u make a demo for this too, please post it.

  • @ravipremani6201
    @ravipremani6201 3 ปีที่แล้ว

    How to attach the process id in win app driver in runtime because after launching the application the process name is getting changed

  • @SaurabhSingh-ie1kh
    @SaurabhSingh-ie1kh 4 ปีที่แล้ว +1

    Hi Naveen, when I am trying to automate notepad, with steps mention in tutorial, its happening successfully but when I am trying with different app(Office), its throwing Original error: Failed to locate opened application window with appId: ".exe file on local system", and processId: 10848. My Office application is built on Unity Platform. Is there any limitation on Automation of such applications. Please help on this

    • @sureshb134
      @sureshb134 4 ปีที่แล้ว +1

      Any solution.??? . For it. Could you please let me know. I'm also facing similar error...

    • @sureshb134
      @sureshb134 4 ปีที่แล้ว

      @Surabhi singh

    • @SaurabhSingh-ie1kh
      @SaurabhSingh-ie1kh 4 ปีที่แล้ว

      @@sureshb134 Not yet...

  • @trueindian2108
    @trueindian2108 2 ปีที่แล้ว

    Hello .. can we automate PDF using WAD?

  • @yogeshku5047
    @yogeshku5047 11 หลายเดือนก่อน

    Hi sir I want to build POM class for this desk top automation using @FindBy annotation it is possible to do ?

  • @abishaprabakaran9561
    @abishaprabakaran9561 3 ปีที่แล้ว

    can we use page object model here

  • @arupbose1992
    @arupbose1992 2 ปีที่แล้ว

    How can I handle alerts using winappdriver?

  • @Livespiritful
    @Livespiritful ปีที่แล้ว

    My Requirement is:
    Prerequisites: 1) Launch Google Chrome as "Run as Different User" (Right click of the Chrome icon) 2) Enter Windows user and password in the popup when it appears 3) Google chrome launches manually
    Actual Test begins: I need to enable the bridge with the manually opened Google Chrome browser and then continue the rest of the test.
    Do you have any solution? Your help is very much appreciated.

  • @NitaiChandRout
    @NitaiChandRout 10 หลายเดือนก่อน

    Hi sir, i am trying to automate an application developed using C#. While opening that app, it is showing error No usable plugins were located in the folder ‘.’ Pleasure ensure that a plugin exists. It is opening the app with the above error

  • @abbinenivenkatesh6450
    @abbinenivenkatesh6450 3 ปีที่แล้ว

    hi sir
    can you help, I am not getting the URL of the exe file it is closing when I tried to open

  • @sukanyasudarsanannair
    @sukanyasudarsanannair 4 หลายเดือนก่อน

    Does this work for Linux os?

  • @priyarajurkar4567
    @priyarajurkar4567 ปีที่แล้ว

    Could you please give more information about winapp driver

  • @shamalnarwade7701
    @shamalnarwade7701 ปีที่แล้ว

    Hello Naveen, my application opens by clicking on bat file. And in winappdriver server window i am getting error failed to locate opened application window with appId. Could you please give me some solution on this

  • @powerpointexpo2379
    @powerpointexpo2379 2 ปีที่แล้ว

    how to Perform element right click on UWP App

  • @vignesh1720
    @vignesh1720 ปีที่แล้ว

    Anyone please help me to highlight element in windows application

  • @meditationmusic38
    @meditationmusic38 ปีที่แล้ว

    How can we automate Java based desktop application.

  • @swatigupta7909
    @swatigupta7909 3 หลายเดือนก่อน

    is there a possibility to show this with python , thanks in advance.

  • @satishkumarsingh5934
    @satishkumarsingh5934 4 ปีที่แล้ว

    Never can we assume that .. now we can be able to automate outlook.. perfectly.. because while working alot of scenario which are based on outlook automation.. email sending test scripts..many people would be aggred on that ..they might have faced this scenarios many time ..

    • @satishkumarsingh5934
      @satishkumarsingh5934 4 ปีที่แล้ว

      *Naveen

    • @RajChahalNsit
      @RajChahalNsit 4 ปีที่แล้ว

      you should prefer VBA for outlook automation .... if you try to interact using any windows interaction it will be slow and failure prone.

  • @SureshKumar-hn3zh
    @SureshKumar-hn3zh 4 ปีที่แล้ว +1

    facing issue : need help
    org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: Failed to locate opened application window with appId: C:\Program Files (x86)\QAD\QAD-ITG\QAD.Applications.exe, and processId: 11552 (WARNING: The server did not provide any stacktrace information)
    my code :
    public class QADDemoTest {

    public static WindowsDriver wdriver;
    private String currentWindowHandle;

    @BeforeTest
    public void setup() throws InterruptedException, MalformedURLException {

    DesiredCapabilities cap=new DesiredCapabilities();
    cap.setCapability("app","C:\\Program Files (x86)\\QAD\\QAD-ITG\\QAD.Applications.exe");
    cap.setCapability("platformName","Windows");
    cap.setCapability("deviceName","WindowsPC");
    // cap.setCapability("app","Microsoft.AutoGenerated.{63C54119-21DC-4B88-3036-F1894A0D6130}");
    System.out.println("app lnch");
    cap.setCapability("ms:waitForAppLaunch", "25");
    System.out.println(" strt after wait");
    wdriver=new WindowsDriver(new URL("127.0.0.1:4723"), cap);
    System.out.println("cnct url- FAILING HERE");
    }

    @AfterTest
    public void cleanup() {
    wdriver.quit();
    }

    @Test(priority=1)
    public void launchQADAplcn() throws InterruptedException {
    Thread.sleep(5000);
    wdriver.findElementByAccessibilityId("526350").sendKeys("xyz");
    wdriver.findElementByAccessibilityId("1313382").sendKeys("abc!");
    wdriver.findElementByAccessibilityId("2").click();
    }
    @Naveen AutomationLabs

  • @AbhishekKumar-re1iq
    @AbhishekKumar-re1iq 3 ปีที่แล้ว

    what about winium...

  • @Imrankhan-xw4me
    @Imrankhan-xw4me 2 ปีที่แล้ว

    you've not given git repo URL bro

  • @BirdViewes
    @BirdViewes 3 ปีที่แล้ว +1

    Hi Naveen,What could be the reason for below error
    code snippet :
    public class Sample {
    static String AppExePath = "C:\\Program Files (x86)\\BRU\\BRUAPP\\BRUGui.exe";
    static String appiumDriverURI = "127.0.0.1:4723";
    public static WindowsDriver desktopSession = null;
    @BeforeClass
    public static void setup() {
    try {
    DesiredCapabilities cap = new DesiredCapabilities();
    cap.setCapability("app", AppExePath);
    cap.setCapability("platformName", "Windows");
    cap.setCapability("deviceName", "WindowsPC");
    desktopSession = new WindowsDriver(new URL(appiumDriverURI), cap);
    desktopSession.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);
    } catch (Exception ee) {
    System.out.println("###### in catch:: ");
    ee.printStackTrace();
    Error:
    org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: Failed to locate opened application window with appId: C:\Program Files (x86)\DST\TA2000\TaGui.exe, and processId: 18852 (WARNING: The server did not provide any stacktrace information)
    Command duration or timeout: 1.72 seconds
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
    System info: host: 'HDLT0392', ip: '192.168.1.101', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_191'
    Driver info: driver.version: WindowsDriver
    Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:17:03'
    System info: host: 'HDLT0392', ip: '192.168.1.101', os.name: 'Windows 10', os.arch: 'x86', os.version: '10.0', java.version: '1.8.0_191'
    Driver info: driver.version: WindowsDriver
    at io.appium.java_client.remote.AppiumCommandExecutor$1.createSession(AppiumCommandExecutor.java:208)
    at io.appium.java_client.remote.AppiumCommandExecutor.createSession(AppiumCommandExecutor.java:217)
    at io.appium.java_client.remote.AppiumCommandExecutor.execute(AppiumCommandExecutor.java:239)
    at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:552)
    at io.appium.java_client.DefaultGenericMobileDriver.execute(DefaultGenericMobileDriver.java:41)

    • @vijjays
      @vijjays 3 ปีที่แล้ว

      I got the same, any solution ?

  • @manojkumargorikada959
    @manojkumargorikada959 ปีที่แล้ว

    Hi Sir,
    Can we automate SAP by using winappdriver with support of Selenium?

    • @NISHOW.
      @NISHOW. ปีที่แล้ว

      @Manoj did you use it for SAP automation? Or anything else you used. Please let me know your experience. I have similar requirement. Thanks