Contributions
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!Solved1KViews0likes3CommentsChange TestComplete Recording Action
We are using TestComplete 10.2.9 to record our test cases. We are testing on a windows 7 machine, on an application built in visual studio 2010. Our question, Is there a way to change what TestComplete generates when recording user input other than using namemapping. We have functions written in some libraries, that do the work we want. for example: <Xtrings.sj> function XMSProcess() { return Sys.Process("myProcess"); } <testCase.sj> //USEUNIT Xtrings function myTestCase() { Xtrings.XMSProcess().Window(...).Maximize(); } When we record we get Sys.Process("myProcess").Window(...).Maximize(); Is there a way to cut out the middle man and have test complete just use the functions we have provided? Any help would be much appreciated.881Views0likes2Comments