Results 1 to 3 of 3

Thread: getting Element id's from web page

  1. #1

    Thread Starter
    Fanatic Member kevin_sauerwald's Avatar
    Join Date
    Feb 2002
    Location
    outside Philly
    Posts
    516

    getting Element id's from web page

    I want to make a VB program open a web page, enter in something in
    a text box and hit return... I think I have a good example of how to do
    this .. I just have no clue how to find out the element id of the text
    box on this website... how do I get that.. is it buried in the source you
    can view from IE ?? do I need to ask the webmaster.. ? there a way
    to cycle through and print all from the site ??

    help help help... any ideas ?

  2. #2
    Frenzied Member dj4uk's Avatar
    Join Date
    Aug 2002
    Location
    Birmingham, UK Lobotomies: 3
    Posts
    1,131

    Re: getting Element id's from web page

    Rather than filling out the form you can simulate the Http Request i.e. Simulate the form being submitted.

    In other words you grab the URL the HTML form posts to (if you don't already know it) and submit the appropriate name-value pairs. You can then capture the response and do what you want with it.

    Does that help at all?

    DJ

    If I have been helpful please rate my post. If I haven't tell me!

  3. #3

    Thread Starter
    Fanatic Member kevin_sauerwald's Avatar
    Join Date
    Feb 2002
    Location
    outside Philly
    Posts
    516

    Re: getting Element id's from web page

    I think I was thinking that also and tried to spoof it but it did not work...

    heres the main search url
    http://XXX/customer/ecommerce/viewpsr.nsf/All+PSRs/$SearchForm?SearchView

    I put in this
    000000026117

    it takes me to this

    http://XXX/customer/ecommerce/viewps...*000000026117*

    I put in KEVIN where the 000000026117 and it still takes me to the same page.. something must be encoded in the rest of the hash to take me
    to the correct page.... granted I dont know much about URL hashing but I dont think I can spoof it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width