aravinda_mca
14 years agoOccasional Contributor
Two Instances of IE
I was running IE as different user with Login credentials.The script is
Err.Clear
On Error Resume Next
Call TestedApps.iexplore.RunAs(Domain,user,pwd,,,,-1)
Set p = Sys.Process("iexplore").Page("http://loca*")
If p.Exists Then
Log.Message("IE launched")
End If
TestedApps.TerminateAll
But in the Processes I see iexploe.ese with cmdline "C:\Program Files\Internet Explorer\iexplorer.exe"SCODEF:1108 CREDAt:79873.
Whenever I run the script I get an error message(but that's for exception handling) and another instance of IE running though I don't see anything under Applications.I have to always kill the process to run my script again.
Other problem is even after killing the process when run script I get unexpected window to recover last session.
Help me to get rid of all these problems.
-Aravinda
Err.Clear
On Error Resume Next
Call TestedApps.iexplore.RunAs(Domain,user,pwd,,,,-1)
Set p = Sys.Process("iexplore").Page("http://loca*")
If p.Exists Then
Log.Message("IE launched")
End If
TestedApps.TerminateAll
But in the Processes I see iexploe.ese with cmdline "C:\Program Files\Internet Explorer\iexplorer.exe"SCODEF:1108 CREDAt:79873.
Whenever I run the script I get an error message(but that's for exception handling) and another instance of IE running though I don't see anything under Applications.I have to always kill the process to run my script again.
Other problem is even after killing the process when run script I get unexpected window to recover last session.
Help me to get rid of all these problems.
-Aravinda