Name 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?882Views0likes14CommentsGeneral 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?80Views0likes4Commentsmapped 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?16Views0likes6CommentsMissing 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.44Views0likes11CommentsTestComplete 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, Luuk570Views0likes4CommentsRemote 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?28Views0likes2CommentsHow can I retrieve the text of that dropdown below?
Hi everyone, I am trying to get a text of dropdown in my application. Dropdown looks like this in the HTML: And in the system it appears like that: So far I tried innerText, outerText and contentText methods, none of them working.47Views0likes4CommentsSet web slider position without dragging slider
Hi guys, Is there a way to set the web slider position, without the need to drag the slider (or using cursor/page up/down keys)? I found SetPosition action or wPosition property, but neither seem work with the web objects. And yes, I also tried set "Keys" or "value", but these does not work either. Thanks for any idea :) PS: I ended-up with below solution, using Keys action. else if (inputElement.ObjectType == "Slider") { inputElement.Keys("[Home]"); for (let i = 0; i < (csvInputValue/10); i++) { inputElement.Keys("[Right]"); } } Basically, it Home key sets the slider to zero position and then Right key in loop sets the slider to expected position.62Views0likes8CommentsMulti-View Electron app
I'm trying to recod tests on an electron app that is made from two "pages" side by side. I couldn't detect the objects, i had to check that "*" in the MAAS settings. Now when I spy the page on the left, it's pointing the file of the page on the right, and the screenshot in the object browser displays the right page instead of the left page. The lest page's screen shot is correct though. So basically, it's as if TestComplete was unable to take in to the accound the position of the right view. The other major problem is that when i click on the app, the actions aren't being recorded.35Views0likes3Comments