cancel
Showing results for 
Search instead for 
Did you mean: 

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!

1 ACCEPTED SOLUTION

Accepted Solutions
AlexKaras
Community Hero

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

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 Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

3 REPLIES 3
tphillips
Community Leader

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

Hi

 

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

 


--------------------
QA Systems Architect
AlexKaras
Community Hero

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

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 Hero]
____
[Community Heroes] 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 Heroes]
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 Hero] signature is used with permission by SmartBear Software.
https://community.smartbear.com/t5/custom/page/page-id/hall-of-fame
================================

View solution in original post

sonya_m
Community Manager

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

Thank you for helping, Community!

 

@gagelarsen53 Does Alex's advice help? 


Sonya Mihaljova
Community and Education Specialist

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video:
Announcements
Top Kudoed Authors