0

I have a website to which I need to pass 4 parameters and then extract data programmatically but there is a big problem. The website is built into ASP.NET with FORM inside AJAX. So, I can fill one field programmatically and then I fill second field. There is a need to click a button in order to fill third field so I press button programmatically then. The problem is that when I click the button, the second fill gets empty before calling the button event and causes error.

So is there a way I can sharply fill fields without causing errors?

2
  • Do you have any control over the website? Like can you change any code in the web site? Or can't you think of a service on the other side in place of the web page? Commented Aug 5, 2010 at 7:48
  • I am not the actual owner of the target site. Even I need to submit form and I can't use C# HTTPWebRequest because I don't know the URL to post to. I just have a form in front of me which I can open in browser and fill the fields and then submit. Commented Aug 5, 2010 at 8:01

3 Answers 3

2

Take a look at web automation library such as WatiN - this lets you do this kind of interaction.

Sign up to request clarification or add additional context in comments.

Comments

2

I agree with Oded and would like to add that as an alternative Selenium RC in combination with NUnit might be an option.

Comments

0

I believe IRobotSoft web scraper can do this kind of work. You will use two form filling actions, and add a Click action between them.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.