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..
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.
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.
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
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.
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.
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
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...
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?
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?
Hey Naveen, Thanks for this great video. Do you know if it's possible to automate Windows based popups that we see on browsers and to automate them we usually use AutoIT Script, Can we automate them using winappdriver ?
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.
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?
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.
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.
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
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.
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 ??
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?
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 ?
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.
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
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
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 ??
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.
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 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?
@@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.
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
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.
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
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?
How can we navigate to the 2nd child window which I opened from calculator-options-about-send-feedback where I need to enter text. Can you please help me regarding this
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
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 ..
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)
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..
All the selenium folks now have power to automate windows applications too 😊👍, thanks Naveen for demonstrating this. 😊
Thank you Naveen for this session. It is really a good session to start of windows application testing.
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.
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.
excellent job done by the master of Automation. Want to more valuable video like this.
Awesome Naveen, I love your all toturials
Awesome bhai 👌👌👌👌👌
as always awsome work and awareness for many people...
Please make more videos on WinAppdriver for automating different kind of WindowElements.
please make more videos on WinAppDriver
@@shanthkumar4709 did u find any source for the same? since he Naveen is not making more
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
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.
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.
Hi Naveen. Is there a tutorial for building a framework using WinAppDriver and C# as well? Would be great if you can create one
Thanks👏most awaited
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
Thankyou very much Naveen.You are awesome
Thank you very much Naveen.. Its awesome!!
Thanks Naveen , upload this video, it's very helpful,
Please upload more videos of Stand Alone Application or desktop application testing
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...
Hi, thanks a lot for your great sharings. i have a question. Can WinAppDriver UI Recorder also find locators of JavaFX based desktop applications?
Thanks naveen for this helpful video.
I want to know that do winappdriver will automate desktop application even if system is log off ?
i was waiting for this tutorial
i need to automate a CAD software.
so can you pls cover topic like Compare screenShots.
Thankyou so much...very helpful and interesting
@Naveen AutomationLabs
Could you please add a video to handle multiple windows in windows Application using Appium
Hi Naveen,
Thanks for the video. Can we automate the installation procedure of Windows applications by using the win app driver.
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?
Hi Naveen, thanks for this video.. Can we do the same thing through Sikuli or AutoIT?
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?
Hi Naveen, does this tool support for 64-bit application?
Hey Naveen, Thanks for this great video. Do you know if it's possible to automate Windows based popups that we see on browsers and to automate them we usually use AutoIT Script, Can we automate them using winappdriver ?
yes we can automate anything on windows desktop
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.
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?
Nice Session.......... Awesome
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.
Thanks Naveen for the tutorial. Can we have SAP application automation using WinApp driver ? pls advise
I need to try.
@@naveenautomationlabs i also need more info of how can we automate SAP using selenium?
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.
I can't find the project link in the description. Are you planning to upload on github?
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
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.
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 ??
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?
thank you!
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 ?
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.
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
did u get any answer?
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
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.
Hey naveen, thanks for the video.. I have one question, how to select values from drop down in window application using winium, please help
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
Any solution.??? . For it. Could you please let me know. I'm also facing similar error...
@Surabhi singh
@@sureshb134 Not yet...
Hi Naveen, Can we automate .Net based desktop GUI application with this tool..pls let me know if you need more info..
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 ??
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
Hi Naveen, Thank You so much for this video!
can you help me for automating an UWP app?
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?
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.
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
can u mail me ur script at naveenanimation20@gmail.com
@@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?
@@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.
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
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?
How to enable the bridge with the chrome browser which was opened manually?
Could you please give more information about winapp driver
Can Inspector inspect the ui elements inside a remote desktop from local machine? (Remote desktop is windows based)
Hello Naveen would it be possible to run winappdriver in headless mode in order to launch several jobs via jenkins please?
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.
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
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?
How can we navigate to the 2nd child window which I opened from calculator-options-about-send-feedback where I need to enter text.
Can you please help me regarding this
Great video..But, fails for new appium java-client and selenium version. Do someone have idea about this?
Hi. @naveen Can we automate MS teams using this on windows?
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..
@Naveen In my app "Name" field contain blank value than how can we inspect that textbox?
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
Win app driver is not supporting for selenium 4.Please let me know if you have any solution
Sir, How could I perform double click action on any control of the windows application using selenium?
How to attach the process id in win app driver in runtime because after launching the application the process name is getting changed
@Naveen can we use it for mainframe interface automation?
Hi Naveen, How to click on an app from the system tray?
Hi Naveen, Is there any possibility to run it for the Application installed in Windows 10 Virtual Machine.
Sir Can we automate oracle based windows application and all type of windows applications with winappdriver Like UFT ??
Hi Naveen, how can I use AutomationID or LegacylAccessibleName to find the element
session not created exception I am observing could you help on this ?
wooow so useful!!
What version of eclipse are you using?
Since we are writing and quiting right. So we are getting that confirmation popup
Please where can I find the Pom.xml dependencies for Appium, Testng, Selenium
Hi sir I want to build POM class for this desk top automation using @FindBy annotation it is possible to do ?
How can I handle alerts using winappdriver?
Naveen can we use this in windows server os?
yes , you can ... i am using it on Window Server 2012
hi sir
can you help, I am not getting the URL of the exe file it is closing when I tried to open
is there a possibility to show this with python , thanks in advance.
Thanks Naveen :)
Hi Sir,
Can we automate SAP by using winappdriver with support of Selenium?
@Manoj did you use it for SAP automation? Or anything else you used. Please let me know your experience. I have similar requirement. Thanks
more videos on this please
How can we automate Java based desktop application.
Hello .. can we automate PDF using WAD?
Does this can be used to upload files on web
yes , it can be used for interacting with upload/download prompts.
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 ..
*Naveen
you should prefer VBA for outlook automation .... if you try to interact using any windows interaction it will be slow and failure prone.
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)
I got the same, any solution ?
Does this work for Linux os?
how to Perform element right click on UWP App