Values 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!44Views0likes0CommentsHow 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 timeSolved201Views0likes3CommentsChange 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.Solved91Views0likes2Commentstestcomplete feature Intelligent Quality Add Ons
Is there a way of making testcomplete to recognize objects without using the Intelligent Quality Add Ons. Scenario: I screen recording a step where it need to click a button right lets say the object name is Aliases.mainwindow.button. when i re-run the script it does recognize the button anymore and i dont know why but I check again the button it changes to Aliases.mainwindow2.button now. With the Intelligent Quality Add Ons feature it works, but that feature is expensive. Is there a way i can work without using that feature, any module or method i can use.40Views0likes1CommentObject Browser does not display WPF DataGridCell Border
TestComplete is unable to see a WPF DataGridCell Border despite both Visual Studio and Snoop being able to see it. Has anyone else had this happen, and if so, what have you done? DataGridCell: TestComplete's Object Brower: Visual Studio Snoop:24Views0likes2CommentsIssue with retrieving text from listbox items in desktop win32 application
Hi All, I have a listbox object type item in my desktop application , which is in a table structure while trying to retrieve the text in the table i am getting error "Failed to retrieve text, because the items are owner-drawn.The list box is not of the LBS HASSTRINGS style. More information can be found in the MSDN library. The witem, witemList and wSelectedItems methods will return an empty string " in the wSelectedItems property.Any idea how we can fix this issue12Views0likes1Comment"Problems with the Object Spy #Desktop C#."
Good afternoon TestComplete community, I'm working with a development team where we're having trouble combining both codes. On a machine running Windows 10, it captures the object in a very different way from how it does on my machine with Windows 11. I need help. Thank you very much23Views0likes1CommentHELP!!!TestComplete not able to recognize the TreeView for a Desktop Application.
Hello All, I am recently using TestComplete to automate some manual work in my desktop application. Recently i am facing issue when trying to record a dockable window having a tree of folders and components. I have attached the figures of the dockable window for reference. I just need TestComplete to recognize the tree view of the dockable window so that i can customize the scripts for opening the corresponding components in the dockable window.My current sripts are just having mouse click command when selecting the items on the tree. However , in the same application, test complete can recognize tree views in other layout section but not in the dockable section. Can anyone of the experts help how i can get the tree view of this dockable window and also i am adding pictures of the scripts and object browser of the window. I couldnt located any tree view or click item methods in the object browswer. Appreciate if anyone can help me on how to proceed.58Views0likes11Comments