You do not have permission to delete messages in this group
Copy link
Report message
Show original message
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
{quote}The modified version of this code using regular expression. This code dies not work. Can anyone explain why?
<tr>\\ <td>waitForPopUp</td>\\ <td>regexp:win(\d+)</td>\\ <td>30000</td>\\ </tr>{quote}
Because the first argument required by *waitForPopUp* is a *windowID*, not a *pattern*. We cannot (unfortunately!) just stick a *regexp:* prefix followed by a regular expression wherever it might come in useful--only when the command in question allows a pattern.
You might try to determine the name of the JavaScript variable (in the web page) that is set to the window ID before the window is opened. One can access such variables from JavaScript code within an IDE test. If you want to go with this approach and can find this variable's name, let me know which version of SIDE you're running and I can send you the code to use it.
--mam-p
Scal
unread,
Apr 2, 2009, 7:14:01 AM4/2/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
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
Mary Ann; can you share the code and specify for which SIDE it's meant to be used?
I'm interested and maybe others will be when reading this message.
Thanks
Scal
unread,
Apr 4, 2009, 9:53:07 AM4/4/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
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
Thanks for sharing {emoticon:__jive_emoticon_name=happy}