read info on webpage

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • toddlisa2@charter.net

    #1

    read info on webpage

    I am trying to write a program to log internet speeds from a internet
    speed test website through a given proxy. For example I want to go to
    PCPitStop and run the bandwidth test. The test runs multiple pages
    within the same window before finally getting to the result page. So I
    need to run the start page wait for the result page and grab a line of
    text with the result to log to a file. If I use HTTPWebRequest and
    HTTPWebResponse I only get the info from the start page not the end
    page. If I use the process namespace I can not get to the info on the
    page. Is they a method for what I want?

    Thanks

  • Ken Tucker [MVP]

    #2
    Re: read info on webpage

    Hi,



    Ken
    -----------------
    <toddlisa2@char ter.net> wrote in message
    news:1126522824 .718499.252490@ g43g2000cwa.goo glegroups.com.. .[color=blue]
    >I am trying to write a program to log internet speeds from a internet
    > speed test website through a given proxy. For example I want to go to
    > PCPitStop and run the bandwidth test. The test runs multiple pages
    > within the same window before finally getting to the result page. So I
    > need to run the start page wait for the result page and grab a line of
    > text with the result to log to a file. If I use HTTPWebRequest and
    > HTTPWebResponse I only get the info from the start page not the end
    > page. If I use the process namespace I can not get to the info on the
    > page. Is they a method for what I want?
    >
    > Thanks
    >[/color]


    Comment

    • Ken Tucker [MVP]

      #3
      Re: read info on webpage

      Hi,



      Ken
      -----------------
      <toddlisa2@char ter.net> wrote in message
      news:1126522824 .718499.252490@ g43g2000cwa.goo glegroups.com.. .[color=blue]
      >I am trying to write a program to log internet speeds from a internet
      > speed test website through a given proxy. For example I want to go to
      > PCPitStop and run the bandwidth test. The test runs multiple pages
      > within the same window before finally getting to the result page. So I
      > need to run the start page wait for the result page and grab a line of
      > text with the result to log to a file. If I use HTTPWebRequest and
      > HTTPWebResponse I only get the info from the start page not the end
      > page. If I use the process namespace I can not get to the info on the
      > page. Is they a method for what I want?
      >
      > Thanks
      >[/color]


      Comment

      • toddlisa2@charter.net

        #4
        Re: read info on webpage

        This will not work. The HTTPWebRequest will grab the start page. The
        start page runs a function to download some pictures to get the final
        speed then displays the results on the results page. If you do the
        HTTPWebRequest on start you only see the function, if you do the
        HTTPWebRequest on the results page skipping the start page you get
        result saying it did not have a speed.

        Comment

        Working...