Contributions
Re: Configuring a remote license server via command line or any script
Hi, I want to do automated installation of TestComplete. As the user shall not need to manually configure the license server, I need a way to set up the license server configuration in an automated way (copying a config file, setting registry entries, calling http request via script,… - whatever is possible to be scripted with BAT, Powershell, Python, or any other scripting language, no matter).1.1KViews0likes1CommentConfiguring a remote license server via command line or any script
Hi, I want to configure remote license server but configuring the license server is possible manually. Is there any way to configure remote license server say command line or writing some script? I want this license server configuration for Jenkins setup.1.1KViews0likes3CommentsRe: Unable to find the object Sys.Browser("iexplore")
As I said before, its not about closing instances of a browser. I am able to see the browser is closed. But when I go to Task Manager, thereis process for the samein running state. Also, it was working fine on my machine yesterday. When I returned back from 30 minutes break again found the same issue. Currently working from another machine. Is it something machine specific? Please help with the solutions. Thank you in advance!2.1KViews0likes2CommentsRe: Unable to find the object Sys.Browser("iexplore")
Thank you, but the problem was with my machine, the process was running even if I close it through scripts. whereit was working as expectedon other machines. The priority of that service on my machine was set to 'High'. Ideally it should be set to'Normal'.3.4KViews0likes0CommentsRe: Unable to find the object Sys.Browser("iexplore")
Hello all, Thank you so much for all your solutions. The problem was with my machine. Though I re-installed internet explorer11. There was 'iexplore.exe' service running even if we close the browser. I did not notice this behaviour before. May be this is because of activation of 'add-ons'. Please let me know if anyone is facing the same.3.4KViews0likes9CommentsRe: Unable to find the object Sys.Browser("iexplore")
First of all I try to close the browser (IE browser). Then I check for the iexplore process if running. If yes then I close the process too. Alsoyesterday I re-installed- Internet explorer 11 and Testcomplete12 (of course completelyuninstalled first). And I am working with single tab of internet explorer only. Find the code below, if(Sys.WaitBrowser().Exists) { Sys.Browser().Close(); Delay(5000); } var process = Sys.WaitProcess("iexplore", 5000); if (process.Exists) { process.Terminate(); } var url = Driver.Value(0).toString(); Browsers.Item("iexplore").Run(url); Sys.Browser().BrowserWindow(0).Maximize(); page = Sys.Browser("iexplore").Page(url);3.4KViews0likes15CommentsRe: Unable to find the object Sys.Browser("iexplore")
How should I kill the process of 'iexplorer.exe' through script ? Please provideme a solution on this. What I realised is, it remains in running state even after I close the browser usingSys.Browser().Close(); this script. - where 'Browser' is parent class object of this process. I checked in Task manager -> Processes -> 'iexplorer.exe'5KViews0likes22CommentsRe: Unable to find the object Sys.Browser("iexplore")
I upgraded to latest version (i.e. 12.10.602.7 ). I found 3 new isseus as below, I deleted browser cache, history and everything. Then I tried to execute the same it is still showing same kind of error with ‘IExplorer’. If I write the same code for Chrome browser it is working as expected(Closes existing browser and opens new). Also I am not able to use run methods(Run/Navigate etc.) for Chrome browser. It is saying unable to navigate null ‘url’, though I am passing it in the method itself. I am able to achieve ‘Closing of Browser(if already open) and launching a new browser’ with below code. [Fails if no browser is open.]In the example This line is not getting executed until we run it in debug mode-> “ Browsers.Item("iexplore").Run();” [Whenever 2nd mentioned scripts in debug mode(i.e. step by step execution using ‘F10’ key) It works well with both the situations opened browser and closed browser.] Also able to achieve ‘Launching a new window(if browser is closed)’ with below code [Fails if browser is already open.] Attached are the screenshots for more understanding.5KViews0likes25Comments