Help need in Click a Button Without ID

shree1980

New member
Joined
Jul 9, 2011
Messages
3
Programming Experience
1-3
Hi I am automating web browser control to automate some web sites
I need help to click a button which dont have ID I tried to use

If link.GetAttribute("value").Contains("Register") Then link.InvokeMember("click")

but it doesnt work can any one me this thing dont worked for these sites

Singapore No. 1 Car Forum & Car Club - MyCarForum
http://208.53.15.39:8080/forum//index.php
Infidelity Power Board (Powered by Invision Power Board)

after opening this page click on register button then you will find the button with name "Register" which is troubling
 
Forum user registration is something you probably don't want to attempt to automate, such a procedure is usually protected against that in particular. It is also something a normal user would only do once ever, which eliminates a legitimate need for automating it for repeated operations. I'd say your request sounds really dubious in regard to all the spam bots we see at the forums.
 
hi thanks for replay the question i asked is to tally for my personal use to develop a frame work for web automation have shown some exapmle and of sites only
 
Hi I am automating web browser control to automate some web sites
I need help to click a button which dont have ID I tried to use

If link.GetAttribute("value").Contains("Register") Then link.InvokeMember("click")

but it doesnt work can any one me this thing dont worked for these sites

Singapore No. 1 Car Forum & Car Club - MyCarForum
http://208.53.15.39:8080/forum//index.php
Infidelity Power Board (Powered by Invision Power Board)

after opening this page click on register button then you will find the button with name "Register" which is troubling


If you know the coordinates of the button (x/y) then you could make the mouse click on it. Saw this thing earlier on youtube where this guy automated login procedure for gmail and hotmail. :)
 
Back
Top