rraghvaniChampion Level 3Joined 4 years ago4400 Posts1217 LikesLikes received530 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsRe: TestComplete\TestExecute constantly being logged out I've never had TestComplete/Execute opened for more than 2 days, so I've never come across this issue before. I guess the 30 day token is meant to reduce how often you need to re-authenticate while still keeping things reasonably secure. It's security vs convenience trade-off! Re: Issues upgrading from 15.7 to 15.8 version Remove "tc" from "tc.Aliases.Client". Try this for example, Unit1.py import Unit2 def main(): Unit2.datetime() Unit2.py from tc import aqDateTime # or from tc import * def datetime(): return aqDateTime.Now() If you have a big project, it is a pain to update. However, there's no way around this, as Python have made these changes. Re: Logging issue on TC 15.80 (Python scripts) While testing Python 3.13 and the global objects, I did come across a similar issue. However, I didn't thoroughly look into it, as I use JavaScript. You'll need to raise a Support Ticket for this, as it is a genuine bug. Re: Issues upgrading from 15.7 to 15.8 version The latest version of TestComplete comes with Python 3.13. Python has made a number of changes. One of them is treating global as regular scoped objects, which has impacted Python scripts used in TestComplete. See https://support.smartbear.com/testcomplete/docs/scripting/specifics/python_tc_globalobjects.html for more information. You need to update your Python scripts to accommodate this change. As an example, Log is being passed as a parameter - MainTest.py import MyFunctions def main(): MyFunctions.greet(Log, "Alice") MyFunctions.py def greet(Log, name): Log.Message(f"Hello, {name}!") Same issue has been discussed here, TestComplete 15.77 is broken - dont upgrade | SmartBear Community Re: TC extension frequently disappears from chrome If your SmartBear Test Extension is below v15.0.8, Chrome will usually disable the extension as unsupported and remove it on next restart. You might be able to get more information from Chrome Policy via chrome://policy, as to why it was removed. Re: Work Arounds for "SystemError: intialization of md_mypyc did not return an extension module" There's no fix for this, there are limitations to how Python and TestComplete work. Re: SessionCreator returns exitcode: 7 Failed to create user session Which is what I suspected and mentioned, with regards to active session. It's a Windows Security feature, and something SmartBear can not fix or get around. Re: License already in use after killing process Kill the following processes, and then you may have to wait a few minutes, until the server side releases the license that you consumed. Re: Can't map CEF page components Refer to the requirements show in About Support for Chromium Embedded Framework Re: Using AI to write scripts NameMapping was a good idea at the time, but it became a nightmare to maintain once it grew huge, and sometimes it would get corrupted. I've moved away from NameMapping and now use the Find and FindAll methods. If SmartBear could create a plugin to be used in VS Code, that would make things so much easier. However, I really don't see that happening ever!