TestComplete cannot find visible buttons
Hello everybody, I'm testing an application using TestComplete 14.0 on a Windows 10 computer. The application is a software controller built using Qt 5.14.2 libraries and compiled using Visual Studio 2017. We recently upgraded the Qt libraries from Qt 5.8.0 and TestComplete cannot find some buttons anymore. Even though, those buttons are completely visible. I've run the Report Generator application and produced a report about this issue. Also I'm attaching a screenshot about what I'm talking about. Basically, Test complete says that it can't find a button on a Popup that is visibile, saying that is not. What could cause this issue? I've checked the button with the object inspector and the name of the button showed fits with the action selected. Any help is appreciated. Thanks!Solved2.3KViews0likes6CommentsFocus on window not visible on screen
Hello, I'm testing an application (delphi) and every time I press F12, I get a new window which helps me navigate in the application (note that both the application and the window are part of the same process, which is why minimizing does not show the window). My issue is that when it is done enough times, the window appears behind the application. From what the devs told me, I have to change the window Z order to make it visible on screen. I have tried multiple things, but the object always says visible = true, while visibleOnScreen = false. Any idea how can I change the z order of application windows or even better, make my window visible again ?Solved2.8KViews0likes9CommentsIn TestComplete ,The object properties changes adhoc. See details below
Details of the Application Desktop Application, objects are identified as Winforms object. Few objects are not identified in testcomplete. So We are using Open Application. Please find the below settings that are used. but the object browser changes frequently. Even it changes Winform Objects. In Current Project Properties, General - Native TextObjects on Top, Native MSAA in last but one, NativeUIA is at the bottom MSAA - * (For All Objects) UI Automation - * (For All objects) Text Recognition - * (For Accepted windows & Extended Support) Additional information: Objects Class Name : WindowsForms10.Windo.8.app.0.1ca0192_r40_ad1 For same object, We are getting UIA object (UIAObject) & MSAA objects too. When we are using Highlight options, it is not highlighting correctly The picture showed in object browser is not clear We are using Descriptive Programming. Please let me know if any more information is required. Thanks in Advance. Please suggest an Object browser settings for Winform + Windows Combination.2.7KViews0likes3CommentsIssue in name mapping
Using the object spy , I got a mapped name for an object. Say for example the mapped name looks like Aliases.abcd.xyz.window.Item I ran the test cases using this mapped name it all worked fine. Now after couple of days if I run it now it failed because the mapped name got changed . It got changed to like Aliases.abcd.xyz.window2.Item This has happened for couple of objects over a period of time. I raised this concern with my team and asked the developers if they have changed any of these objects. They confirmed that they didn't touch any of these objects. Can someone help me find out the reason as to why the mapped name gets changed for some of the objects ? I need to find a way to stop this , as this affectsmy test results2.5KViews1like7CommentsRead array of strings from dotNet (CLR Bridge)
Hello, I guess I miss something obvious: I'm using TestComplete 12.31.1833.7. I use the CLR Bridge to call a .NET method which returns an array of strings. The documentation says that "single-dimensional .NET arrays" have an OleValue property, which allows to access the array members. But how do I access the members? The debugger only gives me "undefined" values. To better diagnose the issue, I even hardcoded the members of the string array on the .NET side. Do you have any ideas? Thanks in advance! BerndSolved2.1KViews1like3CommentsNeed help to compare .rtf files
I am working with desktop application where in application generated word doc with .rtf extension . It has some highlighted text , some words with hyperling and can say few images. I want to compare two word file (.rtf) word to word and check if highlights is applied . words with hyperlink exist . Also I am looking to compare word document line by line. Currently I can only check , two documents are similar or different. I cannot check what exactly is the difference. Can any one help me with this. TIA2KViews0likes4CommentsComparing file from stores to output file locks both files sometimes
Hi, I have around 300 test cases for a desktop application, each has a saved expected result file in the Files stores. Each test case works as follows : Generates a data table. Export the data table to a file. Then : Files.stored_file.check("D:\thing\output_file.txt"); so the first time, the file gets exported and saved and compared succesfully, now if you re-run the test case ,, sometimes it works, and sometimes not! no specific steps to reproduce! Reason is that the output file gets locked, and won't get deleted/overwritten unless test complete is closed. if you reopen test complete it works very well. can you please help me with this? Thanks.1.2KViews0likes4CommentsChecking if an Object contains a specific number
Hi, On my desktop application, I have a page that returns results of a search. The result pane is considered as 1 Object although there are many rows and columns within it. Everytime I execute the query after some actions, I want to check if the newly generated Number (e.g., Invoice #), is present, within the returned results I saw an article in the documentation that explains how to check if a web page contains a text by using the aqObject.CheckProperty method. However, it does not work correctly for me. Could someone kindly point how to acheive this the correct way? Not sure if using aqObject.CheckProperty method, is the right thing to do. Thanks!2.1KViews0likes9Comments