How 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!91Views0likes2CommentsImplementation of Built-in RightClickNextTo Function in OCR Module
We propose the addition of a new built-in function called RightClickNextTo in the OCR module of TestComplete. This function would work similarly to the existing ClickNextTo but would simulate a right-click action next to an identified text element based on its coordinates. Currently, we have implemented a custom RightClickNextTo function by leveraging the x1, y1, x2, y2, height, and width coordinates obtained from the Bounds function of the OCR object. After identifying the text, the function calculates the necessary offset and direction to perform the right-click action. However, we initially encountered challenges when applying this function to the BlockByText object due to coordinates errors. After further experimentation, we realized that the coordinates should be applied directly to the ClickR in the image object or the screen object identified through the TestComplete Object Spy, bypassing the OCR object's bounds error. While this solution works, we believe that incorporating this functionality as a native built-in feature within the OCR module would streamline the process and make it more accessible to all users. The RightClickNextTo function could be used for more precise interaction with text elements based on their coordinates, particularly for scenarios where right-clicking actions are needed, improving the flexibility and usability of the OCR module for automated testing. By making this a built-in function, TestComplete users would save time and avoid errors when trying to implement similar solution manually, improving overall productivity and reducing complexity in the automation process. Code Snippet: [ Refer the attached image] This code snippet demonstrates how the custom RightClickNextTo function calculates the coordinates and applies a right-click at the identified text's location using the image or screen object. We truly appreciate your consideration of this suggestion, as making it a built-in function would greatly enhance the usability of the OCR module for right-click action, benefiting users and simplifying the automation process.Shared 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.32Views0likes2Commentsplease add Qt6.5 (LTS) Support
Qt6.5 (LTS) was released on April 3, 2023 and some bugs in Qt6.2 seem to be implemented only in Qt6.5. I believe Qt is widely used in desktop softwares and the demands of testings of softwares with newest Qt is large. However, TestComplete supports currently up to Qt6.2 and no update plan is published. We found that the newest TestComplete (15.54) cannot recognize any Qt-Objects in our software with Qt6.5. (Qt6-Objects are not recognized) Therefore, I would like to request Qt6.5 support urgently. Also, it would be helpful, if we could hear, when Qt6.5 is planned to be supported. Thank you.348Views6likes2CommentsPython 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.20Views0likes2CommentsDesktop Testing Parallelization for CI/CD
Right now, when we want to parallelize our desktop tests with TestComplete, we assign tags to various groups, then use GitHub Actions to run the various tags in parallel. While this works, it's also a very manual process that requires rebalancing test groups by hand. It would be ideal if there was some way to have TestComplete split groups of tests for running in batches, that I could then feed into our CI/CD Actions. This could work for non-Desktop tests as well, but I'm focusing on Desktop testing since there is at least some parallelization for web and mobile.7Views0likes0CommentsTest 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 you41Views0likes3CommentsVBScript 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!70Views0likes4CommentsObject 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.23Views0likes3Comments