Forum Discussion
TanyaYatskovska
Alumni
13 years agoHi,
In your example, you are calling IE's Navigate method. To call the TestComplete one, use the following script:
function runBrowserAndNavigate () {
//var web_browser = "iexplore";
//var web_browser = "firefox";
var web_browser = "chrome";
// Run browser
if(!Sys.WaitBrowser(web_browser).Exists)
Browsers.Item(web_browser).Run();
Browsers.CurrentBrowser.Navigate("http://osm.org");
}