Currently i'm using application which in the first browser we login into application and after successfull login, we click ona link which opens another browser.
Problem which I'm facing now is, we have a time out in which after 5 min of no action on a webpage, it throws a popup saying "Your session has timed out, click here to login again". Script do some backend validation and it takes some time 10 min to complete a single script. Since the login browser which we open is idle for a long time incase if exoected browser is not available. Is their any way we can close all popup in the browser.
Code i'm currentl using will work if no popup is their, incase of popup it failes.
Set objBrowser = Description.Create
objBrowser("micclass").Value = "Browser"
Set objDesktop = DeskTop.ChildObjects(objBrowser)
intCount = objDesktop.Count
For intLoopCount = 0 To (intCount -1)
Set objDesktop = Nothing
Set objBrowser = Nothing
Closing the webpage page after login is a also a option, i would like to know any change to existing code can close the force close a browser with popup.