Ravik
13 years agoSuper Contributor
How to close browser in TestComplete
Hi ,
I am using below function for launching a web application. It's launch Internate Explorer and navigate to the application. but while closing Intenate Exploser, it's given run time error (Object does not support this property or method "IE.Close).
Please help me how to close browser in TestComplete.
I am using below function for launching a web application. It's launch Internate Explorer and navigate to the application. but while closing Intenate Exploser, it's given run time error (Object does not support this property or method "IE.Close).
Please help me how to close browser in TestComplete.
Sub Browser
dim IE
set IE= CreateObject("InternetExplorer.Application")
IE.visible= True
IE.Navigate "www.google.com"
Delay(15000)
IE.Close
End Sub