Тёмный

Desktop GUI Automation using Python | Automate your Desktop Applications | Automate Your Daily task 

Rafique javed
Подписаться 2,6 тыс.
Просмотров 75 тыс.
50% 1

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 158   
@diponsamaddar480
@diponsamaddar480 4 года назад
Rafique, clearly explains every concept and shows that he has good knowledge on the subject. Keep making such helpful videos. May be another video about working with different controls with Pywinauto would be very helpful.Thanks again.
@rafiquejaved1223
@rafiquejaved1223 4 года назад
@ Dipon Samaddar, Thanks a lot for your comment. Your words meant a lot to me and it really enourages me to do what i am doing now.
@tsrinivas2406
@tsrinivas2406 3 года назад
Awesome. This is exactly what I was looking for. Thank you so much for sharing this my friend.
@bernardantony8457
@bernardantony8457 2 года назад
Thank you for the Video, I have a question can we do this to launch desktop applications thank you?
@raviraj_pawar
@raviraj_pawar 3 года назад
This is really helpful 👍 but can you explain why did you used handle for browse last. Detail description or explanation of functions could help us to understand code .
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi I will try to explain from my next videos. Regards, Rafique
@techystack479
@techystack479 4 года назад
Hi Bro! Some times application takes more time to load. So those cases how can we handle? Example:- I am having one application it will take more time to load as normal at that time static time will won't helps me so i need to create dynamic time based on some other element came how can we do? Thanks in advance
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi, Sorry for the delayed response. You can try the below after your start application app.windowtitle.wait('enabled', timeout=10) It will wait till 10 sec and then throw exception. You can increase the timeout to 20-25s. Regards, Rafique
@omkarjadhav6183
@omkarjadhav6183 3 года назад
you can also use time.sleep(here time in seconds)
@prasadpsp
@prasadpsp 2 года назад
Thanks, Rafique for this video. I have a question, can we work on other stuff while such automation is in progress?
@rafiquejaved1223
@rafiquejaved1223 2 года назад
No, u can't perform other tasks whenever GUI automation is running
@akash2392
@akash2392 3 года назад
Hi Rafique, First of all, nice tutorial. Thanks for that. I tried the ways shown in the video to automate appium-desktop windows application but not able to do. When I print app.windows(), it is showing an empty array. Can u help me in this ?
@MohitKolhe
@MohitKolhe Месяц назад
Which UI(example - DevExpress) is implemented on that Application ?
@jalalahmed3654
@jalalahmed3654 Год назад
Nice sharing sir..
@tahabfd5387
@tahabfd5387 Год назад
This is brilliant. Can this also be used to navigate through web browser pages, i.e. facebook on google chrome?
@rafiquejaved1223
@rafiquejaved1223 Год назад
Hi Taha, For web page automation, please use selenum for Web ui automation(ru-vid.com/group/PLnbSLn-JZGFBbY2dLTQuaI6pSApHwzBXL). Regards
@ArmenianWingChun
@ArmenianWingChun 3 года назад
Thanks for video. Is there similar module for Mac OS?
@fatinnabilla3651
@fatinnabilla3651 2 года назад
Hi Rafique, can we automate the gui application in an inactive remote server? Or it needs an active session?
@younessid437
@younessid437 9 месяцев назад
I wanna thank you so much for this ammazing explaination
@automationneemo
@automationneemo 2 года назад
Hi from where you are getting whether it is list box or combobox?
@naveenkunapalli
@naveenkunapalli 2 года назад
Hello Rafique, this video was informative but could you please help me with different use case where I want the list of files which are active in a windows explorer...active files means the files which we select using ctrl+ right click
@thegirlnextdoor7772
@thegirlnextdoor7772 Месяц назад
HI ,can we use python automation to interact with the RDB and automate RDB by running code in local? if so can you please make a video on that?
@thegirlnextdoor7772
@thegirlnextdoor7772 Месяц назад
RDC*
@shankerm3959
@shankerm3959 4 года назад
I have a feeling this is going to be very useful to me. Thanks
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Thanks Shanker
@Rajuthunder
@Rajuthunder 3 года назад
Brother this video really awesome I am just beginner for python but easy to understand, I have one click once winform do you have any video to automate .Net based winform application like handle multiple window, combobox, menus
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi, I dont have any specific video to autmate winform. Butbit will b mre or less same only.
@Rajuthunder
@Rajuthunder 3 года назад
@@rafiquejaved1223 Thanks for reply, can guide me to get current window title and do while until is loaded
@斯塔博-j5p
@斯塔博-j5p Год назад
can you help me? Error returned by CreateProcess: (87, 'CreateProcess', 'The parameter is incorrect.')
@ravirai4412
@ravirai4412 4 года назад
Thank you for this video . It helped me immensely and solved my automation problem.
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Ravi, Thanks for your valuable feedback. This increases my confidence. Regards, Rafique
@shaiksohailanwar8137
@shaiksohailanwar8137 2 года назад
Hello rafique, explanation was too good can you please the command we use to exit the application automatically like for example to exit the fileZilla server automatically in this video scenario
@ankitpatel-bg3xi
@ankitpatel-bg3xi 3 года назад
Hi Rafique, thank you for the video. What is the the command to scroll up and scroll down a particular window?
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi, You can use pywinauto mouse for doing this. Get the center coordinates of the window of the application, pywinauto.mouse.scroll(coords=(0, 0), wheel_dist=1) # for scroll up , wheel_dist=1, for scroll down, its in negative, you can increase or decrease the wheel_dist based on your requirement. and coords should be center coords of the window. Thanks
@swatiporwal69
@swatiporwal69 2 года назад
Thanks for the video sir it was very helpful for me.
@masthanvali2861
@masthanvali2861 4 года назад
Its really very good video. Thank you. I have a question. I have Windows GUI where I want to read data what is available in textfields and all items in combobox or dropdown box. May I know how this can be achieved using PyWinAuto?.
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Masthan, Thanks for writing to me. Will get you backby tomorrow. Regards, Rafique
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Also please do share me your mail id or send me an email to my id rafiquejaved2@gmail.com, so that i can send you an example with explanation
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Masthanvali, I have created on a video on your requirement. Below is the link of the same, ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Y8ZO3I55lTc.html Please let me know if any issues. Thanks, Rafique
@masthanvali2861
@masthanvali2861 4 года назад
@@rafiquejaved1223 Any Update
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi, I have created a video on the same,, ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Y8ZO3I55lTc.html Hope this satisfies your requirement. Please do let me know about it. Regards, RAFIQUE
@ammadkhan4687
@ammadkhan4687 Год назад
are the commands same for every Application?
@harikag398
@harikag398 3 года назад
Hi This is very helps to me. In this video you are going with title of window. But in my application there is title less windows. such situation how we can enter the value inside that window.
@rafiquejaved1223
@rafiquejaved1223 3 года назад
U can use the process id to find the running application
@harikag398
@harikag398 3 года назад
@@rafiquejaved1223 still i am getting error. I need your assistance to my project. If you can please help me.
@kingking4755
@kingking4755 3 года назад
Did you figure it out? How do you find our processing id?
@dharmagurram958
@dharmagurram958 3 года назад
Excellent work bro your video helped me a lot in starting my project. Bro will this library work in linux ? If not suggest any alternatives of this library in linux . Thanks in advance
@rafiquejaved1223
@rafiquejaved1223 3 года назад
It will work in linux but only keyboarrd and mouse functionalities will work. I havee lots of videos created with pywinauto.you can go through those. Regards, Rafique
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Pywinauto is developed for automating Windows GUI application, But yes you can use pywinauto mouse and keyboard controls for automating Linux applications.
@pushpavismaya6482
@pushpavismaya6482 4 года назад
Thank you so much rafique I learnt lot from you
@rafiquejaved1223
@rafiquejaved1223 4 года назад
My pleasure.
@Anilpatel-ww3xu
@Anilpatel-ww3xu 2 года назад
Excellent Video
@ravitejapasupuleti2643
@ravitejapasupuleti2643 3 года назад
Error returned by CreateProcess: (2, 'CreateProcess', 'The system cannot find the file specified.') PS C:\Users pasupuleti4> need help with this
@vivikanse6005
@vivikanse6005 Год назад
Can do this automation with putty, then connect and sent some command
@JohnnyBikerOfficial
@JohnnyBikerOfficial 2 года назад
Will this be applicable on jnlp files also?
@listeve3493
@listeve3493 Год назад
Very useful, thank you very much🤩
@goelprak
@goelprak 3 года назад
thanks for sharing the video..Can you please help when i try launching an setup.exe i am getting this error (requested operation requires elevation ) how to resolve this
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi, You can try the below, import admin if not admin.isUserAdmin(): admin.runAsAdmin() or create a batch file and put the python script path in it and run the batch file as administrator.
@senthilsiriangam
@senthilsiriangam 3 года назад
Hi Thank you sooo much for the video. It's really very helpful for us also could you please create a video on how to automate the putty box please
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi Senthil, Have created a video on Putty. regards, rafique
@senthilsiriangam
@senthilsiriangam 3 года назад
@@rafiquejaved1223 Thank you soo much
@dezinhtang
@dezinhtang 2 года назад
It is helpful and I scribe your channel!
@rafiquejaved1223
@rafiquejaved1223 2 года назад
Thanks for subbing!
@斯塔博-j5p
@斯塔博-j5p Год назад
I run the script but it says the software must run with administrator. Do you have any way?
@skysaan7018
@skysaan7018 3 года назад
Bhai jaan, good job! Thanks for sharing.👍
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Welcome:)
@rajeevsharma4400
@rajeevsharma4400 3 года назад
Thank you so much Boss👍
@ashishashk4503
@ashishashk4503 4 года назад
Here field name is itsself identifiers. No need to inspect by inspect tool?
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Ashish, It varies from app to app. Its better to use Inspect tool or print_control_identifiers() to fetch the class name/control name of each object Regards, RAFIQUE
@nellaimuthuvels7099
@nellaimuthuvels7099 2 года назад
i am following the same steps to pass data to username, but its not going. its says the winodw name is not found..Can you please help bro
@serta5727
@serta5727 4 года назад
Pretty awesome pywinauto demo :)
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Thanks😀
@waniya-huzzu
@waniya-huzzu 3 года назад
@@rafiquejaved1223 can we automate java Swing Application ?
@kingking4755
@kingking4755 3 года назад
What do you do if the window open has a " - name -" would you write it as app.-name-.???
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi, You can use the PID to connect to an open window. import psutil process_name = "EXCEL" # your application process name from Task manager pid = None for proc in psutil.process_iter(): if process_name in proc.name(): pid = proc.pid print(pid)
@NapaBlueSpirit
@NapaBlueSpirit 4 года назад
it I guess your syntax of apps.Users and apps.users didn't produce any errors. It s not case sensitive ?
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi, Yes, it's not case sensitive. Regard's, Rafique
@nemborodrick2359
@nemborodrick2359 2 года назад
i love your video
@dushyantbhagwani
@dushyantbhagwani 2 года назад
Hey Rafique, I am getting an error while importing pywinuato. Import win32ui Import error : dll load failed while importing win32ui : a dynamic link library (DLL) initialization routine failed
@dushyantbhagwani
@dushyantbhagwani 2 года назад
I was able to fix it by upgrading the pywin32 to version 300
@apocalypticbean
@apocalypticbean 3 года назад
Why do you write it like: u' "something" ' Could you change it to r"something" instead? If not then why not?
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi, If you want to store string in unicode type you can put u in front of the text like u'text' or you can do this by calling unicode('text') You can ignore "u". It is used in python 2.x Why we use r? You cannot store one backslash by using r, it's the only exception. So this code will produce error: r'\' To store a backslash (only one) you need to use '\\' If you want to store more than 1 characters you can still use r like r'\\' will produce 2 backslashes as you expected. Hope you are clear about u and r.. Regards, Rafique
@apocalypticbean
@apocalypticbean 3 года назад
@@rafiquejaved1223 thank you for the detailed response. Makes sense to me
@himanshugehlot8866
@himanshugehlot8866 4 года назад
HI Rafique, i liked ur tutorial but i am not able to click ok on windows security while doing RDP. i have reached till entering password but no luck to click OK button.
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Himanshu, I believe, you need to lower down the UAC security, because, pywinauto will not be able to find the windows security window. Regards, Rafique
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Himanshu, Did you try this, app.windowtitle.Button.OK.click() or app.windowtitle.OKButton.click() If still not, Then write the below line after the password script. send_keys("{ENTER}") you need to import the below line first from pywinauto.keyboard import send_keys
@Hrajesh21
@Hrajesh21 4 года назад
Good one Rafique ....
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Thanks
@brundhasholaganga3854
@brundhasholaganga3854 3 года назад
Btw how to click on close option in windows, i mean how to close application is it app.exit()
@rafiquejaved1223
@rafiquejaved1223 3 года назад
send_keys("%{F4}")
@Wakishaki
@Wakishaki 3 года назад
Can you please show how we can access a comboBox using PywinAuto?
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi, Video is already available. Try the below link ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-Y8ZO3I55lTc.html
@durgaganesh423
@durgaganesh423 3 года назад
Hi any possible to get installed driver version details? And OS version? Etc
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi, You can use nmap to get the OS name via python. first get the list of active IPs in the network via nmap network scanning and then get the hostnames os OS details for those active IPs. Thanks
@robceballos8976
@robceballos8976 4 года назад
Hi! great tut Great video! Can you help me, I'm a beginner. I have the following error. Can you help me troubleshoot this? " ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed. " Info: Windows 10 (64bit) py3.9, PycharmCE2020.
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Rob, Did you install pypiwin32 or pywin32 library? If you have installed pypiwin32 then uninstall it and install pywin32. Let me know if this helps, Regards Rafique
@vinayap2792
@vinayap2792 4 года назад
@@rafiquejaved1223 . Thanks for the video. I am also using the same settings as Rob. (Windows 10 (64bit) py3.9, PycharmCE2020.) and getting the same error " ImportError: DLL load failed while importing win32ui: A dynamic link library (DLL) initialization routine failed. ". I've not installed pypiwin32. Please suggest on how to resolve this issue. Thanks
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi, I will try to recreate the issue and get back to u with solution. Most probably its an environment related issue. Also did you try running the same script using python IDE. Regards, Rafique
@vinayap2792
@vinayap2792 4 года назад
@@rafiquejaved1223 Thank you.
@vinayap2792
@vinayap2792 4 года назад
I tried running the same script using python IDE pycharm but the same response.
@maheshpanchajanya2803
@maheshpanchajanya2803 2 года назад
How can we open .Mdb file and automate
@masthanvali2861
@masthanvali2861 4 года назад
How to open windows application in admin mode (by entering admin username and pwd ) using pywinauto?.
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Masthan, The UAC confirmation dialog cannot be automated. However you can disable the UAC in settings. Regards, Rafique
@sbsyr5555
@sbsyr5555 3 года назад
How did you get the button ids?
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi Balaji, You can get the access name or IDs using swapy or inspect.exe tool. Regards,
@rohangoyal8113
@rohangoyal8113 3 года назад
Anything for Linux UI automation?
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Hi Rohan, As of now, i dont have anything in linux.. Regards, Rafique
@harshavardanakella1560
@harshavardanakella1560 4 года назад
How can we automate a similar application on Linux lets say on Ubuntu ?
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Harsh, Pywinauto is developed for automating Windows GUI application, But yes you can use pywinauto mouse and keyboard controls for automating Linux applications. But i have never tried doing this. Thanks, Rafique
@ikaran7
@ikaran7 3 года назад
This was helpful
@kangcreator186
@kangcreator186 4 года назад
plz make a video to automate chrome using pywinauto
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi, I will not suggest to automate WebUi application using Pywinauto. You can use Pywinauto but mostly you will be required to use Mose and keyboard controls for automation. Rather you can use python robot framework for doing the same. I have videos on this. You can have a look. Still i will make a video on Chrome using pywinauto and will publish it. Regards, Rafique
@kangcreator186
@kangcreator186 4 года назад
@@rafiquejaved1223 Thanks for the fast reply, I will watch that ("python robot framework") video, By the way Nice Video :)
@kangcreator186
@kangcreator186 4 года назад
@@rafiquejaved1223 I have checked that ("python robot framework") but, there might a confusion. I am not looking for a website or webpages automation on chrome. I am looking for chrome automation like opening/closing new tabs, changing some chrome settings In that way I want to control the chrome browser, not the webpage/website opened in chrome. I have no interest in the automation of webpages.
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Ok got your points. Then that should be doable using pywinauto. My next video will be on this... Thanks
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi, Please have a look into the video created for chrome GUI automation, ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-6G60NYyUhNE.html
@shashodakalindu9131
@shashodakalindu9131 3 года назад
Sir I need to convert wireframe to GUI, how can i do that?
@rafiquejaved1223
@rafiquejaved1223 3 года назад
Sorry buddy, no idea on this.
@ravirai4412
@ravirai4412 4 года назад
How to pass text to window whose name starts with number?like notepad named as 102.txt
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Ravi, Can you please elaborate more on what you want to achieve? Is it something you are looking to open notepad with filename "102.txt"? Regards, Rafique
@ravirai4412
@ravirai4412 4 года назад
@@rafiquejaved1223 i have emailed you , kindly have a look
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Ravi, I will get back to you. Regards, Rafique
@kcvinu
@kcvinu Год назад
I can't handle when someone uses "=" sign without a space on both side. Terrible.
@adinarayanakommisetti6167
@adinarayanakommisetti6167 3 года назад
Hello can you help me for automated test script fast
@rajeshargade3720
@rajeshargade3720 5 месяцев назад
If screen title is having space in name then how to write
@rajeshargade3720
@rajeshargade3720 5 месяцев назад
Example title as" My app 2.3"
@W-meme
@W-meme 3 года назад
Could not find in dict_keys error.
@rafiquejaved1223
@rafiquejaved1223 3 года назад
May be u r trying to connect to a window or any element which is not available.
@W-meme
@W-meme 3 года назад
@@rafiquejaved1223 so automation is not possible?
@indianyoutubernaz5564
@indianyoutubernaz5564 2 года назад
I am watching
@nemborodrick2359
@nemborodrick2359 2 года назад
and you dial it automatically
@ashishashk4503
@ashishashk4503 4 года назад
How to log in through the text box
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi, I have written a small code for the same, if you looking for standalone login window and type the credentials in the text box then the below command should work for you # find the open window with the titlename w_handle=pywinauto.findwindows.find_windows(title=u'yourwindowtitlename')[0] # if your title is big you can best_match instead of title window=app.window(handle=w_handle) window.wait('ready',timeout=3) #using inspect tool you can find the object name for the entrybox window[u'username:Edit'].type_keys("Your username") window[u'Password:Edit'].type_keys("Your password") window.Ok.click() # Hope this works, if not, please mail me at rafiquejaved2@gmail.com with your requirement. # There is one more video available, that may help you with automating Desktop applications, ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-ekqxkUExvlc.html.
@ashishashk4503
@ashishashk4503 4 года назад
@@rafiquejaved1223 Respected Sir, Please let me know,if I have made exe file from .py file through Pyinstaller then this exe file can be automated or not? What I have noticed sir,If we install the software on windows then this works Only
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Ashish, Yes this exe file can very well automate your task even is Windows which don't have python interpreter installed. If you need to go through py.exe conversion you can refer the below video. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-qihNyu7hoO0.html Also if you don't want any console to be opened during execution of exe file, you can use the below command, which i haven't mentioned in the video, pyinstaller --onefile --noconsole your.pyfile.py Regards
@ashishashk4503
@ashishashk4503 4 года назад
@@rafiquejaved1223 Dear Sir,Suppose I have created an exe file from .py file and I kept it on desktop. And also in this .exe file there are three three things ..first name,last name with the text boxes and one command button with ok label. Now I have to automate it. I mean pls help me to write full python command at first to execute that desktop python exe file and after that they will type user first name and last name in two different text boxes and then do click on ok. Regards
@rafiquejaved1223
@rafiquejaved1223 4 года назад
Hi Ashish, Sure i will help you out. I just want to know that the first name and last name is a static one or dynamic variable. Regards
@indianyoutubernaz5564
@indianyoutubernaz5564 2 года назад
Aman
@nemborodrick2359
@nemborodrick2359 2 года назад
using pyton
@TarunKumar-ve9wm
@TarunKumar-ve9wm 4 месяца назад
app =Application().start(cmd_line=u'"C:\NebulaFNORMS\8110\FactotumRMS6Leg_dpr_03Nov23__OBF.exe" ') showing an error
@rushirajgohil874
@rushirajgohil874 Год назад
Hi Rafique, getting following error, can you please help out. error Traceback (most recent call last) File ~\Anaconda3\lib\site-packages\pywinauto\application.py:1038, in Application.start(self, cmd_line, timeout, retry_interval, create_new_console, wait_for_idle, work_dir) 1037 try: -> 1038 (h_process, _, dw_process_id, _) = win32process.CreateProcess( 1039 None, # module name 1040 command_line, # command line 1041 None, # Process handle not inheritable. 1042 None, # Thread handle not inheritable. 1043 0, # Set handle inheritance to FALSE. 1044 dw_creation_flags, # Creation flags. 1045 None, # Use parent's environment block. 1046 work_dir, # If None - use parent's starting directory. 1047 start_info) # STARTUPINFO structure. 1048 except Exception as exc: 1049 # if it failed for some reason error: (2, 'CreateProcess', 'The system cannot find the file specified.') During handling of the above exception, another exception occurred: AppStartError Traceback (most recent call last) Input In [20], in () ----> 1 app = Application().start(cmd_line = u'"C:\Program Files\Microsoft Office oot\Office16\WINPROJ.EXE"') File ~\Anaconda3\lib\site-packages\pywinauto\application.py:1052, in Application.start(self, cmd_line, timeout, retry_interval, create_new_console, wait_for_idle, work_dir) 1048 except Exception as exc: 1049 # if it failed for some reason 1050 message = ('Could not create the process "%s" ' 1051 'Error returned by CreateProcess: %s') % (cmd_line, str(exc)) -> 1052 raise AppStartError(message) 1054 self.process = dw_process_id 1056 if self.backend.name == 'win32': oot\Office16\WINPROJ.EXE""Could not create the process ""C:\Program Files\Microsoft Office Error returned by CreateProcess: (2, 'CreateProcess', 'The system cannot find the file specified.')
Далее
Windows Form GUI Automation || PywinAuto Module
10:50
How to automate apps using python (PyWinAuto Tutorial)
26:27
The most important Python script I ever wrote
19:58
Просмотров 202 тыс.
you need to build a RUST desktop app!!
27:21
Просмотров 319 тыс.
Modern Graphical User Interfaces in Python
11:12
Просмотров 1,6 млн
Automate Windows Application Using Selenium 3
5:37
Просмотров 18 тыс.
Automate your job with Python
6:07
Просмотров 414 тыс.