clicking a html button programatically by vb.net - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

clicking a html button programatically by vb.net

excitedreamerexcitedreamer Posts: 2Member
I have to click a HTML button programatically which is on the 3rd page of the website. The button is without id. It has just name type and value. The HTML code of the button is given below

I am using the following code to click it






For Each webpageelement As HtmlElement In allelements


If webpageelement.GetAttribute("value") = "Next" Then

webpageelement.InvokeMember("click")

End If


Next




But I can not able to click it. I am using the vb.net 2008 platform to click it. Can anyone tell me the solution to click it?

Sign In or Register to comment.