Menu

Wicket Page Test

Kent Tong

Potential new features

  • If an assertion fails, it could stop and let the user inspect the page in the browser manually.
  • Support system testing: allow some things to be mocked.
  • Limit the scope of a mock bean to that page class to avoid affecting others, or delete it on first use.
  • Enable firebug in the Selenium browser.
  • Feel free to add more...

About Selenium RC

Since Selenium RC 1.0.3, the Selenium server will issue a HEAD command right before a GET command to request a single HTML page. This will result in double instantiations to a Wicket Page class.

If this issue affects your tests, for example, a page counting down its instantiation time, you may better use Selenium RC 1.0.1 instead or open a page by calling selenium.open(url, "true") in Selenium Driver 1.0.3.


Project Members: