David91Frequent ContributorJoined 10 years ago127 Posts10 LikesLikes received3 SolutionsView All Badges
ContributionsMost RecentMost LikesSolutionsTestComplete freezes during mobile test execution in Legacy mode Hi, I’m experiencing a serious issue when running mobile UI tests in TestComplete 15.75 on Windows 11, using the Legacy Mobile Support mode (not Appium). My test runs for several minutes, but then TestComplete completely freezes: • The Playback panel becomes unresponsive. • I cannot pause or stop the test. • The Android emulator shows the last interaction frozen on screen. • I have to terminate TestComplete via Task Manager. As a result: • No .tcLog file is saved, only some screenshots remain in the log folder. • This makes debugging very difficult. We are currently using this configuration: • Windows 11 • TestComplete 15.75 • Android 10 emulator Previously, we had no such issues when running the exact same tests with: • Windows 10 • TestComplete 15.57 • Android 7 emulator This seems to be related either to the new version of TestComplete, Windows 11, or the updated Android version. ⸻ What we’ve already tried: • Reduced timeouts on WaitChild/FindChild calls. • Disabled image saving in test logs. • Split tests into smaller blocks. • Ensured the emulator uses Android 10 and runs with hardware acceleration. • Launched TestComplete as Administrator. As a workaround, we now run TestComplete via PowerShell and terminate it after a timeout – which is obviously not a proper solution. Thanks Re: Script file not linked in Script.tcScript after adding new script – requires manual save Thank you for your response. I’d like to provide some additional context based on my workflow. Previously, I used TestComplete’s built-in Git integration (through source control integration), and when I added a new script to the project, the Script.tcScript file was updated automatically. I did not need to manually press “Save All Changes” — the change was immediately visible in Git, and everything worked as expected. Now that I’ve switched to using an external Git client (Fork), the behavior is different. When I add a new script file, I can see the file is created and marked with a “+” icon in TestComplete, meaning it’s new and tracked. However, unless I manually save the entire project, the Script.tcScript file does not get updated, so Git doesn’t detect any change in the project structure. As a result, even though the new script exists and is versioned in Git, the Script.tcScript does not include it, and collaborators won’t see the script in the project unless I remember to save all changes manually. David Script file not linked in Script.tcScript after adding new script – requires manual save Hello, I’m having an issue where newly added script files are not automatically reflected in the Script.tcScript file in my TestComplete project. When I add a new script (e.g. MyTest.js) to the Script folder using the TestComplete interface, it is not immediately written to the Script.tcScript file. As a result, Git doesn’t detect any change, and the project structure is incomplete for others pulling the repo. I noticed the change is only saved under these conditions: When I manually click on the “Scripts” node in the Project Explorer and then press Save (or F5), Or when I close the project, which prompts to save changes. If I forget to do this, the Script.tcScript file remains unchanged, even though the script appears in TestComplete. Could you please confirm: Is this expected behavior? Is there a way to force TestComplete to save the updated Script.tcScript automatically when a new script is added? How can we ensure consistency in source control without having to remember to manually save the project file? Thanks in advance for your help! Best regards, David SolvedRe: Bad characters in Temporary variables Is there any way to fix this... or when will it be fixed? Thank you for the information Bad characters in Temporary variables After update version 15.57.2.7. i have in temporary variables this characters (screen).. it bug? My tests not function now. Re: Put data to Table in KW variable - ReferenceError: Invalid left-hand side in assignment thanks, how to write it to the console like this.. but not save it to the table.. I would need to store the value in a cell so that I can use it in the next phase of the test Re: Put data to Table in KW variable - ReferenceError: Invalid left-hand side in assignment Same problem is Here..https://community.smartbear.com/t5/TestComplete-Questions/JavaScript-quot-ReferenceError-Invalid-left-hand-side-in/m-p/196706 a i tried this solution but no function for me.. i dont understand with this problem.. it doesn't respond to the table at all. We also tried the $set method but nothing 😞 Please help Re: Put data to Table in KW variable - ReferenceError: Invalid left-hand side in assignment Problem is still same.. script.. KW table define... BUT same Error after run script... Put data to Table in KW variable - ReferenceError: Invalid left-hand side in assignment Hello, please help. I need put data from script to table in KW variables . I try it with this.. KeywordTests.Test1.Variables.Var1.Mnoz(0) = QUANTITY; But TestComplete after F5 return this message ReferenceError: Invalid left-hand side in assignment 10:19:27 Normal Error 0,00 0,00 I also try documentation code .. https://support.smartbear.com/testcomplete/docs/testing-with/variables/data-types/table.html#Creating but its same problem .. function TableVarTest() { // Create a table variable if it doesn't exist if(!Project.Variables.VariableExists("MyTable")) Project.Variables.AddVariable("MyTable", "Table"); // Get a reference to the variable var t = Project.Variables.VariableByName("MyTable"); // Add columns to the table t.AddColumn("Name"); t.AddColumn("Age"); t.AddColumn("City"); // Create two rows t.RowCount = 2; // Fill in the table // The first row t.Name(0) = "John Smith"; t.Age(0) = 24; t.City(0) = "Seattle"; // The second row (using the Item property) t.Item("Name", 1) = "Bob Feather"; t.Item("Age", 1) = 59; t.Item("City", 1) = "Milltown"; } Please for advice, how put data to table from script to KW table variable. Thank you Re: check disable kezword test in execution plan with script Sorry, but there is no solution to my question in this documentation. I need to know which test cases are enabled before running the test so I can work with it in the code. According to the enabled test cases I want to import some data, but I can't until I know which ones are enabled. The only thing I can think of so far is to parse the Project.mds file, where the test case is visible do you understand what I need?