Unable to open the application through test complete.
Hallo everyone, I am trying to open one of my tested application. when I am opening the application normally, it's running properly. But when I am opening the same application through testcomplte, it's throwing some error and not able to open. Error message A problem with file version Occured, The application will be closed for safety reasons. Does anyone faced the similar or same issue. is there any special settings do we need to insert. Thank you all in advance. Br, Ramesh44Views0likes5CommentsHow to wait for TestedApp to Finish and get Exit Code
I have a tested app called "python". Application path: C:\Python312\python.exe Command-line parameters: C:\Users\jondoe\Documents\iNext\main.py The testedApp is called in a python function, which works well: def runTestAppPython(): myApp = TestedApps.python pyProcess = myApp.Run() What needs to be done to make the function wait for myProcess to finish. And how can I access the exit value of the testedApp in this function. What I tried was pyProcess.Wait() to wait for the testedApp to finish, but does not work. pyProcess.ExitCode to get the exit value of the testedApp, but does not work, too. Help is very appreciated. Thank you.33Views0likes4CommentsTestComplete can't detect elements in Microsoft WebView2 window
TestComplete is unable to detect any element for desktop application screens developed using Microsoft WebView2. It was working 5 days ago. Tested application wasn't updated. Now TestComplete can detect only a whole window(web-component using Microsoft WebView2), but cannot detect elements on this window. I got path "Aliases.WINWORD.WPFObject("HwndSource: WebView2Window", "Login").Window("Static", "", 1).Window("Chrome_WidgetWin_0", "", 1).Pane("Login - Web content").Panel("Chrome Legacy Window")" TestComplete version= 15.52.2.7 x64 License: Perpetual (Desktop, Web, Mobile) How can I capture of elements on the web-component window?Solved1.2KViews0likes10CommentsSuppress Security Warning when running Tested Apps
When running a .cmd file that is on a network drive via Tested Apps I am encountering this Security Warning. I need a way to suppress this popup as it currently requires manual intervention of the automation. I see this thread: https://community.smartbear.com/discussions/testcomplete-questions/open-file-security---warning-popup/204357 But I wanted to revisit to see if there is a better way to handle this.105Views0likes3CommentsTestComplete no longer record my test
TestComplete stop recording my test without any reason I was working before then stop working I add a video to show what is happening this is on a desktop application, testcomplete version is the 15.59.7 x64 if any of you guys know how to fix this problem is going to be really helpful for me thanks in advances.379Views0likes13CommentsProcess crashed before open the application
Hi all , I have an issue during regression run , the issue was test complete throw an error " Spotfire.exe process crashed" in the logs . this issue happened in starting of the test before open the application , after error thrown test complete will complete running until finish test successfully , andwhen click on this error it will indicate to (Sys.WaitProcess("Spotfire.Dxp", 1000).Exists) , so what's the reason for this issue ? Thanks .133Views0likes1CommentProcess still stuck in task manager after closing it .
Hi all , I have an issue when I tried to close process by usingSys.WaitProcess(" app name ", 0).Close () , sometimes test complete can't close the process correctly and process still stuck , so the next test can't start running because previous test not closed the application correctly . What's the reason for that ? Thanks .485Views0likes9CommentsTest complete throw an error as process crashed during test run and test fail
Hello all ! I'm facing a problem in the script after closing the application by (File->exit ) during regression run , Test Complete logs an error message saying " Spotfire.Dxp.exe process crashed" so some test cases fail , I used Sys.WaitProcess after closing the application to check if process if exist or not in task manager or in background ,so if process exist it will wait until process disappear from task manager to complete next test , butduring this check for this process test complete throw an error " Spotfire.Dxp.exe process crashed" . so what's the reason for this crash ? Thanks .336Views0likes3CommentsChrome driver not working with TestComplete
TestComplete is not downloading the Chrome driver automatically so I put the webdriver manually inC:\ProgramData\SmartBear\WebDrivers\chrome and I am getting this error: TestComplete failed to download the needed WebDriver. You can download the chrome driver manually and put it in the <ProgramData>\SmartBear\WebDrivers\chrome folder. My TC version is latest:15.56.2.7 x64 My Chrome web browser version is:117.0.5938.132 (64-bit) But I am trying to launch Chrome headless via: function launchHeadlessBrowser() { var server = "localhost"; var capabilities = { "browserName": "chrome", "screenResolution": "1920x1080" }; Browsers.RemoteItem(server, capabilities).Run(Project.Variables.url); }Solved604Views0likes6CommentsMatlab AppDesigner CEF-based application integration
We have been working on trying to get a Matlab AppDesigner-based application working with TestComplete Object Spy. Background Upon researching TestComplete CEF-related errors, we built a simple Electron application and verified proper functionality with Object Spy when passing the '-cdpAutoSetPort' command-line parameter. For Matlab AppDesigner, this did not work and results in an error when launching. However, we found if we set environmental variable 'MW_CEF_STARTUP_OPTIONS' to '--disable-gpu --remote-debug-mode --remote-debugging-port=9222', we're able to get to the DevTools via web browser. Problem: It appears like we've successfully enabled the CDP for our application, but ObjectSpy still cannot access the controls. How does TestComplete know which port we've enabled the tools on? ... is there a way to specify without the 'cdpAutoSetPort' command-line parameter? Does the process tree attached give you any clues as to what is missing?Solved986Views0likes16Comments