Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 750025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T14:30:11+00:00 2026-05-14T14:30:11+00:00

Preface: If you don’t care about the preface, skip down to the section marked

  • 0

Preface:

If you don’t care about the preface, skip down to the section marked “Question.”

Hi,

Recently my company has upgraded to the latest version of WatiN for its test automation framework. We upgraded to avoid a problem where interacting with a select list would cause an ACCSES DENIED error. This error seems to be a product of the fact that our web application reloads the page it is on (which sits in a frame which sits in a frameset) with new fields after certain select lists options are selected. It could also be that our framework, which wraps around WatiN, often does actions on the same SelectList after the page refresh (I’m still looking into this, I’m new to the framework).

The new version of WatiN does solve the ACCESS DENIED error, but also seems to stop select lists from firing the action that causes the page to reload w/ its new options. In fact, if you use WatiN to make the selection, the select list won’t work correctly, even if manually interacted with, until the page has been forced to refresh.

Question:

When selecting an option in a SelectList using the newest WatiN code, the event that causes our web app’s page to reload with new fields/values does not execute. What are some possibilities that could cause this?

The term i’ve seen used most often to describe the refreshing that occurs when our select lists are used is “double post-back”.

Many thanks,
Chad

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T14:30:11+00:00Added an answer on May 14, 2026 at 2:30 pm

    This is part of the new WatiN code. The new code, if you look into the SelectList class has comments about the fact that it has been changed so that these events don’t exactly fire. It says something along the lines of “you may need to use a key press or other event to get a select list to fire its events”.

    This didn’t work for me so we went back to the old code.

    One thing that has helped is wrapping calls to the select list w/ a try/catch(System.UnauthorizedAccess e) and then doing a .Refresh on the select list object. Afterwards, the call can be retried and it seems to work pretty well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let me preface this question by saying I use TextMate on Mac OSX for
I will preface this question by saying, I do not think it is solvable.
I'll preface this question by saying this is for a Microsoft only shop. If
Just to preface: I work in a small company that does ASP.NET development and
Preface: I don't have experience with rules engines, building rules, modeling rules, implementing data
Preface: I don't understand what this does: o => o.ID, i => i.ID, (o,
To preface this question: I've never actually done iPhone development. Haven't even downloaded the
To preface I am using Borland C++ and the VCL. I need some sort
Let me preface this by saying I'm a complete amateur when it comes to
I'll preface this by saying that I usually work in C#/.Net. Normally, I use

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.