Pratiksha,

You did not pay attention to my first hint. However, I can see that
you have put in some effort here.

Your original code was better (IMHO), so I have posted the modified
version of that at http://dotnetdevelopment.pastebin.com/KgdgSsV1. I
have tested it with one phone number that is registered and another
that isn't registered and it works fine.

Points to note:

1. We don't really need to hit the "search.misc" page at all, since it
only posts data to the "saveSearchSub.misc" page. If you would examine
the JS of search.misc, you will see that the form action is set
programmatically to the latter URL

2. You only need one parameter in the postdata, i.e., the "phoneno"
field.

3. The ParseRespone() method is only an illustration. I would not
normally recommend simple string searches with large-ish strings such
as this HTML retrieved as a result of an HTTP request.

Let me know if you need more help!

On Jul 9, 3:05 pm, Pratiksha Saxena <[email protected]>
wrote:
> Hi Cerebrus,
>
> I tried according to your suggestion.The code is pasted in-
>
> 1.http://pastebin.com/weZRvWFw
> 2. I have also included in References System.web
>
> The value i can see but i cannot figure out how to click submit
> button.Please give me hint.
>
> Thanks
> Pratiksha
>

Reply via email to