...
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:
...
- All
...
- clickable
...
- images
...
- with
...
- hyperlinks
...
- must
...
- have
...
- an
...
- "alt"
...
- text
...
- -
...
- -
...
- if
...
- they
...
- don't,
...
- Cubic Test/Selenium
...
- will
...
- record
...
- fine
...
- but will sometimes fail on replay.
- 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="
...
- {currentRow
...
- ['title'
...
- ]}"
...
- actionListener="#{SessionBean1.nullAction}"/>
- CubicTest/Selenium does not record actions on rich text fields -- i.e. FckEditor. I don't know why not, but you should plan your tests to avoid adding anything to rich text fields.