How to reinstall test complete on your machine once uninstalled
Hi community I have been having numerous issues with test completes latest version and i was advised to uninstall if the issues persists. I have uninstalled test complete but now i have lost my way. How can I reinstall test complete on my machine? Kind Regards, TinaSolved7.2KViews1like18CommentsTrying to call the FindChild method or property of an object but it does not exist
Hello, can someone help debug the following script, I cannot figure it out why it's failing being I am new to TC. I included the screenshot of the properties from the Spy captured,I am sure the page ID is correct according to the spy screen. function DragCard() { // Find the first column element var column1 = Sys.Browser("chrome").Page("https://rdx-dev.rdxhub.com/workspace/patient-board").FindChild("idStr", "chk-drop-list-0", 10); // Find the card element in the first column with the desired text content var cardToMove = column1.FindChild("contentText", "Test Patient455", 10); // Find the second column element var column2 = Sys.Browser("chrome").Page("https://rdx-dev.rdxhub.com/workspace/patient-board").FindChild("idStr", "chk-drop-list-2", 10); // Drag the card to the second column cardToMove.Drag(column2); }Solved5KViews0likes12CommentsExcel error
Hi team, I am facing error while fetching datas from excel in execution time alternatively (one time it's executing and another time it throws error as "excel internal error element not found" And " The access to the excel file is blocked. Possible because it is open in excel" But no excel file is opened in my machine i have restarted, cleared temp files and task manager as well. I tried to watch that excel variable in "add watch" While getting that error excel variable is returning as "NULL" The same script are executing fine in other machines only in my machine i am getting error alternatively. I have attached the error log report below for your reference Can any one give me a solution for this?? It's a great help for me! Many Thanks!2KViews0likes40CommentsNeed help comparing orderID on a second page
Hello, I'm trying to create a keyword test where after completing an order, there is a orderID that gets displayed. On that same page there Is a link that will take an user to the details of the order. Here the number gets displayed once again. I want to make the test in such a way that It checks if both of these orderID numbers are the same. So far I've created a temporary project variable. I use this variable at the beginning of the test to store the value of the orderID. To do this, I've created a set variable command with the mode of object property, using on screen object. I get a few options to choose as value, but none of them have the number, except the clipboard value. This value beeing: Aliases.browser.pageAtaroBvReserveren.textnodeReserveringsnummer7911.MappedName After making the test go the orderdetails page, I've used a property checkpoint using the same proces as before. And comparing the value to the variable with cmpEqual. The value I get out of this is:Aliases.browser.pageAtaroBvBesteldetails.textnodeBestelling7911.MappedName Now In both of these, the number is the same. How do I get It to ignore everything else but the number?Solved1.9KViews0likes10CommentsJava Swing table - trouble setting a cell value
Our Application Under Test works extensively with Java Swing tables. We have been able to click on cells and also extract values from table cells for checkpoint purposes. But, we are having trouble Setting or Typing into a cell value. Here's what we've tried: Recording a Keyword test and Playing it back (it records actual cells and fields within cells as objects and tries to update them). RESULT: no errors, but the cells are not updated Using the wValue [Set] on a designated Table and trying to Set the Text for a specific Cell. RESULT:no errors, but the cells are not updated Using the wValue [Set] on a designated CellRenderer and trying to Set the Text for a specific Cell. RESULT:received a "The parameter is incorrect" error, which makes sense as the CellRenderer doesn't offer up the wValue option when adding it in from scratch Using a script to access a cell within the CellRenderer and trying to Set the Text via the setText() function of the cell.RESULT:no errors and the setText() appears to be available, but also no update to the cells I followed the principles outlined in the solution to this question about getting Cell Values using the CellRenderer and then checked if the setText() function is available, which it is. I then send in the desired value to the setText() function, but to no avail. Any help is much appreciated as our Application uses these tables extensively. def setjTableCellValue(table, rowIndex, columnName, newValue): Log.Message("GLOBAL: You've are planning to update Cell Value to " + str(newValue) + " for Row: " + str(rowIndex) + " & Column: " + columnName ) columnIndex = getjTableColumnIndex(table,columnName) tableObjectValue = table.getValueAt(rowIndex, columnIndex) Log.Message("GLOBAL: You've requested to updated the Cell Value for Row: " + str(rowIndex) + " & Column: " + columnName + " [" + str(columnIndex) + "]") renderer = table.getCellRenderer(rowIndex, columnIndex).getTableCellRendererComponent(table, tableObjectValue, True, True, rowIndex, columnIndex) Log.Message("GLOBAL: got the Table Renderer") if (aqObject.IsSupported(renderer, "setText")) : Log.Message("In the SetText Section") renderer.setText(newValue)Solved1.8KViews0likes1CommentRemove the "improve your test performance" in test log
Hello, After the latest TestComplete update, the testlogs now show the message "Improve your test performance". In those logs TestComplete tells us that we can move our xPath selectors to increase the performance. We are aware of this but do not want to do this. Is there a way to deactivate these messages as we now only get warnings about performance? Kind regards, Luuk1.8KViews2likes7CommentsProcess "crashed" and test fails when closing the application in test
Hi all, I recently migrated my Testcomplete 14 tests to 15 and am currently runningVersion: 15.49.6.7 x64. We are using Testcomplete to regression test our desktop applications and have recently upgraded our desktop application to use Java 17. The execution plan consists of several tests with the application called "Workbench". The way of working will most likely look familiar: open the "Workbench" application (to get a clean sheet) create or open a project execute the test close the project that has just been tested close the "Workbench" application next test open the "Workbench" application create or open a project execute the test close the project close the application Now, when I do a full run,let's say the execution plan has four tests to run, the following happens: Test 1 executes, the application is closed by Testcomplete andTest 2 executes, the application is closed , test 3 and 4 run but after issuing the final close "Workbench" command (after executing test 4), Testcomplete will fail the test stating the "Workbench.exe" process crashed and test execution is interrupted. However, in my opinion, the process didn't "crash" but was terminated by Testcomplete on account of the execution plan (which it did 3 times succesfully with the same nametest "CloseApplication". There are built in delays in that test to ensure the process has fully completed, but that doesn't seem to help. Any ideas?Solved1.8KViews0likes13CommentsBrowserwindow 2 not clickable
Hello! I have a problem interacting with a popup window, tried to set focus etc but test complete does not identify the window as browser 2, so when ever I record click on that window it tries to click on the "base" window browser 1. I marked the image below: 1 - The web page 2 - The edit window (this works without any issue) 3 - This is the browserwindow2 I try to click inside, whenever I record it doesn't see this as a new window and still trying to click on the web page (1). Is there any good solution on how to get it to identify that a new popup have been opened up and it should work with that window instead? I tried some namemapping changes, set focus etc but so far no good 😞1.7KViews0likes20CommentsChrome Login popup not detected
TestComplete Version: 15.31.374.7 x64 Browser: ChromeVersion 99.0.4844.51 (Official Build) (64-bit) Running: Locally Issue: I've been using the below piece of code for 6+ months and occasionally it fails and will not identify the login fields to populate the username and password, is there a better more reliable way to handle this ? if(page.WaitLogin(3000).Exists) { Aliases.browser.pageSignOut2.Login.UserName = Project.Variables.Username; Aliases.browser.pageSignOut2.Login.Password = Project.Variables.Password; Aliases.browser.pageSignOut2.Login.buttonOk.Click() } Ive also tried the below which has occasionally worked but at the moment its not. if(page.WaitLogin(3000).Exists) { // Aliases.browser.pageSignOut2.Login.textboxUsername.Keys(Project.Variables.Username); // Aliases.browser.pageSignOut2.Login.textboxPassword.Keys(Project.Variables.Password); // Aliases.browser.pageSignOut2.Login.buttonOk.Click() }Solved1.7KViews0likes4CommentsTestComplete data driven loops not working for second row of an xls file
Hi Does anyone know of any simple misktakes that could stop a data-driven loop from and xls file stop working for a web page? My data loop successfully takes the data from the first row of a spreadsheet (to set up new users in a web app), but fails to find the data in the second row. When watching the script on the second iteration I can see that TestComplete goes to the correct field to enter the new username, but nothing happens ans it continues without erroring. Alternatively, does anyone know whoe to debug a data-driven loop to see if I can understand what is happening in the background. Many thanks, Dom.1.5KViews0likes4Comments