C#.NET + Java script error in Screen Scrapping application RRS feed

  • Question

  • We are facing some issues in our current application. The details about the problem are given in comments.


    Comment : We are doing screen scrapping application using C#.NET  Win forms and web browser control. We need to automate “search” functionality in one of the web application hosted in the web browser control. We have 2 pages viz. “Search” page and “DetailsResult” page.  The details about the issue is given in steps.


    Step 1: when the application is launched “Search” page is loaded in to web browser control

    Step 2: we programmatically provide data to be searched in text fields and click on the search button on the “Search” page

    Step 3: Then, search results are displayed on “Grid” control on the same page

    Step 4: The details about the search result is shown in “Details” Page. This page is called as soon as we click on the hyperlink present in the data grid.


    For the first iteration, i.e. from step 1 to step 4, works fine.

    However the problem starts for second iteration. When we try to search new records as per the step 2 we get an java script error “Connection undefined”. And hence code is not able to perform step 3 and step 4.


    Can anyone provide pointers about the above issue?

    Thanks & Regards,
    - Yogesh
    Thursday, December 18, 2008 7:57 AM