Ask a Question

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

SOLVED
gagelarsen53
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!

3 REPLIES 3
tphillips
Frequent Contributor

Hi

 

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

 


--------------------
Senior SQA Automation Engineer
AlexKaras
Champion Level 2

Hi,

 

Not sure if I got the problem right, but hopefully this might help: https://support.smartbear.com/testcomplete/docs/scripting/calling-methods-asynchrounously.html

 

Regards,
  /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.
https://community.smartbear.com/t5/Community-Champions/About-the-Community-Champions-Program/gpm-p/252662
================================
sonya_m
SmartBear Alumni (Retired)

Thank you for helping, Community!

 

@gagelarsen53 Does Alex's advice help? 


Sonya Mihaljova
Community and Education Specialist

cancel
Showing results for 
Search instead for 
Did you mean: