mjakop / pywinauto

Automatically exported from code.google.com/p/pywinauto
Other
0 stars 0 forks source link

If program launches another exe as a blocking call, you can't connect to the new process #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run a program that runs another exe and waits for it to return
2. Try to app.Connect(process = xxx) to the new process
3. It shows a different handle, but when searching for controls it appears to 
be looking only at the original window. 

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Windows 2003, python 2.6, pywinauto-0.4.0

Please provide any additional information below.
I also tried doing top_window_() but got the same results.  Basically I really 
like your implementation, but our installer calls our config wizard to 
configure the product along the way, and it appears that I cannot then connect 
to the config wizard process.  

Original issue reported on code.google.com by liquidp...@gmail.com on 13 Apr 2011 at 12:55

Attachments:

GoogleCodeExporter commented 9 years ago
Nevermind, I got this to work by adding more information into how it searched 
for the title... although I'm still kind of curious why it woudldn't work 
before.  Thanks!

Original comment by liquidp...@gmail.com on 13 Apr 2011 at 1:15