SPONSORS:






User Tag List

Results 1 to 5 of 5
  1. #1
    wsh
    wsh is offline
    Junior Member
    Join Date
    Jun 2001
    Location
    Downers Grove, IL, USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Browser.ClearCache () on 5.5 using IE 5.5

    I have tried using the Browser.ClearCache method in one of my scripts and it does not execute the required steps to clear the cache. This method is stored in the Segue file explorer.inc. When I go into that file to look at the code for the ClearCache function, it seems it is missing a line of execution. Below is the code:

    explorer5DOM ClearCache () //line 1
    Explorer.SetActive () //line 2
    IE_Options.Invoke () //line 3
    IE_Options.PageList.Select ("General") //4
    IE_Options.General.DeleteFiles.Click () //5
    IE_Options.OK.Click () //line 6

    After line 5, the code needs another line to click OK on a popup window that appears when Delete Files is clicked. Is this a Segue error, and if so, can the code be changed to add this line. Or am I doing something totally wrong? Just wondering...Thanks in advance!


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

  2. #2
    Moderator
    Join Date
    May 2001
    Location
    SanJose,CA,USA
    Posts
    363
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Browser.ClearCache () on 5.5 using IE 5.5

    Your right. I also had same problem.I wrote my own clearcache function. Actually this line is misssing

    [ ] DeleteFiles.OK.Click()


    [-] // ClearCacheTP ()
    [ ] // Explorer.SetActive ()
    [ ] // IE_Options.Invoke ()
    [ ] // IE_Options.PageList.Select ("General")
    [ ] // IE_Options.General.DeleteFiles.Click ()
    [ ] // DeleteFiles.OK.Click()
    [ ] //
    [ ] // //Clear the Cache
    [ ] // // IE_Options.General.Settings.Click()
    [ ] // // IE_CacheSettings.ViewFiles.Click()
    [ ] //
    [ ] // // Clear the History
    [ ] // IE_Options.General.ClearHistory.Click()
    [ ] // BrowserMessage.OK.Click()
    [ ] //
    [ ] // IE_Options.OK.Click()

  3. #3
    Senior Member
    Join Date
    Sep 2000
    Location
    Twin Cities, MN, USA
    Posts
    653
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Browser.ClearCache () on 5.5 using IE 5.5

    I had this happen on one machine, but not another. It turns out when I upgraded from IE4 to 5 I had selected the option to keep IE4 compatability, so IE 5.5 is still using the IE4 cache-clearing functionality.
    Under the Program Files directory on my machine there is a folder called, "Internet Explorer - 4 Compatible." That was the giveaway for me. Do either of you guys have your browsers installed to be IE4 compatible?

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

  4. #4
    wsh
    wsh is offline
    Junior Member
    Join Date
    Jun 2001
    Location
    Downers Grove, IL, USA
    Posts
    12
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Browser.ClearCache () on 5.5 using IE 5.5

    I'm sure my machine is using 5.5 caching. I think I will probably just write my own function for this with the missing line of code. It seems Segue was not fully prepared for ClearCache () on IE 5.5. Thanks for the responses!

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

  5. #5
    Senior Member
    Join Date
    Aug 1999
    Location
    San Diego, CA USA
    Posts
    219
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Browser.ClearCache () on 5.5 using IE 5.5

    I also had a problem wth ClearCache using IE 5.0x. Actually, I ended up making a LOT of changes to explorer.inc and browser.inc and also sent them to Segue buit have yet to see any of those changes delivered with SilkTest.

    Anyway, in case it helps anyone here's my ClearCache from explorer.inc. It also includes a work-around for the problem in IE 5.0x where if you have an ftp site loaded the menus are still the old IE 4 menus so the cache clearing functionality is under a different menu. Thank you Bill Gates.

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

 

 

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:14 PM.

Copyright BetaSoft Inc.