12-20-2014, 10:03 PM
Thanks Kamal:
I tried executing this on my box but still it showing view as IE10 , not changed to IE8.
Executed as test.vbs and test.bat file.
Apart from This I tried code like below , it press f12 but I donbt know how to click compatible view and select IE8.
I tried executing this on my box but still it showing view as IE10 , not changed to IE8.
Executed as test.vbs and test.bat file.
Apart from This I tried code like below , it press f12 but I donbt know how to click compatible view and select IE8.
Code:
Set WshShell = CreateObject("WScript.Shell")
While Window("Developer Tools").Exist(2) = False
Browser("micclass:=Browser").Page("micclass:=Page").SetTOProperty "focus", True
WshShell.AppActivate "Internet Explorer"
WshShell.SendKeys("{F12}")
Wait(2)
Wend
WshShell.AppActivate "Developer Tools"
WshShell.SendKeys("%c")
Wait(2)