Forum Discussion
ArmandsBruns
13 years agoFrequent Contributor
In NameMapping Configuration "IE8" (I create that index is 2)
In NameMapping Configuration "IE9" (I create that index is 3)
I tried to write a function, but got "Run time error" it doesn't find -> sys.process("iexplore")
Function BrowserRun()
Dim index1, index2, index3
index1 = sys.process("iexplore")
index2 = Sys.Process("iexplore", 2)
index3 = Sys.Process("iexplore", 3)
if index1.exists and index2.exists then
Set indexType = "IE8"
elseif index1.exists and index2.exists and index3.exists then
Set indexType = "IE9"
else
end if
Select Case IndexType
Case "IE8"
NameMapping.CurrentConfigurationName = "IE8"
Case "IE9"
NameMapping.CurrentConfigurationName = "IE9"
End Select
End Function
In NameMapping Configuration "IE9" (I create that index is 3)
I tried to write a function, but got "Run time error" it doesn't find -> sys.process("iexplore")
Function BrowserRun()
Dim index1, index2, index3
index1 = sys.process("iexplore")
index2 = Sys.Process("iexplore", 2)
index3 = Sys.Process("iexplore", 3)
if index1.exists and index2.exists then
Set indexType = "IE8"
elseif index1.exists and index2.exists and index3.exists then
Set indexType = "IE9"
else
end if
Select Case IndexType
Case "IE8"
NameMapping.CurrentConfigurationName = "IE8"
Case "IE9"
NameMapping.CurrentConfigurationName = "IE9"
End Select
End Function
Related Content
- 12 years ago
Recent Discussions
- 15 hours ago