Code: Select all
//Kills all iexplore.exe processes (a user would see these in task manager)
Host.Local.KillBrowser("IE");
//Does the method do this?
//1. Execute iexplore.exe with url as a parameter: iexplore.exe "http://www.ranorex.com"
//2. Click the maximize window button after IE opens
//Or this?
//1. Execute iexplore.exe with no parameters
//2. After IE opens, type "http://www.ranorex.com" in the address box, then click the maximize window button.
Host.Local.OpenBrowser("http://www.ranorex.com", "IE", "", false, true);