Title: Message
if frame doesnt take a reg exp, its a bug! so you should be able to do
 

ie.frame(:name, "portfolioTreeContent").frame(:name, /treeframe/).getHTML

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tuyet Cong-Ton-Nu
Sent: 30 June 2005 19:27
To: '[email protected]'
Subject: [Wtr-general] Use of Wildcard?

Instead of doing this:

 

ie.frame(:name, "portfolioTreeContent").frame(:name, "treeframe1120166572909").getHTML

 

How can I do this:

 

ie.frame(:name, "portfolioTreeContent").frame(:name, "treeframe*").getHTML

 

I want to put a wildcard in the last part of the "treeframe" name where the numbers are because it changes

every time the user logs in (it's probably a session ID).

 

So I can't code a static name here, but need to figure out how to get around the dynamic portion of this name tag.

 

Any suggestion is appreciated!  Thanks.

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to