How to run a powershell script from TestComplete with parameters ?
Maybe I am missing this in the documentation? Running PowerShell Scripts From TestComplete | TestComplete Documentation If possible, I was trying to find the syntax to go by for passing in single or multiple parameters.Solved36Views0likes5CommentsHow to stop TestComplete from failing a test when unrelated processes crash?
Hello! I've been hitting an issue for some time now where TestComplete will intermittently fail my test(s) because some unrelated process that I don't care about crashes. Typically these are Windows processes and they are 100% unrelated to my application or test running. Here's an example of it crashing for "GameBar.exe" which is a Windows process: I've searched extensively in these forums and there seems to be multiple threads over the last few years reporting the same frustrating behavior but I haven't found an example of how to configure TestComplete to not fail tests for this. I thought setting the "Process Filter Mode" to something like "Ignore all processes" would address this issue, but it seems to persist: Could anyone provide guidance on the proper way to prevent TestComplete from failing due to this? Thank you very much for any help!107Views0likes3CommentsShared user form between projects and event management
Hi all, I'm using a form that is shared between several projects. This form has 2 event handlers and I'm encountering a problem when executing it on the different projects. Assigning the event handler in the form works on the first project, but fails on the next. It's logical and due to the GUID attached between the form control and the event handler, which, as its name suggests, is unique to the project. To “get around” this technical constraint, I'd like to assign this handler dynamically from an initialization method, but I can't find any property that allows me to do so. Is there a solution to my problem other than duplicating my form file for each project? Thank you in advance for your help.47Views0likes2CommentsPython help
Hello. I've been trying to get a value from a grid's specific location (row, column) using Python but seems to struggle finding the correct method. So far, the closest method I found is .SelectItem(), but it returns the row's entire value as one long string without white spaces. In javascript, I was easily able to achieve this using the .wItem(row, column) method. Would appreciate any leads.24Views0likes2CommentsTest complete hangs and stops working
When Highlighting an object through the Object Spy window or the Object Browser panel of the Test Complete. Test Complete hung or Stopped working. Forcefully, I have to close the application through Task Manager. Test complete version: 15.68.8.7 Please find the attached screenshot and resolve this issue ASAP, Thank you42Views0likes3CommentsVBScript feature will be removed from windows
Hello, we noticed an announcement form Microsoft about VBScript feature will be removed from Windows after year 2027. Because we are using TC with VBScript, so I have 3 questions need your help: 1: Does TC still support VBScript If VBscript feature removed from Windows? 2: Is there any smart way or convenient way to convert VBscripts to Python via TC? 3: If we partially convert VBscripts to Python, is it ok if we mixed 2 languages to implement same functionality as before? If Yes, is there any reference link? Thank you!71Views0likes4CommentsObject Spy/IntelliSense not recognizing buttons have name mappings
I'm using version 15.67.1.7 and encountered a problem with TextComplete not recognizing there are name mappings for buttons. This is reflected in the Object Spy, and IntelliSense when scripting. Below is a screen capture showing an example. In this case you can see our application's UI on the left. There is an "Add" button in this dialog. The button is mapped, as seen in the center, and has been for years. However, now when I select it with the Object Spy (right side) it behaves as though it's not mapped. The Object Browser also indicates it's not mapped even though it is. If I try to map it again then I get an error saying it's already mapped. This is happening for pretty much every button in a dialog box and toolbar. Some of these have been mapped for years and worked fine until just recently. Also, in scripts using the button mappings still works. For new scripts I just have to type it in since IntelliSense doesn't recognize the mapping. As you can see there is no problem with the mapping of the dialog itself. Anyone else encounter this? It's really annoying.23Views0likes3CommentstcNetCoreReflectionServer.exe Error on Windows Server 2019
I installed TestExecute 15 on various versions of Windows Server, and while running my scripts, I received a message prompting me to download the .NET Desktop Runtime version 8.0.2. I did that, and everything works fine except for Windows Server 2019. I'm encountering an error at the end of my script execution: System.Net.Sockets.SocketException HResult=0x80004005 Message=An existing connection was forcibly closed by the remote host. Source=System.Net.Sockets StackTrace: at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken) at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token) at System.Threading.Tasks.ValueTask`1.ValueTaskSourceAsTask.<>c.<.cctor>b__4_0(Object state) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult() at NetCoreReflectionServer.ServerEntrypoint.<>c__DisplayClass8_0.<<Main>b__0>d.MoveNext() at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccessAndDebuggerNotification(Task task, ConfigureAwaitOptions options) at NetCoreReflectionServer.ServerEntrypoint.Main(String[] args) Can anyone help me resolve this issue?36Views0likes3CommentsTestcomplete is not minimizing while running userforms with RectObjectPicker
I have a user form which will capture the object and its details on clicking the RectObjectPicker On clicking the RectObjectPicker from the userform testcomple should minimize and show my current application that is running (or previous screen). But what happens is testcomplete is still visible and bit greyed out and my tested app is partially visible. Even tried with Option - Current Project Properties - Playback - Minimiize Testcomplete to TRUE or checked Can any one help on this. I am using a Desktop windows based application for tested apps.18Views0likes2Comments