mapped 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?69Views0likes8CommentsName 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?934Views0likes15CommentsTestExecute 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 ?45Views0likes4CommentsFramework 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 running29Views0likes0CommentsChange 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]57Views0likes5CommentsGeneral 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?112Views0likes5Commentsmht 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.Solved1KViews0likes8CommentsMissing the step to select an item in a dropdown in recording scripts
I'm trying to click a dropdown and select "Agent" in the dropdown(picture1.png, picture2.png), which will open a popup,but the record scripts doesn't list the step of selecting "Agent"(picture3.png). Does anyone know what's going on with the tool ? I tried to manually add object as well, but it doesn't work for any items in this dropdown.48Views0likes11CommentsTestComplete cannot find chrome webdriver
Hello, I am trying to get TestComplete to run headless tests. I am following this guidehttps://support.smartbear.com/testcomplete/docs/app-testing/web/supported-browsers/headless.html#localand I am running into the issue that TestComplete cannot download/see the needed WebDriver. This is the JavaScript used in the guide. function Test_Chrome_Headless() { var server = "localhost"; var capabilities = { "browserName": "chrome", "screenResolution": "1920x1080" }; var url = "myurl"; Browsers.RemoteItem(server, capabilities).Run(url); } I downloaded the chrome driver manually and created the path as shown above. But even with the driver in the correct location he cannot seem to open it. When I try to open the driver myself, it works. Does anyone have an idea what I am doing wrong? Kind regards, Luuk585Views0likes4CommentsRemote browser clear cache
I am encountering an issue where my remote (headless) browser seems to be caching (remembering) my login. If I go to the app through the browser, I am prompted to login. Navigating headlessly, I am already logged in. How can I handle this case? I am thinking its cache related so how can I clear a cache on a remote browser through TC?39Views0likes2Comments