08-20-2014, 04:43 PM
Hello All,
I am using the following code to close all the browsers.
I am getting "object is disabled" error when the line Browser("creationtime:=0").close is executed.
As a results UFT seems to go to a paused state for a while and then execution continues.
Environment:
Windows 7
UFT 11.53
IE8
Please help
I am using the following code to close all the browsers.
Code:
While Browser("creationtime:=0").Exist(0)
'Close the browser
Browser("creationtime:=0").Close
Wend
I am getting "object is disabled" error when the line Browser("creationtime:=0").close is executed.
As a results UFT seems to go to a paused state for a while and then execution continues.
Environment:
Windows 7
UFT 11.53
IE8
Please help