Forum Discussion

lalit_chand's avatar
lalit_chand
Occasional Contributor
14 years ago

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
















2 Replies


  • Hi Lalit,





    We received a copy of this message submitted directly via our Contact Support form, so let's work on this problem in the support case you created. Also, in the future, please do not send us duplicated requests (note that we reply to messages sent via the Contact Support form, SmartBear forums and the TestComplete section of the SQAforums site). This makes processing your requests much more difficult for us.