SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Nov 2000
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Retrieving Large Amounts of HTML Source

    The built-in SilkTest function, GetPageSource as some limitations (i.e. the amount text in can grab).

    Would the code below not be a work-around:

    [ ] Browser.SetActive()
    [ ] Desktop.TypeKeys("&ltalt-v&gtc") //select View/source from the brower Menu -->this displays the source in notepad
    [ ] sleep(1)
    [ ] Desktop.TypeKeys("&ltctrl-a&gt") //select the entire contents
    [ ] Desktop.TypeKeys("&ltctrl-c&gt") //copy to clipboard --> silk can access this
    [ ] sleep(1)
    [ ] Desktop.TypeKeys("&ltalt-f4&gt") //close notepad
    [ ] Browser.SetActive()

    Yes...it's crude...but probably works...my apologies if this solution was posted in other posts.

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


    [This message has been edited by Rick Oei (edited 08-15-2002).]

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Location
    Bloomington, IL
    Posts
    142
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Retrieving Large Amounts of HTML Source

    I have been using a similar piece of code for the past year to store dynamic http pages except that I save the data in a htm file in a specific location.

    MikeF

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

 

 

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 05:55 PM.

Copyright BetaSoft Inc.