SPONSORS:






User Tag List

Thanks Thanks:  0
Likes Likes:  0
Dislikes Dislikes:  0
Results 1 to 5 of 5

Thread: browser refresh

  1. #1
    Junior Member
    Join Date
    Aug 2004
    Location
    chennai
    Posts
    8
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    browser refresh

    Hi ,

    i am using winrunner for automating web application . In some cases i want to refresh browser. plz tell me the function that can i refresh the browser

    what is the use of web_refresh()?plz give me with example

    thanks

  2. #2
    Member
    Join Date
    Nov 2004
    Location
    NJ, USA
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: browser refresh

    Simple solution:

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">win_type(&quot;html_frame_name&quot;,& quot;&lt;kF5&gt;&quot;</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">simulate pressing the F5 button, provided you are writing script for IE. For other browsers, instead of "<kF5>", type the shortcut key for Refreshing that particular browser...
    The Vagabond.
    Thurst yourself into the wheel of madness and action in search of the center. Once you find the center, you cannot be moved.

  3. #3
    Moderator JakeBrake's Avatar
    Join Date
    Dec 2000
    Location
    St. Louis - Year 2025
    Posts
    15,609
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: browser refresh

    The answer is in both the User's Guide and the Help > TSL Help. Examples are provided in the TSL help.

  4. #4
    Moderator JakeBrake's Avatar
    Join Date
    Dec 2000
    Location
    St. Louis - Year 2025
    Posts
    15,609
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: browser refresh

    Originally posted by QAniket:
    Simple solution:

    </font><blockquote><font size="1" face="Verdana, Arial, Helvetica">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">win_type(&quot;html_frame_name&quot;,& quot;&lt;kF5&gt;&quot;</pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">simulate pressing the F5 button, provided you are writing script for IE. For other browsers, instead of "<kF5>", type the shortcut key for Refreshing that particular browser...
    <font size="2" face="Verdana, Arial, Helvetica">Simple - but not good if the poster can use context-sensitive recording.

  5. #5
    Member
    Join Date
    Nov 2004
    Location
    NJ, USA
    Posts
    46
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Total Downloaded
    0

    Re: browser refresh

    web_refresh() only resets the WinRunner's connection with your application.

    Again for details, look into TSL Online Reference...
    The Vagabond.
    Thurst yourself into the wheel of madness and action in search of the center. Once you find the center, you cannot be moved.

 

 

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 11.54%
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 01:46 PM.

Copyright BetaSoft Inc.