I got our developer to put an 'id' in. I got this to work in irb, but cannot get it to work in my script.
If I use ie.span(:id, 'submitted').flash The proper text will flash. When I use ie.span(:id, 'submitted').text Nothing is displayed. I'm a little baffled by this. Any ideas? ------ Eric Tabora, Quality Assurance BrandMuscle, Inc. P: 216.454.2010 Cell: 216-577-2835 [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Rogers Sent: Tuesday, August 16, 2005 4:38 PM To: [email protected] Subject: [SPAM] - Re: [Wtr-general] Returning a string - Email found in subject you can use ie.span(:index,xxx).text it would be better if your developers addeda an id, then you can use ie.span(:id,'request_id').text Paul Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C5A29C.24B6B1F5" ------_=_NextPart_001_01C5A29C.24B6B1F5 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Our form assigns a Request ID #. =20 <td class=3D"portlet-form-label-highlight" align=3D"left"> =20 Your request has been submitted for approval. The request id is <span>137</span> </td> =20 Is it possible return the just the Request ID #? =20 I've tried ie.text() but it returns all of the text on the page =20 Thanks in advance. ------ Eric Tabora, Quality Assurance BrandMuscle, Inc. [EMAIL PROTECTED] =20 The information transmitted in this email is intended only for the = person(s) or entity to which it is addressed and may contain = proprietary, confidential and/or privileged material. If you have = received this email in error, please contact the sender by replying and = delete this email from your system. ------_=_NextPart_001_01C5A29C.24B6B1F5 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <html xmlns:o=3D"urn:schemas-microsoft-com:office:office" = xmlns:w=3D"urn:schemas-microsoft-com:office:word" = xmlns=3D"http://www.w3.org/TR/REC-html40"> <head> <meta http-equiv=3DContent-Type content=3D"text/html; = charset=3Dus-ascii"> <meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)"> <style> <!-- /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal-compose; font-family:Arial; color:windowtext;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style> </head> <body lang=3DEN-US link=3Dblue vlink=3Dpurple> <div class=3DSection1> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Our form assigns a Request ID = #.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>   ;= <td class=3D"portlet-form-label-highlight" align=3D"left"><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>   ;= &= nbsp; <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>   ;= &= nbsp; Your request has been submitted for approval. The request id = is<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>   ;= &= nbsp; &nbsp;<span>137</span> &nbs p= ;   ;= <o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>   ;= </td><o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Is it possible return the just the Request ID = #?<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>I’ve tried ie.text() but it returns = all of the text on the page<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p> <p class=3DMsoNormal><font size=3D2 face=3DArial><span = style=3D'font-size:10.0pt; font-family:Arial'>Thanks in advance.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 face=3DArial><span = style=3D'font-size:7.5pt; font-family:Arial'>------</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D1 face=3DArial><span = style=3D'font-size:7.5pt; font-family:Arial'>Eric Tabora, Quality = Assurance</span></font><o:p></o:p></p> <p class=3DMsoNormal><font size=3D1 face=3DArial><span = style=3D'font-size:7.5pt; font-family:Arial'>BrandMuscle, Inc.<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D1 face=3DArial><span = style=3D'font-size:7.5pt; font-family:Arial'>[EMAIL PROTECTED]<o:p></o:p></span></font></p> <p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span = style=3D'font-size: 12.0pt'><o:p> </o:p></span></font></p> </div> </body> <!--[object_id=3D#brandmuscle.com#]--><P align=3Dleft><FONT = face=3DTahoma><FONT size=3D2><FONT size=3D1> <HR> </FONT></FONT></FONT><FONT face=3DTahoma><FONT size=3D2><FONT = size=3D1>The information transmitted in this email is intended only for = the person(s) or entity to which it is addressed and may contain = proprietary, confidential and/or privileged material. If you have = received this email in error, please contact the sender by replying and = delete this email from your system.</FONT></FONT><BR></P></FONT></html> ------_=_NextPart_001_01C5A29C.24B6B1F5-- _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
