General Exception raised within Run Browser action
Hi all, I'm falling in an random error for which I'm not able to find the root cause nor a workaround. I'm using TestComplete/TestExecute 15.66.7.7 version. The automation test is simply opening an Edge browser instance and navigating to the needed url; then, the needed validation web test steps are executed. Within this simple operation sometimes the Test Execute falls in an exception, for which the log doesn't provide so much information. The message is "Exception occured". From the picture, I can see that the browser is still loading the page. That is: it seems that TestExecute is not waiting for the complete loading of the page for the navigation. The strange thing is that, as you can see from the log below, the test is next correctly executed (the browser interactions are correctly done) but, for that strange Exception, the automated test is marked as failed (by providing a wrong information, since the needed validations are actually passed). I'm simply using the Run Browser action to open browser and navigate to the needed url (saved within a project variable): Please see the generated log below for more details. Could you suggest me a way to prevent this exception or the possible root causes for it?153Views0likes7CommentsMarking new checkboxes
Hi! I'm new to testcomplete. I'm working on some web tests and I'm learning how to use testcomplete at all. Well, I wanted to do a test with some checkboxes, the page works in such a way that there are 5 checkboxes per page, being able to increase this number with a list. Once a person is selected and a request is created, their checkbox is disabled so that the chosen user only has one request in progress. Then the next testcomplete run tells me the error that the checkbox is not accessible since it sees it disabled. Is it possible to tell testcomplete to look for the closest checkbox that is available so that it automatically selects it? Oh, sometimes when I use the object spy tool to manually tell testcomplete to check another box that is available at that time simply ignores me and launches the same error, even when I do the highlight thing to see if my mark was on the right spot. Idk why this happens, maybe is a code error I'm only using keyword test bc I'm so noob with code and scripts. Thank u in advance and have a great day ☀️91Views0likes10CommentsChrome browser starts with Sad Face
Struggling with existing test scripts starting a Chrome Browser. The code works fine on my laptop, but other team members have different behaviors. I use Browsers.item[chrome].Run() to start my browser. Where it fails, Chrome starts, one empty tab page with a sad face. No mather what I try to open on the browser links, new tabs, it is like we have not internet or no priviledge at all. I did go through configuration steps. The TestComplete extension is colored on Chrome, the TestComplete has Desktop, web amd Mobile Extensions installed and ticked. Running TestComplete and Testexecute 15.71 on Windows 11 with 125.0.6422 Any suggestions is welcome385Views0likes6CommentsAsserting table/grid data
My web applications uses AG Grid. I don't believe that is specifically supported by TestComplete so I am struggling to find the best way to still utilize TC and validate my table. The Table Checkpoint feature seems not usable. The table is not recognizable but with OCR it can create a table store but the data it extracts is somewhat messed up and thus not a good baseline to use. When I fix the data in the store the comparison fails because it is reading the data from AG Grid incorrectly. I can map individual cells of the table but this does not seem like a good approach. Does anyone have any suggestions or best practices for working with grids when it is not supported by TC?34Views0likes5Commentsmapped elements in headless mode does not return child elements
Hi folks, I'm recently trying to run my web-based tests in headless mode and I found a blocking issue that the mapped elements does not have child elements. Therefore, FindChild method (and other Find methods) fails to find child elements in such element. The mapped element alone is found. It just shows ChildCount = 0. Please see the attached image. Does anyone experience the same issue?73Views0likes8CommentsName Mapping not working on remote browser
The name mapping and test cases work fine on local browsers, but would complain about page or object not found when running headless remote browsers and in parallel testing. I have the following setup for browser name mapping: For headless setup I have: server = "localhost" capabilities = { "browserName": "chrome", "headless" : "true", "screenResolution": "1920x1080", "platform" : "Headless", "record_video": "true" } Browsers.RemoteItem[server, capabilities].Run(url) Is this the correct way to work with name mapping on headless browser?995Views0likes15CommentsTestExecute not able to launch Edge & Chrome browser
Currently we are using TestComplete & Test Execute15.69 Version, all of sudden many users started seeing error "unable to find the object sys.Browser("*")". for some reason, i see Test Complete is not able to launch the browser (both edge & Chrome). Only change i see is browser update, both Edge and Chrome is upgraded to 131. Smartbear Extension version is 15.0.5. I created ticket with Smartbear and support team suggested to disable below option which i tried and it worked for Test Complete. However same option i disabled on Test Execute it is still did not work. Tools--> Options --> Engines ->> General, uncheck "Enable support of window store application" and restart the TestComplete and your Computer. any one faced similar issue ?74Views0likes4CommentsFramework for SSO with multiple users
I need advice to setup end to end framework compatible for multiple users login (not at same time) with single sign on. How to handle this situation if execution started through jenkins. I already have setup to start execution through jenkins by taking interactive session on remote machine. But this will support only for one user at a time, How to handle if test step is to approve task by another user while execution is running48Views0likes0CommentsChange attributes on the current Folder in the log
I am trying to change the attributes on a folder based on if there are any error messages within that folder. I was wondering if this was possible. [code] var goodAttr = Log.CreateNewAttributes(); goodAttr.Bold = true; goodAttr.BackColor = clLime; goodAttr.FontColor = clGreen; var badAttr = Log.CreateNewAttributes(); badAttr .Bold = true; badAttr .BackColor = clRed; badAttr .FontColor = clMaroon; foo = function() { var previousErrs = Log.ErrCount; var logFolder = Log.CreateFolder("New Folder", "Stuff that goes in this folder", pmNormal, goodAttr); Log.PushLogFolder(logFolder); // ... // Do Stuff // Some of which may be errors //... if (Log.ErrCount > previousErrs) { // This is the part I can't figure out. Log.Item(logFolder).Attr = BadAttr; } Log.PopLogFolder(); } [/code]59Views0likes5Commentsmht files are by default opening in Edge browser and its blank
Hi Community, Since today morning I've observed that Testcomplete results .mht files are by default opening in edge browser instead of IE and the page is completely blank. I've gone through some forums and did the below changes but nothing worked. Can someone help us on this please.Solved1.2KViews0likes8Comments