jratterree
unread,Oct 31, 2008, 11:16:59 AM10/31/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to selenium-users...@googlegroups.com
Hi everyone,
I'm testing a web page with selenium that has dynamically generated element names that may change when new builds are released.
We have items named:
+JoinPage_dyn_Template_CH_uxPage1Holder+
But everything up to the 'ux' is subject to change.
I would like to find element names using a wildcard search, like +*uxPage1Holder+ since that is the only part of the element I can be sure of.
I can do this
<td>clickAndWait</td>\\ <td>link=glob:Interested in joining?</td>\\ <td></td>
for testing a link, but I cant seem to make it work for VerifyElementPresent, which is where I'd mostly need it.
<tr>\\ <td>verifyElementPresent</td>\\ <td>JoinPage_dyn_Template_CH_uxInterestNote</td>\\ <td></td>\\ </tr>
What can I put in place of the name? I tried +Name=glob:*uxInterestNote+
and many variations of this, but it didnt seem to work out. Can anyone help me? Please?
Jesse R