Contributions
Delphi Applications - Virtual String Trees (VSTs)
I'm testing Delphi applications that use Virtual String Trees (VSTs) a lot and I am struggling to get TestComplete to recognise these objects. As of yet I have not been able to work out which Project Property > Object Mapping I need to add this class to in order to identify properties within the VST. When I use the object spy and select an VST object it returns the error "Error: An exception occurred: 0x0EEDFADE; class: EComponentError; description: 'TVirtualStringTree has not been registered as a COM class'" on the ComObject property. I am using debug builds of the Delphi applications. Has anyone else got experience using VSTs within Delphi applications? If so, how did you do it? They typically store a lot of information therefore not being able to read the properties of them makes it difficult to test the application properly.Solved1.5KViews0likes2CommentsRe: Day 1 - API Testing vs. UI Testing
Hidpaulus, I'm also testing Delphi applications that use Virtual String Trees a lot and struggle with it. As of yet I have not been able to work out which Object Mapping on the project property to use in order to identify properties within the VST. When I use the object spy and select an VST object it returns the error "Error: An exception occurred: 0x0EEDFADE; class: EComponentError; description: 'TVirtualStringTree has not been registered as a COM class'" on the ComObject property. Are you able to share how you have been handling them?807Views0likes2CommentsFirefox update check interferes with test
Although I have followed the guidelines specified athttps://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/firefox.html I still get a new tab window opening informing me there is a new version of Firefox available. When I'm running scripts and there has been a new Firefox release, when I click on a button within my web application a new tab opens up showing the attached screenshot. Obviously this interferes with tests and they can't be run. Does anyone else experience this? Any solutions?1.1KViews0likes1CommentSession is disconnected message is returned after a website deployment via Octopus
I deploy a website to a VM via Octopus. Once the website has been deployed I have a powershell script that iniatiates a TestExecute run. As soon as the test run is initiated the error "The operation cannot be performed, because the user session is disconnected." returned in the TestExecute log file and this happens repeatedly for each project until the end of the project suite is reached. The code to initiate the run is: start-process -wait -filepath "C:\Program Files (x86)\SmartBear\TestExecute 12\Bin\TestExecute.exe" -argumentlist "$projectfile /run /exit /el:`"$mhtfile`" /SilentMode" If I am logged onto the machine via remote desktop whilst the deployment is happening the tests run without a problem. How can I get the tests to run without an active remote desktop connection?1.3KViews0likes2CommentsSaveResultsAs saves visualizer images
I have the following code to save the test log in XML format: var tempFolder = "C:\\Testing\\Temp\\"; aqFileSystem.CreateFolder(tempFolder); Log.SaveResultsAs(tempFolder, lsXML, false); The result saves .png files, even though I have specifiedExportVisualizerImages parameteras false. I don't want these files saved, since they take up too much space. Is there something wrong with the code, or is there a project configuration setting I've missed?Solved1.2KViews0likes1CommentIs anyone else experiencing slow TestComplete 12.50 performance?
I have TestComplete12.50.4142.7 installed. After a recent Windows 10 update the performance of it has degraded quite dramatically. For example, when I am using the Object Spy it is very slow to recognise objects, it can take up to 10-15 secs. Whenever I have TestComplete open my on-screen cursor/pointer has a continually spinner beside it (what Windows does when it is loading something or processing). This only happens when TestComplete is open. I also often have problems closing the application and have to frequently terminate the process via Windows Task Manager. Has anyone else experienced such problems? I have not made any dramatic changes to the TestComplete project that I think would cause this, nor to the application under test.Solved1.4KViews0likes1CommentIs there a way of using a project suite variable within a project variable?
I have a project suite with multiple projects. Does anyone know if there is way to use a project suite variable within a project variable? For example, I want to do something like this: Project Suite variable: Name = "ProjectSuiteVariable" Type = String Value = "Variable1" Project variable: Name = "ProjectVariable" Type = String Value =ProjectSuiteVariable + "Variable2"Solved1.8KViews0likes4Comments