Element Not found error while installing
See original GitHub issueHi Vasily,
How are you doing…
i am facing an issue while trying to install Git with pywinauto. Below is sample code and error message can you please let me know what is causing issue.
from pywinauto.application import Application
import time
app = Application().start(r'C:\Users\Administrator\Desktop\Raja python\software\Git-2.9.3.2-64-bit.exe')
b = Application().connect(title = 'Git 2.9.3.2 Setup')
time.sleep(5)
b.Git_2_9_3_2_Setup.print_control_identifier()
Also i used as below but no luck,
b.Git_2_9_3_2_SetupDailog.print_control_identifier()
Error message:-
Traceback (most recent call last):
File "C:/Users/Administrator/Desktop/Raja python/python practice/click_install.py", line 10, in <module>
b = Application().connect(title = 'Git 2.9.3.2 Setup')
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pywinauto-0.6.5-py3.7.egg\pywinauto\application.py", line 965, in connect
self.process = findwindows.find_element(**kwargs).process_id
File "C:\Users\Administrator\AppData\Local\Programs\Python\Python37\lib\site-packages\pywinauto-0.6.5-py3.7.egg\pywinauto\findwindows.py", line 87, in find_element
raise ElementNotFoundError(kwargs)
pywinauto.findwindows.ElementNotFoundError: {'title': 'Git 2.9.3.2 Setup', 'backend': 'win32'}
Thanks, raja
Issue Analytics
- State:
- Created 5 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to Fix 'Element Not Found' Error in Windows 10
7 Working Methods to Fix 'Element Not Found' Error in Windows 10 · Method 1: Remove/Uninstall Lenovo apps from your computer · Method...
Read more >How to fix "Element not found" error in Windows 10? - Auslogics
1. Undo Recent Updates. 2. Install Device Drivers Update. 3. Disable Your Anti-Virus Program.
Read more >Printer driver was not installed, Element not found
You can begin troubleshooting to fix the Printer driver was not installed – Element not found error that occurred on your Windows 11/10...
Read more >Element Not Found error in Windows 10/11 [Quick Fix]
How can I fix Element Not Found error in Windows 10? · 1. Uninstall recent updates · 2. Temporarily disable your antivirus ·...
Read more >Printer driver was not installed. Element not found Fix Error
The solution for this problem is simple. First, you need to disable the driver signature enforcement feature on your Windows operating system, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@rajarameshmamidi, if your goal is to perform unattended installation, maybe you could use some of the flags of the setup program to run it silently?
Thank you Vasily. i will go through Git Help for more details.