Contributions
Re: TC 7.5 slows to crawl after reaching particular subroutine in VBScript
Unfortunately, I'm running into the same problem with the trial version of TestComplete 8.6. I also tried turning off the Open Application extensions, but that didn't fix it. The problem I'm seeing sounds exactly like what's described in this posting by another customer of yours: TC7 slowness when populating text fields Can you tell me what the resolution was to that issue? John1.1KViews0likes0CommentsRe: TC 7.5 slows to crawl after reaching particular subroutine in VBScript
I believe these four dump files should contain what you're looking for. The first two were taken before reproducing the defect. The second two were taken right after and 30 seconds after reproducing the defect. What happens right before the defect occurs is this: 1. A "work rule" object is created, which contains a name, description and a button to further configure the object. 2. The Find dialog is displayed to locate the object created in step 1 in the grid. 3.TestComplete begins to execute the line"Call Scope.SetFocus" in the script but suddenly slows down so that it's only sending one character every 15 seconds or so. If I stop the test execution, a message appears in the log saying "window cannot get focus." I've tried removing the SetFocus line but then the script will get hung up on the next line which is: Call Scope.keys("Name"). John1.1KViews0likes0CommentsRe: Need to use wildcard in VCLObject for object identification
Normally, it's able to populate fields in the window with parameters that I've provided, such as setting a date field, etc. However, that's not happening in this case. The window appears but no changes are made to the controls in the window. TestComplete will pause because it's not able to locate the controls in the window.1.3KViews0likes0CommentsNeed to use wildcard in VCLObject for object identification
Hello - I'm using VBScrip to try to set the object identification for a window which has a variable full name like this: Sys.Process("tcs").VCLObject("frmSKEDWorksheet") .Process("tcs").VCLObject("frmSKEDWorksheet") Sys.Process("tcs").VCLObject("frmSKEDWorksheet_1") .Process("tcs").VCLObject("frmSKEDWorksheet_1") Sys.Process("tcs").VCLObject("frmSKEDWorksheet_2") I tried using the following code with a wildcard character inserted so that it could identify all the object names listed above: Set OSWWin = Sys.Process("tcs").VCLObject("frmSKEDWorksheet*") It doesn't seem to work though. There's no error, but the window isn't recognized. Do you have any suggestions? John .Process("tcs").VCLObject("frmSKEDWorksheet_2") I tried using the following code with a wildcard character inserted so that it could identify all the object names listed above:Set OSWWin = Sys.Process("tcs").VCLObject("frmSKEDWorksheet*") It doesn't seem to work though. There's no error, but the window isn't recognized. Do you have any suggestions?John13KViews0likes6CommentsRe: TC 7.5 slows to crawl after reaching particular subroutine in VBScript
I was able to use the AQtime tool to capture an error that occurred while running my script. However, the error is occurring at a different point in the script when I'm using the AQtime tool. The script froze (not just slowed down) while executing theEditWorkRuleMaxSchedWin routine. I've attached several dump files that were generated by the tool.1.1KViews0likes0CommentsRe: TC 7.5 slows to crawl after reaching particular subroutine in VBScript
I attempted to connect to our application using the Windows debugger program. I'm not sure if the output I've attached is helpful or not but it may provide some clues. One of our developers has looked at this and thinks the problem is specifically with keystrokes being sent very slowly. Other commands are processed normally.1.1KViews0likes0Comments