Wiki Markup |
---|
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, Selenium will record fine but won't be able to 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}"/> |