problem with webRequest.method = post

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sujith Jagini

    #1

    problem with webRequest.method = post

    ------------------------------------------------------------------
    <input type="hidden" name="__VIEWSTA TE"
    value="dDwtMTUz MzQ4ODY4ODs7Ple b3NLElxrFpPbkFW oEst9bdqIM" />

    <span id="Label1" style="height:2 7px;width:764px ;Z-INDEX: 101;
    LEFT: 27px; POSITION: absolute; TOP: 110px">Label</span>
    <input name="url" type="text" id="url"
    style="height:2 5px;width:276px ;Z-INDEX: 102; LEFT: 20px; POSITION:
    absolute; TOP: 18px" />
    <input type="submit" name="Button1" value="Button" id="Button1"
    style="height:2 4px;width:121px ;Z-INDEX: 103; LEFT: 302px; POSITION:
    absolute; TOP: 19px" />
    <input type="submit" name="Button2" value="Button" id="Button2"
    style="height:2 5px;width:114px ;Z-INDEX: 104; LEFT: 423px; POSITION:
    absolute; TOP: 18px" />
    <input type="submit" name="Button3" value="direct" id="Button3"
    style="width:10 8px;Z-INDEX: 105; LEFT: 536px; POSITION: absolute; TOP:
    19px" />
    <input type="submit" name="Button4" value="aspAlli" id="Button4"
    style="width:87 px;Z-INDEX: 106; LEFT: 644px; POSITION: absolute; TOP:
    19px" />
    <input type="submit" name="Button5" value="Button" id="Button5"
    style="height:2 5px;width:91px; Z-INDEX: 108; LEFT: 731px; POSITION:
    absolute; TOP: 19px" />
    </form>
    </body>
    </HTML>
    -----------------------------------------------------------------
    Hi, above I have pasted the source code of one of my aspx page . I
    have a text box and 5 buttons. I insert text into the textbox and
    click one of the five buttons. Based on the button pressed I get
    different results. And my problem is, I want to automate this with
    webRequest. I want to write a program that puts some text into textbox
    and clicks the button specified in the program.
    Help will be greatly appreciated.

    Thank You
    Sujith Jagini
  • Natty Gur

    #2
    Re: problem with webRequest.meth od = post

    Sujith Hi,

    what excecty you mean for program that automate this ? do you want to
    create windows application that will do it or do you want to create
    JavaScript that will insert data and simulate the clicks?

    did you consider converting this to webservice ?


    Natty Gur, CTO
    Dao2Com Ltd.
    34th Elkalay st. Raanana
    Israel , 43000
    Phone Numbers:
    Office: +972-(0)9-7740261
    Fax: +972-(0)9-7740261
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!

    Comment

    Working...