C#.NET + Java script error in Screen Scrapping application
-
Thursday, December 18, 2008 7:57 AM
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
All Replies
-
Thursday, December 18, 2008 3:29 PMModerator
Hi,This forum is to support questions on Open Specifications Protocols.
There are very helpful communities of C# developers on the MSDN that may be able to assist you with your solution. I suggest you post your question on one these forums:
C# Development:
http://social.msdn.microsoft.com/Forums/en-US/csharpgeneral/threads/Internet Explorer Development
http://forums.microsoft.com/MSDN/default.aspx?ForumGroupID=253&SiteID=1
You should also search the forums in case someone has already asked a similar question.
MSDN forums
http://social.msdn.microsoft.com/Forums/en-US/categories/
TechNet forums
http://forums.microsoft.com/TechNet/default.aspx?SiteID=17
Microsoft Newsgroups
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
Regards,
Edgar- Marked As Answer by Richard Guthrie - MSFT Tuesday, January 06, 2009 10:41 PM
- Edited by Alex MorrillMicrosoft Employee, Owner Thursday, January 15, 2009 9:34 PM removed Windows ref. - forum is for general interoperability