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

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

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

  • @diponsamaddar480
    @diponsamaddar480 4 ปีที่แล้ว +7

    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 ปีที่แล้ว +6

    Awesome. This is exactly what I was looking for. Thank you so much for sharing this my friend.

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

    I have a feeling this is going to be very useful to me. Thanks

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

    Which UI(example - DevExpress) is implemented on that Application ?

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

    Hi
    from where you are getting whether it is list box or combobox?

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

    Error returned by CreateProcess: (2, 'CreateProcess', 'The system cannot find the file specified.')
    PS C:\Users
    pasupuleti4> need help with this

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

    Bhai jaan, good job! Thanks for sharing.👍

  • @Anilpatel-ww3xu
    @Anilpatel-ww3xu 2 ปีที่แล้ว

    Excellent Video

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

    I wanna thank you so much for this ammazing explaination

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

    Good one Rafique ....

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

    Thank you so much rafique I learnt lot from you

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

    Thanks for the video sir it was very helpful for me.

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

    Can do this automation with putty, then connect and sent some command

  • @techystack479
    @techystack479 4 ปีที่แล้ว +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 ปีที่แล้ว +1

      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)

  • @Bee-Dee
    @Bee-Dee 5 หลายเดือนก่อน

    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?

    • @Bee-Dee
      @Bee-Dee 5 หลายเดือนก่อน

      RDC*

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

    Very useful, thank you very much🤩

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

    Nice sharing sir..

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

    Will this be applicable on jnlp files also?

  • @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

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

    Pretty awesome pywinauto demo :)

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

      Thanks😀

    • @waniya-huzzu
      @waniya-huzzu 3 ปีที่แล้ว

      @@rafiquejaved1223 can we automate java Swing Application ?

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

    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

  • @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 4 ปีที่แล้ว +2

    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  4 ปีที่แล้ว

      Hi
      I will try to explain from my next videos.
      Regards,
      Rafique

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

    How can we open .Mdb file and automate

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

    Thank you so much Boss👍

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

    are the commands same for every 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)

  • @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.

  • @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?

  • @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

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

    It is helpful and I scribe your channel!

  • @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.

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

    Thanks for video. Is there similar module for Mac OS?

  • @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

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

    How did you get the button ids?

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

      Hi Balaji,
      You can get the access name or IDs using swapy or inspect.exe tool.
      Regards,

  • @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?

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

    Anything for Linux UI automation?

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

      Hi Rohan,
      As of now, i dont have anything in linux..
      Regards,
      Rafique

  • @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

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

    Hi Rafique, can we automate the gui application in an inactive remote server? Or it needs an active session?

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

    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 ?

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

    i love your video

  • @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

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

    If screen title is having space in name then how to write

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

      Example title as" My app 2.3"

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

    Btw how to click on close option in windows, i mean how to close application is it app.exit()

  • @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

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

    Why do you write it like:
    u' "something" '
    Could you change it to r"something" instead?
    If not then why not?

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

      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 4 ปีที่แล้ว +2

      @@rafiquejaved1223 thank you for the detailed response. Makes sense to me

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

    Hello can you help me for automated test script fast

  • @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

  • @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,
      th-cam.com/video/Y8ZO3I55lTc/w-d-xo.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,,
      th-cam.com/video/Y8ZO3I55lTc/w-d-xo.html
      Hope this satisfies your requirement.
      Please do let me know about it.
      Regards,
      RAFIQUE

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

    This is brilliant. Can this also be used to navigate through web browser pages, i.e. facebook on google chrome?

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

      Hi Taha, For web page automation, please use selenum for Web ui automation(th-cam.com/play/PLnbSLn-JZGFBbY2dLTQuaI6pSApHwzBXL.html). Regards

  • @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 ปีที่แล้ว +1

      Hi Senthil,
      Have created a video on Putty.
      regards,
      rafique

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

      @@rafiquejaved1223
      Thank you soo much

  • @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

  • @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

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

    Sir I need to convert wireframe to GUI, how can i do that?

  • @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

  • @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

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

    This was helpful

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

    Can you please show how we can access a comboBox using PywinAuto?

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

      Hi,
      Video is already available.
      Try the below link
      th-cam.com/video/Y8ZO3I55lTc/w-d-xo.html

  • @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

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

    I can't handle when someone uses "=" sign without a space on both side. Terrible.

  • @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

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

    and you dial it automatically

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

    How to log in through the text box

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

      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,
      th-cam.com/video/ekqxkUExvlc/w-d-xo.html.

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

      @@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 ปีที่แล้ว +1

      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.
      th-cam.com/video/qihNyu7hoO0/w-d-xo.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 ปีที่แล้ว +1

      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

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

    plz make a video to automate chrome using pywinauto

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

      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 ปีที่แล้ว +1

      @@rafiquejaved1223 Thanks for the fast reply, I will watch that ("python robot framework") video, By the way Nice Video :)

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

      @@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,
      th-cam.com/video/6G60NYyUhNE/w-d-xo.html

  • @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.

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

    I am watching

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

    using pyton

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

    Aman

  • @TarunKumar-ve9wm
    @TarunKumar-ve9wm 7 หลายเดือนก่อน

    app =Application().start(cmd_line=u'"C:\NebulaFNORMS\8110\FactotumRMS6Leg_dpr_03Nov23__OBF.exe" ') showing an error

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

    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.')