Sys.OleObject. Microsoft Office (Word, Excel)
I want to get the properties and methods of an already running Microsoft Office (Word, Excel) application. For this I use OLE object but I get an error "This command is not available because no document is open." I take into account what is written in the documentation: Note for Microsoft Office users: In order to be able to get an OLE object for an already running application, this application must be registered in the Running Object Table (ROT). However, Microsoft Office applications that are launched from the shell (for example, from the Start menu or the TestedApps project item) do not register their running objects at startup, but rather once the application loses focus. So, if you obtain an OLE object for an already running Office application, you may get errors when accessing its properties and methods (for more information on this problem, see http://support.microsoft.com/kb/238610/). To work around the problem, you can activate any window other than the tested Office application before attaching to its OLE server. This will allow the Office application to register itself in the ROT, so you will be able to work with it via OLE. In scripts, you can activate a window using the Activate or Click action. For example, use the following statement to activate the Windows taskbar This worked in TestComplete9 but doesn't work now (TestComplete15). Maybe there is some solution for this case? I use DelphiScript27Views0likes1CommentHow to create a folders inside projectSuite/project which folders will exist on the hard drive ?
Hi, everyone! I know that it is possible to create folders in project suite or in project, but those folders does not exists on the hard drive. Is it possible create folders which they are will exists on the hard drive ? We are using TestComplete for writing tests for desktop app also we are using Pycharm for debugging because often it is difficult to navigate to methods or classes by clicking on the names. And when using Pycharm the script files are unorganized because created folders on project suite/project does not exists on the hard drive.59Views0likes3CommentsQT - Error No such interface supported
Has anyone been able to test modern QT applications 6.7 or 6.8 and get it to work. I cannot even get the simple example applications from QT to function. According to support currently 6.7 and 6.8 are supported, but neither seem to work. Just using the object browser shows error for most items, and none of the QT related methods are even displaying or accessible. See attached image. Any one have a solution to this? **I tried to upload a small zip file that contains the QT sample app, but the forum prevents it from being uploaded.103Views0likes6CommentsThe object does not exist
I have a test project in version TestComplete 9.30. I took a trial license of TestComplete 15.76. After running the test project, many tests failed because TestComplete post error “The object … does not exist”. But the object does exist and is equals to Object Spy. Adding delays to each test is a laborious task, because TC gives "The object … does not exist" for different objects each time. Maybe there is a general solution? Testing desktop Delphi application.Solved83Views0likes4CommentsFailed to verify login request
I just logged into a new system that I haven't used TestComplete in a while. It did have an older version of TestComplete on it so I uninstalled it and installed the latest version. Now when I'm trying to login it pops up "Failed to verify login request" error even though I was logged in and the product code showed up. I tried pasting the product code onto the license manager but TestComplete still wouldn't start. See attached.85Views0likes3CommentsSessioncreator CLI never returns ERRORLEVEL 1
I noticed this a while ago, when using Sessioncreator through the CLI the documentation says this: @echo off "C:\TestCompleteFolder\Bin\TestComplete.exe" "C:\TestCompleteProjects\MyProj\MyProj.mds" /run /exit IF ERRORLEVEL 1001 GOTO NotEnoughDiskSpace IF ERRORLEVEL 1000 GOTO AnotherInstance IF ERRORLEVEL 127 GOTO DamagedInstall IF ERRORLEVEL 4 GOTO Timeout IF ERRORLEVEL 3 GOTO CannotRun IF ERRORLEVEL 2 GOTO Errors IF ERRORLEVEL 1 GOTO Warnings IF ERRORLEVEL 0 GOTO Success IF ERRORLEVEL -1 GOTO LicenseFailed But when warnings are in the logs I only get ERRORLEVEL 1 (Success). This has been an issue for at least the past 3 years. Overal not a big issue, I was just wondering if it's just me.107Views0likes8CommentsPipelines are getting completed after the Access voilation error on windows server 2025
Hello experts, getting below error in after running the test complete15.75 tests via azure pipelines Access violation at address 00007FF848165642 in module 'mso20win32client.dll'. Read of address 0000000000000000 2025-07-14T18:49:59.1151714Z The test run has stopped because your test project is configured to stop on errors. 2025-07-14T18:49:59.1151922Z 'Nodes.item(...)' is null or not an object83Views0likes5CommentsHow to Ignore "The git.exe process crashed."?
This happens randomly sometimes in the middle of my test runs, causing a false error in the test being run at the moment Git decided to crash. Why is TestComplete picking up this process crash when it's completely unrelated to the application under test? Is there a way to tell TestComplete to ignore certain processes?Solved187Views0likes18Comments