Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Get IE version
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
How can i get the Internet Explorer version without using GetROProperty?
I don't want to use Browser("Creation Time:=0").GetROProperty("version") or Brow[/font]ser("Creation Time:=0").GetROProperty("application version").
How can i get the Internet Explorer version without using GetROProperty?
I don't want to use Browser("Creation Time:=0").GetROProperty("version") or Browser("Creation Time:=0").GetROProperty("application version").
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi Guin Anirban,
Please find the code ,Its working fine

Code:
Dim fso, ver, version
Set fso = CreateObject("Scripting.FileSystemObject")
ver = fso.GetFileVersion("C:\Program Files\Internet Explorer\iexplore.exe")
msgbox ver
If Len(ver) Then
    Reporter.ReportEvent micPass,"Step 01:", "Internet Explorer version determined sucessfully"
Else
    Reporter.ReportEvent micFail, "Step 01:", "Internet Explorer version could not be determined sucessfully"
End If
version=cint(Left(ver, 1))
'This line is required only if you want the first digit of the version number
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Thanks for your valuable answer.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)