ContributionsMost RecentMost LikesSolutionsRe: When using TestComplete 12.42, Keys() performs very slowly (up to 30 seconds between keystrokes) Thanks Marsha. I have opened a case with support. When using TestComplete 12.42, Keys() performs very slowly (up to 30 seconds between keystrokes) We're evaluating moving from TestCompletre 12.1 to TestComplete 12.42 but we're running into a performance issue. When executing activeWindow.Keys(), we're seeing a very long time (upwards of 30 seconds) per key stroke. Essentially, we launch a command line tool from cmd called loader.exe. We do this in Figure A below. You'll notice that we lose control of the window as it becomes a completely different application (from cmd to loader.exe) so we're using ActiveWindow to capture loader.exe then send it keys to sign in. You'll see how we launch CMD in Figure B. This works perfectly on TestComplete 12.1 We have performed our own testing to determine that ActiveWindow is not the issue and that writing directly to Command Prompt is not the issue. We also have loader.exe mapped and when I call the map loader.wndConsoleWindowClass.Keys() the issue occurs as well (See Figure C). I have validated that there is not an abnormal delay in the project for keystrokes or events. What are we doing incorrectly? FIGURE A function importFile(pathToTXTFile) { windowStyle = 1; //Not minimized. Visible. waitOnReturn = false; zCmd.cmd.SHELL.Run(ProjectSuite.Variables.INSTALLPATH+"\\loader.exe \""+pathToTXTFile+"\"", windowStyle, waitOnReturn); Delay(3000,"Assigning CMD as Active Window"); var activeWindow = Sys.Desktop.ActiveWindow(); activeWindow.Keys(ProjectSuite.Variables.USERNAME+"[Enter]"+ProjectSuite.Variables.PASSWORD+"[Enter]"+ProjectSuite.Variables.DATABASE+"[Enter]"); //login into the database Log.Message("FcLoader is processing: "+pathToTXTFile); } FIGURE B var cmd = { SHELL: Sys.OleObject("WScript.Shell"), command: null, //If you are executing a batch file, this should be the path to the batch file. run:function(command) { this.setDirectory(command); output = this.inputCommand(command); this.logResult(command,output); return output; } } FIGURE C var loader = Aliases.FcLoader; var frmloader = fcLoader.wndConsoleWindowClass; How do you package your DLLs for TestComplete to consume? Our automation has a shared body of code between products it covers. I'm considering breaking off this shared code into a separate project. I can then use Jenkins to put that dependancy in place however I can't figure out what that dependancy looks like. Is it a DLL that projects load? Is it a project thank Jenkins checks out of version control and is then utilized by other scripts. (we use JScript currently) If it's a DLL, how do I build it? Re: Make TestComplete Jenkins Plugin compatible with pipeline Third Re: checkpoint failing when actual values are equal to accepted values I'll try that, however once this test failed it gave me the option to update the checkpoint. After updating the checkpoint it passes. But when I try to store that value in our Source Control (Git), it tells me there is no difference in the checkpoint, thus not allowing me to stre the updated checkpoint. If that is the case, then theoretically even truncation using SQL shouldn't produce a different result. But I'll try it. Re: checkpoint failing when actual values are equal to accepted values If that's the case, should I be truncating the value using SQL? If so, I can update the SQL to truncate. checkpoint failing when actual values are equal to accepted values Suddenly I'm getting a failure from a Database Checkpoint thats alerting me of the following: The "SUM(P.ADJUSTED_TOTAL_STD_VOLUME)" field of row 0 contains a value (10928.6252034237) that differs from the stored one (10928.6252034237). It does this for all 100 rows of this checkpoint, continueally telling me that my actual value does not match my expected value even though they are the exact same. Not only that, it actually lists all 100 rows twice in the Additional Info tab. Meaning it tells me the same error occured twice. I'm using Windows Server 2008 and TestComplete 12.2 Has anyone seen this? Re: Does testcomplete have a code indexing feature? I'll look into this Re: Does testcomplete have a code indexing feature? This is a serious short coming. Can I request this feature? Does testcomplete have a code indexing feature? I'd love to be able to index my codebase and search it.