Forum Discussion
TanyaYatskovska
Alumni
12 years agoHi Joe,
Does the following code work for you?
projectsuite.variables.browser = "IE"
if projectsuite.variables.browser = "IE" then
browsername = "iexplore"
else
browsername = projectsuite.variables.browser
end if
if Sys.WaitBrowser(browsername).Exists then
'The browser is running
sys.Browser(browsername).Close
Browsers.Item(browsername).Run
end if