SPONSORS:






User Tag List

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Jan 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SilkTest \"Hangs\" Pages in VO

    Hi,

    I'm currently running SilkTest v5.5 SP1 and I have noticed that in some of my scripts when it is run on Netscape4 VO, webpages will hang indefinitely in the middle of the page as it is loading. Eventually SilkTest fails the current testcase with an "Application is not ready" error. Also all subsequent testcases fail with the same error message. This error does not happen to my personal workstation (Dell) and a few other computers but primarily on four of my Compaq Proliant DL360 servers.

    The error is very inconsistent because it comes up in random pages. I know that the page/server is fine because if I manually run the test, all pages load up successfully. Also as it is "hanging" if I push Reload, the page loads up without problem and the test continues normally.

    All my machines are currently running Netscape Communicator 4.70 on Windows 2000 Professional OS.

    Does anyone have any suggestions?

    Thanks.

    ------------------

  2. #2
    KS
    KS is offline
    Senior Member
    Join Date
    May 2001
    Posts
    265
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest \"Hangs\" Pages in VO

    Try closing the browser after each testcase see if you still get application not responding...try increasing timings if not...or plain just wait for an object to show up(Exists()). Set up appstate with timing so you dont have to wait the whole day for the application to show up

    ------------------

  3. #3
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest \"Hangs\" Pages in VO

    Agreed. I close and reopen the browser between every test.

    If you prefer not to do that, you can create a function that looks for this condition on each screen/page you expect to see and if the page does not finish loading in the specified amount of time (5-10 secs) this function knows to click the "reload" button.

    This could be the first function you call after every pages is loaded.

    ------------------

  4. #4
    Junior Member
    Join Date
    Jan 2002
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest \"Hangs\" Pages in VO

    "If you prefer not to do that, you can create a function that looks for this condition on each screen/page you expect to see and if the page does not finish loading in the specified amount of time (5-10 secs) this function knows to click the "reload" button."

    DJGray, if possible could you provide me a sample code that will refresh each page if it does not load up in a specified amount of time?

    Thanks all for your suggestions!

    ------------------

  5. #5
    Senior Member
    Join Date
    Jul 1999
    Location
    Bellingham, WA USA
    Posts
    1,323
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: SilkTest \"Hangs\" Pages in VO

    Okay... I whipped this together pretty quickly, so you'll probably need to tweak it to make it reliable, but it does appear to work. I'm making the call in this way:

    Here is the TimeOut function that is being called.

    Note the commented line. It was reloading the previous URL, rather than the page you are wanting to load, so I decided to pass the url in.

    Here are the results:
    This appears to work. I was passing http://www.msn.com as the URL and allowing it 0.01 as rWait to load, so it took 12 tries for the page to actually load in that allowed timeframe.

    Hope this helps! Good luck.

    ------------------


    [This message has been edited by DJGray (edited 05-08-2002).]

  6. #6
    Guest

    Re: SilkTest \"Hangs\" Pages in VO

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by juncho:
    Hi,

    I'm currently running SilkTest v5.5 SP1 and I have noticed that in some of my scripts when it is run on Netscape4 VO, webpages will hang indefinitely in the middle of the page as it is loading. Eventually SilkTest fails the current testcase with an "Application is not ready" error. Also all subsequent testcases fail with the same error message. This error does not happen to my personal workstation (Dell) and a few other computers but primarily on four of my Compaq Proliant DL360 servers.

    The error is very inconsistent because it comes up in random pages. I know that the page/server is fine because if I manually run the test, all pages load up successfully. Also as it is "hanging" if I push Reload, the page loads up without problem and the test continues normally.

    All my machines are currently running Netscape Communicator 4.70 on Windows 2000 Professional OS.

    Does anyone have any suggestions?

    Thanks.

    <HR></BLOCKQUOTE>


    [This message has been edited by bvs_ram (edited 05-30-2002).]

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 02:25 AM.

Copyright BetaSoft Inc.