ContributionsMost RecentMost LikesSolutionsRe: Name Mapping not working on remote browser Hi Alex, While I accept your answer regarding post answering, I am mainly interested in running my tests in headless mode (I don't really care about "name mapping"). The reason this post caught my attention was that it included a code snippet that I unsuccessfully tried to use, whereas it should according to TestComplete documentation. I was hoping that the original post placed by "testfeast" would attract some comments regarding the code correctness. This was a wrong choice of the post on my part. I since posted a question regarding this code elsewhere. Also, I created a ticket for the code not working because it poses a serious problem for my test team and needs to be resolved. Re: Name Mapping not working on remote browser Ok, thanks. Re: Name Mapping not working on remote browser Why this problem still remains unanswered SmartBear?... Re: Setting browser options programmatical Thanks, but you reply is not sufficient. 1. You might want to consider updating you documentation with that info as it is not immediately obvious that specifying Chrome options requires just one hyphen (“-“) instead of “—”, which is a standard (see https://peter.sh/experiments/chromium-command-line-switches/ )that you follow in you documentation on page https://support.smartbear.com/testcomplete/docs/app-testing/web/general/preparing-browsers/chrome.htmld in paragraph “Command-line arguments”. 2. You did NOT address the headless mode of browser operation, which happens to be far more important to my organization. This line of code: Browsers.Item(btChrome).RunOptions = '-incognito'; does not alter the behavior of the browser, which still shows full UI after starting. I have tried (rightly or wrongly) an alternative approach based on you documentation (https://support.smartbear.com/testcomplete/docs/app-testing/web/supported-browsers/headless.html ). Here, again, is my code: var url = "https://msdn.microsoft.com/"; var capabilities = { "browserName": "chrome", "goog:chromeOptions": { "args": [ "-headless", "-incognito" ] } }; Browsers.RemoteItem(“localhost”, capabilities).Run(url); When executed it terminates with this error: even though the latest version of chromedriver is present in “C:\ProgramData\SmartBear\WebDrivers\chrome” folder (as per your documentation – “<ProgramData>\SmartBear\WebDrivers\<browser> “). Can you please either tell me what am I doing wrong when specifying “headless” mode as a simple run option, or explain what is wrong with my code related to the Browser.RemoteItem command. Setting browser options programmatical Why I cannot set browser options (e.g. chrome) using this javascript code:' Browsers.Item("chrome").RunOptions = '--incognito'; Browsers.Item("chrome").RunOptions = '--headless'; Tried using this code: var browserOptions = { 'args': [ '--headless', '--incognito' ] }; in conjunction w this code: Browsers.RemoteItem(server, browserOptions ).Run(); Still no joy - am I trying something that is impossible?... Regards, /Richard SolvedIntegration of TestComplete with DevOps Git version ctl.. This webpage: https://support.smartbear.com/testcomplete/docs/working-with/integration/scc/tfvc/requirements.html2013 in "Prepare Your Computer Section" states the following: Install Microsoft Team Explorer on your computer. You can install it as a standalone product or as part of Microsoft Visual Studio. TestComplete supports the following versions: Team Explorer for Microsoft Visual Studio 2012–2019 This is the year of 2024 and I am using VS 2022; I am wondering why am I getting this error: "No Team Foundation Version Control client found". Is it because I am NOT using a VS version falling into the above year range? SolvedRunOptions property I start a new instance of Chrome to run my test cases. First I specify the RunOptions (command line for Chrome) and then start the browser. Here is the code I am using: Browsers.Item("chrome").RunOptions = '--aggressive-cache-discard'; Browsers.Item("chrome").RunOptions = '--disable-cache'; Browsers.Item("chrome").RunOptions = '--disable-application-cache'; Browsers.Item("chrome").RunOptions = '--incognito'; Sys.Browser("chrome").BrowserWindow(0).Keys("^n"); NOTE: I have tried to do the same using PowerShell in conjunction with WshShell, but the Browser object that is created that way is useless. I know that you you ask to execute Browsers.Item("chrome").Run(); after the options have been specified, but that works only if there are no browser instances running, which obviously is not what I want. Q: can you tell me please, if there is a way launch a new instance of Chrome (or Chromium based Edge), while there are already other instances of that browser running, with the command line options that I need? Solved