Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

There are a few things to avoid in IceFaces that trick Selenium -- here's what to do to make sure Selenium can test everything.

Things to do:

  1. All clickable images with hyperlinks must have an "alt" text -- if they don't, Selenium will record fine but won't be able to replay.
  2. Tables with clickable rows should have a fake link in them -- otherwise selenium won't record the click. The fake link should be an <ice:commandLink> with an actionListener that's null -- SessionBean1.nullAction works. Use this as your template:
    <ice:commandLink id="outputLinkRowTitle" style="font-size: medium" value="#%7bcurrentRow['title']}" actionListener="#{{SessionBean1.nullAction}"/>
  • No labels