ContributionsMost RecentMost LikesSolutionsRe: Python speed Support said this is just speed within the api and can't say much more. They said it has gotten faster over time so maybe will get better in the future but for now there is not much one can do to speed it up. We are going to move highs speed routines out of test complete for now as it seems like the better plan. Re: Python speed Good point I think I accounted for that by having the timer only around the action not the entire function. Maybe python time.time does something I don't expect. I believe I am ignoring the 2-3 seconds it takes before the test even starts. I consider that time acceptable but iteration on an array to be almost 1 second seems pretty slow. def test_timing(): print("starting") start_num = time.time() numbers = create_permuted_ints(100) made_num = time.time() for i in range(50): for j in range(100): numbers[j] = (2 * numbers[j]) % 10000 end_num = time.time() dt6 = int((made_num - start_num) * 1000) dt7 = int((end_num - start_num) * 1000) print(dt6) print(dt7) print("done") Re: Python speed Attached is the script(had to make txt to attach) that I am using, just need to set the print to be log in TC. the output from TC is 360 and 858. Run in python shell the output is 1 and 1. This is shown in the second attachment image I will make a support ticket as this is using straight python nothing TC, it seems crazy that it is that much slower! This came up because it takes a really long time to run tests and the developers were asking me why. Python speedI have found python to be extremely slow in test complete. I have created some timing tests iterating over arrays and doing actions with the array data. I also wrote the exact same code and ran it in normal python command shell. In test complete I am getting timing in the range of a few hundred ms all the way up to full second. In command shell I am in the 1 ms range. Are there any known issues with python and test complete? I am doing 0 interactions with my software's ui for this timing test as I wanted to rule out response time from my ui. This all came about because tests just seem very show overall so going back to basics. I am using latest build of test complete. I can share code snippets tomorrow when I am back in the office if that is necessary. Thanks in advance for any feedback.Solveduse a different IDE Is there any way to use a different IDE under the hood in TestComplete? I like the TestComplete layout and lots of its features but would like to use say PyCharm as my IDE as it has better python support. Is there a way to do this other than write the code in PyCharm and then open in TestComplete to run it and get to TestComplete Methods? Re: python checkpoint I resorted to just useing the object spy and getting the values i wanted, it did not crash like checkpoint during record did. Python and IDE auto complete Hi, I used to use JS and when you would do: var foo = "bar" later you could type fo and it would complete to foo for you. This is really useful for long variables and just because most IDE's do it. With python i am finding this does not happen and also some python keywords do not highlight in TestComplete but do when i move the PY file over to another IDE. I can work in other Python IDE's but i can't run the tests from them so i would prefer to not keep going back and forth. Does anyone have advice on how to make the TestComplete IDE handle python better or is this just a pain of first iteration? python checkpoint I am swapping my JS project over to python and i noticed an issue with creating a checkpoint. These steps lead to a hung TestComplete 11: Start a python project Record script Record a property checkpoint Drag to the property you want Let go of mouse Wait Nothing ever happens and you need to kill the process Has anyone else come across this? Re: Can I Change Command-Line Argument? This is my function to get my program to change the command line args per run of the software function CommandLine(neededParams) { var commandLineParams = neededParams; TestedApps.<appName>.Params.SimpleParams.CommandLineParameters = commandLineParams; } At the end of each run i call this also function ClearParams() { neededParams = ""; Log.Message("cleared parameters by setting to: " + neededParams); CommandLine(neededParams); } May not be the best way to do it but it works for my application Re: Same exe two names mapped together I hunted around and think i found a solution in case anyone else has this kind of issue. You can add conditionals to namenapping. So i just added an or.