Web Browser Automation from VB.net
Posted on 2007-10-03
We have a Visual Basic .Net app a form a WebBrowser object. We have an automation tool that clicks on a button (like New User ), which pulls up a popup window to enter data. When the popup window is invoked it immediately closes with this error message:
"This page cannot be refreshed without resending the information. Click Retry to send the information again, or click Cancel to return to the page that you were trying to view."
with two buttons: Retry and Cancel .
Clicking on Retry brings me back to the original form browser with the initial page refreshed.
Clicking on Cancel brings me back to the original form browser with:
Warning: Page has Expired
"This page you requested was created using information you submitted in a form. This page is no longer available. As a security precaution, Internet Explorer does not automatically resubmit your information for you.
"To resubmit your information and view this Web page, click the Refresh button."
These errors prevent the popup window from loading. We turned off Internet Explorer's popup blocker, and even turned off anti-virus. We have to have a demo version of this app ready in a week and this is a show stopper!!!
Any assistance would be greatly appreciated. Thanks.