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?932Views0likes15CommentsAzure Pipelines - Runs on TestComplete instead of TestExecute
Hi all, So it seems like my UI tests are running with TestComplete instead of TestExecute and im trying to figure out why. In my pipeline i do request to use/prefer TestExecute: But for some reason it will run them with TestComplete and therefore consume a license which are supposed to be dedicated to my testers. So 5 TC licenses and 7 TE licenses and 6 agents running UI tests at night. Since they seem to run TC many pipeline are failing since they cannot acquire a license. I guess my next solution would be to install only TE on the agent's machines but i like to have TC there for debugging purposes. It was working just fine a few weeks ago... What could be causing this issue?18Views0likes2CommentsTestComplete 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, Luuk585Views0likes4Commentshow to run different sets of tests via TestExecute
Hi guys, I'm curious, what's your strategy to run different sets of tests from command line/CI? I found no way to dynamically enable/disable items in Execution plan. I mean, I have a set of tests to delete/create some reference resources (CreateResources). This set needs to be run once a day. And then I have RegressionTests group, which I want to run once or multiple times a day. I tried to utilize /t: parameter with the name of appropriate test group. Unfortunately, TestExecute starts, but no test stored in either group is started. And yes, all tests and groups/subgroups are enabled (TC doc says that TC will run only the enabled test items). Thanks for any idea.Solved25Views0likes2Commentshow to run custom scripts after project suite Run is completed
We have developed custom code in python to generate html based Summary report using the data available in the TestComplete provided Junit summary report xml file. At the end of execution i want to generate Junit summary report xml file and then I want to run this custom code. I am not sure when and where i can trigger this custom code after all the test execution is completed? Also it should get triggered in both commandline and using Test complete GUI. Any thoughts how to achieve this?59Views0likes10CommentsTestcomplete failing on listboxes
Hi, I'm trying to record and then run simple tests for a .net coded desktop application. I have simple form with text boxes, calendar controls, and listboxes. I am experiencing issues with running the recorded test - every time it comes to a listbox, Testcomplete just plain fails to continue. I see there have been lots of bugs complaining about list boxes over the years, but also posts saying that stuff was fixed 5 months ago. Has anyone else experienced, and resolved, issues with playback and textboxes, and if you resolved them, how did you do it?58Views0likes8CommentsVideo recording of Text Execution
Hello to everyone! I installed the VideoRecorder Extension and the last version of VLC Media Player. When I try to record a test execution in the log tab the following sentence appears: "Unable to start video recording. The VLC recorder is not installed." Why does this message appear? I uninstalled and installed again VLC but it continues to appear. How could I solve this problem? Thanks in advance to everyoneSolved1.1KViews0likes7CommentsContinue on error
Hi, I have the following question: How to continue with the next step of the same testcase after an error occurs? Scenario: - We have 40 customized checkpoints in one testcase (mode 'KeywordTests'), which are comparing images successfully - These images should be updated due to changes in the requirements - Each checkpoint throws an error and writes the expected image in a file - Running the same test case 40 times to receive the expected images is inefficient. How to configure Testcomplete not to terminate the execution of a testcase if the result of each checkpoint is 'Assertion is false'? - Setting the configuration 'On error' of this testcase (in the section 'Execution Plan) to the state 'Continue running'' does not work as expected. Thanks for your answer in advance!Solved89Views0likes9Comments