TestComplete 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.1KViews0likes7CommentsDyanmic file path
Hi all, In one of my step there is one folder in my Project Path from where I am uploading a file its path is like. c:/projectname/temps/file.png I am passing this path-c:/projectname/temps/file.png where i have to upload file .Is there any way that I dont need to mention the c:/projectname/ .It automatically identify the project path and continue with folder name .Like in other framework we like -*/temps/file.png. Marsha_R17Views0likes1CommentProject suite - Global recordings
Consider the following scenario: -A base solution, created with various recording that can be re-used by other solutions. Let's take an example, Login recording for example. -A solution C, which has a project that already uses some reference recordings, like the Login Recording from the base solution. When you create another project in solution C and want to re-use the already referenced Login Recording of the project that was there initially, for the new test plan of the newly created project this is not possible when you drag and try to drop the Login recording into the new test plan. TestComplete wouldn't allow it. Now you have to add reference the same Login recording from the base solution again in your new project, whilst it is already referenced in the project that was there before. Hence you have now two times the same recording from the base solution referenced for different projects in your solution. I would go for something like project suite referenced recordings, which are only referenced one time, and can be re-used by different projects/testplans in your solution without the need to add the same recording each time for every project in your solution. Another scenario: One solution with various projects which consists of recordings. You create a new project called B in this solution and want to re-use a recording from an existing project. Then you have add a reference to a recording from another project in the same solution. This is cumbersome.14Views0likes0CommentsValues from previous Textbox disappears when it's time to input the date value
Hello there! I'm working with TestComplete on an Electron-based Desktop application. I'm getting an issue where trying to create a form for a product (which requires NAME, TYPE, DESCRIPTION, START DATE, END DATE as inputs) is not filling up correctly when running the Keyword Test.This means that running the Keyword Test (or the script test translated from the Keyword Test) doesn't mimic the actual user-actions that I just recorded (although the screenshots from the Test Visualizer shows that all of the values are being inputted fine). Filling up the first 3 inputs (NAME, TYPE, DESCRIPTION) are done with no issues, but when it comes to auto filling up the START DATE, the values from the first 3 inputs disappear as the value for the START DATE is inputted (specifically when it's time to enter the year - just entering the month or day doesn't make the other values disappear). When using Object Spy, I notice that just having the month and day for the DATE values doesn't register the value, such that the outerHTML displays <input id="startDate" type="date" value="">, which could be the reason why it doesn't delete the first 3 values. However, adding the year (even just the first digit) removes the first 3 values on the texboxes. So having the START DATE value as "05/10/2024" gives the outerHTML: <input id="startDate" type="date" value="2024-05-10"> Note that the input tag (or outerHTML) for the first 3 textboxes is formatted like this initially: <input id="name" value=""> I believe it has something to do with how the first 3 inputs are TextBox Objects and are using the method SetText() while the START/END DATE inputs are a different Object which uses the method Keys(). I attached an image of the script version of the Keyword Test (where "customApp" is just a placeholder). I also attached the image of the form where I enter the information, in which the input for OWNER is also a textbox and should not matter since it's not editable (it's automatically generated). Thank you so much for reading this and I would really appreciate the help!65Views0likes0CommentsHow to click last row of the grid?
I want to click on the first cell from the last row in the table ? with Spy , i can fond the name of last row but because the last number of the row depends to the data and data every time change , i want to click on first cell of last row , i mean i want say to the test go find last row and get value of the first cell with (Ctrl+end ) , test is able to find last row but I can't click on it at the same timeSolved202Views0likes3CommentsGlobal Items in TestComplete
Every project has his Stores, NameMapping, TestedApps etc in a Project Suite project scoped. My idea is, that if you have a common objects that can be re-used by multiple projects, recordings, name mapping objects, instead of having to re-import them for every project in your suite, you have the option to also have them globally on Project Suite Level, to be then shared over the various projects instead of each project having to it's own version of Name Mapping, Tested Applications and such. Example: Project A -> user recordings, namemapping from base solution Project B --> user recordings, namemapping from base solution What it is today and what it could be: If you use global namemapping, user recording that your projects digest, then you only have to update/modify them in one place, instead of all your projects. I do would have the option still to have project scoped, namemapping, recordings etc next to the globally ones.39Views2likes2CommentsChange the OS region format all at once
Hi all, is there a way to change the regional setting so that we change the format based on a given format such as French-France ('fr-FR') : I saw that i can use the script to change the SetLocaleInfo to change each properties one by one, but i would prefer to use the Format pre-set settings to tests. Thank you.Solved91Views0likes2CommentsScript tests - Show in Name Mapping Editor/Show in Object Browser
With a Keyword test, you have the availability in the right-click context menu: Show In Name Mapping Editor or Show In Object Browser for an UI-item. In Script tests however, these right click menu options are not available for UI-items.11Views0likes1Comment