Ask a Question

Spawn python process during test won’t close after TestComplete interaction

New Contributor

Spawn python process during test won’t close after TestComplete interaction

We have a product that spawns a python process to bring up a dialog for user input. After TestComplete interacts with that dialog and clicks the “OK” button to submit the process never closes and returns control to our product. 


Has anyone experienced this?


Is TestComplete instrumenting into the python and not releasing it so python cannot terminate the script? As far as we can tell we make it through all of our code in the python script, but the process just hangs there.


Any help would be great!

Frequent Contributor



Which window library is your python code is using? Is the application being launched as a tested app in TestComplete?


Senior SQA Automation Engineer
Champion Level 2



Not sure if I got the problem right, but hopefully this might help:


  /Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.
SmartBear Alumni (Retired)

Thank you for helping, Community!


@gagelarsen53 Does Alex's advice help? 

Sonya Mihaljova
Community and Education Specialist

Showing results for 
Search instead for 
Did you mean: