Hello, Im working on autoclick some buttons and fill in particular textboxe´s on a website.
Now i got a problem by clicking the Popup buttons Ok-Cancel.
here is the line of code for clicking the send button.
Code:
HtmlElement Button = IE.Document.GetElementById("sendtbtn");
Button.InvokeMember("onclick");
After clicked on the button the site showing a popup confirmation box.
How can my program detect the box and click on one of the buttons.
(Ive tried to use the sendkeys metheod to send a Enter key stroke to the form. And with the Webbrowser.Focus then sendkeys didnt work too.)