LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  open and save a web page with javascript dopostback.

    Employee
    Posted 08-21-2013 05:54

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: edakaya

    Hi All,

    Currently we are trying to download some web pages running under javascript controls wiht lavastorm server version.

    Eg:

    we want to download second page of the link below :

    http://www.ibb.gov.tr/sites/haller/t...d=true&b=2&k=5


    And to download second page, in the browser, first we have to open the link above and then we have open:

    Javascript:__doPostBack('ctl00$HallerPlaceHolder$g _1733ca6b_dca8_40c5_8797_fbc7338a4ebd','dvt_firstr ow={41}')


    Then we can open and downlaod second page.

    How can i open and downlaod this second page in lavastorm. Ie, How can i download web page running under javascript dopostback?

    I appreciate your help
    Thanks.


  • 2.  RE: open and save a web page with javascript dopostback.

    Employee
    Posted 08-21-2013 07:05

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    Inspecting the source code for the webpage reveals this:
    function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
    theForm.__EVENTTARGET.value = eventTarget;
    theForm.__EVENTARGUMENT.value = eventArgument;
    theForm.submit();
    }
    }

    So, if you can build an HTTP node that submits the entire form, you can just set eventArgument to whatever page you desire.
    This is going to take a good bit of work because the form contains a large number of hidden parameters.


  • 3.  RE: open and save a web page with javascript dopostback.

    Employee
    Posted 08-26-2013 01:43

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: edakaya

    Hello ,
    I dont know how to set parameter in an http node?
    Can you explain how can i set eventArgument parameter in an http node?
    Also first i have to open main page at least once.
    With i typical http node we can only downlaod first page.

    Regards.


  • 4.  RE: open and save a web page with javascript dopostback.

    Employee
    Posted 02-14-2014 05:39

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: Wizardous

    We still can not solve this issue. An example http node that posts dopostback request would be great. As many sites we are trying to acquire data uses this function.

    Thank you,

    �zg�n


  • 5.  RE: open and save a web page with javascript dopostback.

    Employee
    Posted 02-16-2014 06:34

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ejones

    Attached is an example.
    Attachments:
    WeatherViaHttpSoapAndConvertTabularXml.brg