SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 6 of 6
  1. #1
    Senior Member
    Join Date
    Oct 2010
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    how to refresh a web page when page get error

    in my web [age when i click on any links some times it is displaying "Page cannot be display". but this issue is not occurring always some times its displaying error and some time its not.
    when i am getting web page is error i am refreshing it with some conditions.
    i think it is not good to put the conditions in script.

    PS: do we have any privilege to refresh the web page when my web page getting error"page cannot be display".

    Thanks,
    Santu

  2. #2
    Member
    Join Date
    Jul 2011
    Location
    India
    Posts
    381
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to refresh a web page when page get error

    If page can not be displayed and after refreshing couple of times it displays, isn't it a bug to be reported?
    There is something called page checkpoint where you can check for these "broken links" (not sure if it handles as i never used it)
    <font color="blue">[i]If there is no struggle, there is no progress!

  3. #3
    Member
    Join Date
    Aug 2009
    Location
    Bangalore, Karnataka, India
    Posts
    94
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to refresh a web page when page get error

    If you can capture the URL for the page, Wouldn't it be better to keep navigating to same page. That should be able to do the job I think.
    --------------------------------------------------
    K. Raghu Ram
    Automation & Performance Test Engineer
    --------------------------------------------------

  4. #4
    Senior Member
    Join Date
    Oct 2010
    Posts
    148
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to refresh a web page when page get error

    The problem is with page only in same url it is displaying "page cannot be displayed"

  5. #5
    Super Member FredMan's Avatar
    Join Date
    Oct 2007
    Location
    Lenexa, Kansas
    Posts
    1,218
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to refresh a web page when page get error

    Sounds like a bug to me.
    Onward thru the fog...

  6. #6
    Advanced Member
    Join Date
    Aug 2006
    Location
    Other side of the Computer
    Posts
    598
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: how to refresh a web page when page get error

    I have experience this. it only happens when you run through he automation. and manual navigation works.

    you can do a WebSync function and wait for the page to load. Put the condition inside that function. You can just call the websync after a click or when ever you are loading the page. I put error capture inside the websync function.
    ===========================================

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Search Engine Optimisation provided by DragonByte SEO v2.0.36 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 9.38%
vBulletin Optimisation provided by vB Optimise v2.6.4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.2.8 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominate (Lite) - vBulletin 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 09:56 AM.

Copyright BetaSoft Inc.