ajaybabuOccasional Contributor14 years agoopen and close browser what is the testcomplete code to launch either firefox or IE browser through script and also what is the script to close open browsers(may be IE or firefox)
dosseh_abiassiNew Contributor12 years agofunction openBrowser() { var bi = Browsers.Item(btIExplorer); // Browsers.Item(btChrome); // Browsers.Item(btFireFox); bi.Run("yourURL");}function closeBrowser(){ browserWindow = Sys.Browser().BrowserWindow(0); browserWindow.Close();}
Recent DiscussionsRecreating steps to "refresh" or speedup projectsTestComplete freezes during executionSupport for Oracle Forms Standalone Launcher (FSAL)
Related ContentClosing browser windows if OpenOpening the current active "EDGE" browser window and using that object instead of closing browserOpening second browser window