lalit_chand
14 years agoOccasional Contributor
IE-8 is crashing on Windows 2003 server
Hi ,
We have recently upgraded IE-7 to IE-8 on Windows 2003 server.
But when we run our scripts on IE-8 browser and windows 2003 server, IE-8 got crashed every time we execute the scripts.
Here is what is happening in the script.
1. On clicking one button B1 , new pages gets loaded.
2. We are calling a function addDelay() which checks that every frame is loaded or not .
We investigated the issue and found that more probably addDelay function is crashing the IE-8
[VB Script Code]
function addDelay()
Set Pg = Aliases.IE.Page("*")
Pg.wait
Pg.Refresh
'Wait for frames
waitFrm = True
Set Frames = GetFrames(Pg) 'Obtain the frames collection
While waitFrm
For Each Frame In Frames
If Frame.Exists Then
waitFrm = waitFrm And (Frame.readyState <> "complete")
Else
Log.Message("No Frame Available")
End If
Next
If waitFrm Then
Delay 100
End If
WEnd
End function
Here is the test script
[scriptStart]
set window = Browser.page(URL)
Call window.NativeWebObject.Find("id","btnEditPlntop").click
addDelay()
set window = Browser.page(newClickedURL)
Call window.NativeWebObject.Find("id","p").click
[/scriptEnd]
We also executed the same script in Win 7, 64-bit IE-8 and script is working fine.
Note : Windows 2003 server is virtual Machine.
Any Help is highly appreciated.
Regards,
Lalit
We have recently upgraded IE-7 to IE-8 on Windows 2003 server.
But when we run our scripts on IE-8 browser and windows 2003 server, IE-8 got crashed every time we execute the scripts.
Here is what is happening in the script.
1. On clicking one button B1 , new pages gets loaded.
2. We are calling a function addDelay() which checks that every frame is loaded or not .
We investigated the issue and found that more probably addDelay function is crashing the IE-8
[VB Script Code]
function addDelay()
Set Pg = Aliases.IE.Page("*")
Pg.wait
Pg.Refresh
'Wait for frames
waitFrm = True
Set Frames = GetFrames(Pg) 'Obtain the frames collection
While waitFrm
For Each Frame In Frames
If Frame.Exists Then
waitFrm = waitFrm And (Frame.readyState <> "complete")
Else
Log.Message("No Frame Available")
End If
Next
If waitFrm Then
Delay 100
End If
WEnd
End function
Here is the test script
[scriptStart]
set window = Browser.page(URL)
Call window.NativeWebObject.Find("id","btnEditPlntop").click
addDelay()
set window = Browser.page(newClickedURL)
Call window.NativeWebObject.Find("id","p").click
[/scriptEnd]
We also executed the same script in Win 7, 64-bit IE-8 and script is working fine.
Note : Windows 2003 server is virtual Machine.
Any Help is highly appreciated.
Regards,
Lalit