|
-
Oct 19th, 2011, 04:08 PM
#1
Thread Starter
Hyperactive Member
Automating webbrowser control
Hi people. I've done many projects automating the webbrowser control. Speeding up the process of filling certain forms with recognized fields was quite easy.
Now I'm doing some tests over the ticketmaster page. This page for example:
http://www.ticketmaster.com/event/11...&minorcatid=60
This form shows the Qty of tickets to purchase for that particular concert. I'd like to be able to change the ticket amount in the first dropdown. I currently get this achieved by using mouseclicks and sendkeys which is a bit annoying.
You will notice that these fields ain't in flash (which would have prevented me right away from updating it by code)
By looking at the source of this webpage, you see the name of the field is "w_ext_qty" followed by ".WeirdLongRandomCodeContainingNumbersAndLetters".
I think it's that suffix part that messes things up, as
Code:
WebBrowser1.item("q_ext_qty")(2).Selected = True
...would usually get the job done.
No luck by adding this suffix alphanumeric code to "w_ext_qty." and trying to populate it.
Any help greatly appreciated. I might be looking in doing it by http requests later on, but for now I'd be glad to have it running under a vb6 webbrowser.
Thank you for *any* thougths !
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|