C# Programming
08-02-2011, 11:40 PM
Hello everyone,
I am working on a project where I have to automate the process of entering data through a website. I decided to use the WebBrowser control in .NET for this task.
The problem I am having is that when I try to click on certain buttons, nothing happens. After lookign at the HTML code, I saw a pattern. I can click on buttons where the input type is submit, but I have trouble with the buttons where input type is button and they only have an onclick attribute with ********** code.
I have also tried to use the InvokeScript() method, but that also does not work.
The only think I can think of is that ********** is disabled for the WebBrowser control.
Can anyone give me any ideas on how I might be able to resolve this issue?
I am working on a project where I have to automate the process of entering data through a website. I decided to use the WebBrowser control in .NET for this task.
The problem I am having is that when I try to click on certain buttons, nothing happens. After lookign at the HTML code, I saw a pattern. I can click on buttons where the input type is submit, but I have trouble with the buttons where input type is button and they only have an onclick attribute with ********** code.
I have also tried to use the InvokeScript() method, but that also does not work.
The only think I can think of is that ********** is disabled for the WebBrowser control.
Can anyone give me any ideas on how I might be able to resolve this issue?