RV: [Webtest] Smart setCheckbox

Denis N. Antonioli Denis N. Antonioli" <denis.antonioli@canoo.com
Fri, 14 Sep 2007 18:46:26 +0200


--Apple-Mail-1-1027789140
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed

Quick hint:

the xpath function text() doesn't take an argument.
It should be:


> td[text()='Desajustes convivienciales por ser soltera gestante']


Happy testing!
	dna


On 14 sept. 07, at 14:33, Francisco Javier Martin Gutierrez wrote:

> Hello:
>
>
>
> Sorry about the xpath example but the source code is true. I want  
> to reach the input checkbox element which is inside the td element,  
> not other. Sometimes input checkbox change from
>
>  <td class="valorCeldaListado"><input type="checkbox"  
> name="valoracion[2].checkeado" value="on" style="{border : 0}"></td>
>
> to
>
>  <td class="valorCeldaListado"><input type="checkbox"  
> name="valoracion[1].checkeado" value="on" style="{border : 0}"></td>
>
>
>
> It is obvious that I have not enough acknowledgment about XPath  
> syntax. I have tried also
>
> <setCheckbox      description=" Desajustes convivienciales por ser  
> soltera gestante"
>
> xpath="//tr/td[text(Desajustes convivienciales por ser soltera  
> gestante)]../input[@type='checkbox'" value="on"  />
>
>
>
> I am reading more about how to do it but now I need help.
>
> Thanks.
>
>
>
> De: Dierk Koenig [mailto:dierk.koenig@canoo.com]
> Enviado el: viernes, 14 de septiembre de 2007 14:01
> Para: webtest@lists.canoo.com; francisco-javier.martin@thalesgroup.com
> Asunto: RE: [Webtest] Smart setCheckbox
>
>
>
> your xpath has to resolve to a checkbox, i.e. the 'input' element  
> not the td.
>
> Do you really have a td inside 'input'?
>
>
>
> ciao
>
> Dierk
>
> -----Original Message-----
> From: webtest-admin@lists.canoo.com [mailto:webtest- 
> admin@lists.canoo.com]On Behalf Of Francisco Javier Martin Gutierrez
> Sent: Freitag, 14. September 2007 11:23
> To: webtest@lists.canoo.com
> Subject: [Webtest] Smart setCheckbox
>
> Hello:
>
>
>
> I have read at Marc`s blob how to do an elegant correct xpath  
> selection. Please, can anybody revise this code and tell me how to  
> check this ckeckbox using xpath? The checkbox number [2] sometimes  
> changes so I need to do it in other way. I have tried this:
>
> <setCheckbox      description=" Desajustes convivienciales por ser  
> soltera gestante"
>
> xpath="//input[@type='checkbox']/td[text(Desajustes convivienciales  
> por ser soltera gestante)]" value="on"  />
>
>
>
> Source code is:
>
>
>
>             <tr>
>
>                   <td class="valorCeldaListado"><input  
> type="checkbox" name="valoracion[2].checkeado" value="on"  
> style="{border : 0}"></td>
>
>                   <td class="valorCeldaListado">2</td>
>
>                   <td class="valorCeldaListado">Desajustes  
> convivienciales por ser soltera gestante</td>
>
>                   <td class="valorCeldaListado">PRUEBAPC002  
> AUTOMATICA A000152</td>
>
>                   <td class="valorCeldaListado">14/09/2007</td>
>
>              </tr>
>
>
>
> Thank you.

-- 
Did you read the documentation ? Even a little ? You're expected to
do that, really. It won't bite you.
   -- Ollivier Robert



--Apple-Mail-1-1027789140
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">Quick hint:<DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>the xpath function text() =
doesn't take an argument.</DIV><DIV>It should be:</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><BLOCKQUOTE type=3D"cite"><SPAN =
style=3D"" courier=3D"" new";=3D"" font-size:=3D"" 13.3333px;=3D""><FONT =
class=3D"Apple-style-span" face=3D"Courier New" size=3D"4"><SPAN =
class=3D"Apple-style-span" style=3D"font-size: =
13.3333px;">td[text()=3D'Desajustes convivienciales por ser soltera =
gestante']</SPAN></FONT></SPAN></BLOCKQUOTE><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>Happy =
testing!</DIV><DIV><SPAN class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</SPAN>dna</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV><BR><DIV><DIV>On 14 sept. =
07, at 14:33, Francisco Javier Martin Gutierrez wrote:</DIV><BR =
class=3D"Apple-interchange-newline"><BLOCKQUOTE type=3D"cite"><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><O:SMARTTAGTYPE =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"PersonName"><DIV class=3D"Section1"><P class=3D"MsoNormal"><FONT =
size=3D"2" color=3D"navy" face=3D"Arial"><SPAN style=3D"font-size: =
10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: =
13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"color: rgb(0, 0, =
128); font-family: Arial; font-size: 13.3333px; ">Hello:</SPAN><O:P =
style=3D"color: rgb(0, 0, 128); font-family: Arial; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" color=3D"navy" face=3D"Arial"><SPAN style=3D"font-size: =
10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: =
13.3333px; "><O:P style=3D"color: rgb(0, 0, 128); font-family: Arial; =
font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"color: =
rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; =
">=A0</SPAN></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" color=3D"navy" face=3D"Arial"><SPAN lang=3D"EN-GB" =
style=3D"font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, =
128); font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"color: rgb(0, 0, 128); font-family: Arial; font-size: =
13.3333px; ">Sorry about the xpath example but the source code is true. =
I want to reach the input checkbox element which is inside the td =
element, not other. Sometimes input checkbox change from</SPAN><O:P =
style=3D"color: rgb(0, 0, 128); font-family: Arial; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" color=3D"navy" face=3D"Arial"><SPAN lang=3D"EN-GB" =
style=3D"font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, =
128); font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"color: rgb(0, 0, 128); font-family: Arial; font-size: =
13.3333px; ">=A0</SPAN></SPAN></FONT><FONT size=3D"2" face=3D"Arial"><SPAN=
 lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:Arial; font-size: =
13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Arial; font-size: 13.3333px; ">&lt;td =
class=3D"valorCeldaListado"&gt;&lt;input type=3D"checkbox" =
name=3D"valoracion[2].checkeado" value=3D"on" style=3D"{border : =
0}"&gt;&lt;/td&gt;</SPAN><O:P style=3D"font-family: Arial; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" face=3D"Arial"><SPAN lang=3D"EN-GB" style=3D"font-size: =
10.0pt;font-family:Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">to</SPAN><O:P style=3D"font-family: Arial; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" face=3D"Arial"><SPAN lang=3D"EN-GB" style=3D"font-size: =
10.0pt;font-family:Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">=A0&lt;td class=3D"valorCeldaListado"&gt;&lt;input =
type=3D"checkbox" name=3D"valoracion[1].checkeado" value=3D"on" =
style=3D"{border : 0}"&gt;&lt;/td&gt;</SPAN><O:P style=3D"font-family: =
Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Arial"><SPAN lang=3D"EN-GB" =
style=3D"font-size: 10.0pt;font-family:Arial; font-size: 13.3333px; =
"><O:P style=3D"font-family: Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">=A0</SPAN></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Arial"><SPAN lang=3D"EN-GB" =
style=3D"font-size: 10.0pt;font-family:Arial; font-size: 13.3333px; =
"><SPAN class=3D"Apple-style-span" style=3D"font-family: Arial; =
font-size: 13.3333px; ">It is obvious that I have not enough =
acknowledgment about XPath syntax. I have tried also</SPAN><O:P =
style=3D"font-family: Arial; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
face=3D"Courier New"><SPAN style=3D"font-size:10.0pt; font-family:" =
courier=3D"" new";=3D"" font-size:=3D"" 13.3333px;=3D""><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Courier New; font-size: =
13.3333px; ">&lt;setCheckbox=A0=A0=A0=A0=A0 description=3D" Desajustes =
convivienciales por ser soltera gestante"</SPAN><O:P style=3D"font-family:=
 Courier New; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Courier New"><SPAN =
style=3D"font-size:10.0pt; font-family:" courier=3D"" new";=3D"" =
font-size:=3D"" 13.3333px;=3D""><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Courier New; font-size: 13.3333px; =
">xpath=3D"//tr/td[text(Desajustes convivienciales por ser soltera =
gestante)]../input[@type=3D'checkbox'" value=3D"on"=A0 /&gt;</SPAN><O:P =
style=3D"font-family: Courier New; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
color=3D"navy" face=3D"Arial"><SPAN style=3D"font-size: =
10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, 128); font-size: =
13.3333px; "><O:P style=3D"color: rgb(0, 0, 128); font-family: Arial; =
font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"color: =
rgb(0, 0, 128); font-family: Arial; font-size: 13.3333px; =
">=A0</SPAN></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" color=3D"navy" face=3D"Arial"><SPAN lang=3D"EN-GB" =
style=3D"font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, =
128); font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"color: rgb(0, 0, 128); font-family: Arial; font-size: =
13.3333px; ">I am reading more about how to do it but now I need =
help.</SPAN><O:P style=3D"color: rgb(0, 0, 128); font-family: Arial; =
font-size: 13.3333px; "></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" color=3D"navy" face=3D"Arial"><SPAN =
lang=3D"EN-GB" style=3D"font-size:10.0pt;font-family:Arial;color:navy; =
color: rgb(0, 0, 128); font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 128); font-family: =
Arial; font-size: 13.3333px; ">Thanks.</SPAN><O:P style=3D"color: rgb(0, =
0, 128); font-family: Arial; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
color=3D"navy" face=3D"Arial"><SPAN lang=3D"EN-GB" =
style=3D"font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, =
128); font-size: 13.3333px; "><O:P style=3D"color: rgb(0, 0, 128); =
font-family: Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"color: rgb(0, 0, 128); font-family: =
Arial; font-size: 13.3333px; ">=A0</SPAN></O:P></SPAN></FONT></P><DIV><DIV=
 class=3D"MsoNormal" align=3D"center" style=3D"text-align:center; =
font-family: Times New Roman; font-size: 16px; "><FONT size=3D"3" =
face=3D"Times New Roman"><SPAN style=3D"font-size:12.0pt; font-family: =
Times New Roman; font-size: 16px; text-align: center; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Times New Roman; =
font-size: 16px; text-align: center; "></SPAN><HR size=3D"2" =
width=3D"100%" align=3D"center" tabindex=3D"-1"></SPAN></FONT></DIV><P =
class=3D"MsoNormal"><B style=3D"font-family: Times New Roman; font-size: =
16px; font-weight: bold; "><FONT size=3D"2" face=3D"Tahoma"><SPAN =
style=3D"font-size:10.0pt; font-family:Tahoma;font-weight:bold; =
font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; font-weight: bold; =
">De:</SPAN></SPAN></FONT></B><FONT size=3D"2" face=3D"Tahoma"><SPAN =
style=3D"font-size:10.0pt;font-family:Tahoma; font-size: 13.3333px; =
"><SPAN class=3D"Apple-style-span" style=3D"font-family: Tahoma; =
font-size: 13.3333px; "> Dierk Koenig [<A =
href=3D"mailto:dierk.koenig@canoo.com">mailto:dierk.koenig@canoo.com</A>] =
</SPAN><BR style=3D"font-family: Tahoma; font-size: 13.3333px; "><B =
style=3D"font-family: Tahoma; font-size: 13.3333px; font-weight: bold; =
"><SPAN style=3D"font-weight:bold; font-family: Tahoma; font-size: =
13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Tahoma; font-size: 13.3333px; font-weight: bold; ">Enviado =
el:</SPAN></SPAN></B><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; "> viernes, 14 de =
septiembre de 2007 14:01</SPAN><BR style=3D"font-family: Tahoma; =
font-size: 13.3333px; "><B style=3D"font-family: Tahoma; font-size: =
13.3333px; font-weight: bold; "><SPAN style=3D"font-weight:bold; =
font-family: Tahoma; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Tahoma; font-size: =
13.3333px; font-weight: bold; ">Para:</SPAN></SPAN></B><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Tahoma; font-size: =
13.3333px; "> </SPAN><ST1:PERSONNAME w:st=3D"on"><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Tahoma; font-size: =
13.3333px; "><A =
href=3D"mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</A></SPAN>=
</ST1:PERSONNAME><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Tahoma; font-size: 13.3333px; ">; </SPAN><ST1:PERSONNAME w:st=3D"on"><SPAN=
 class=3D"Apple-style-span" style=3D"font-family: Tahoma; font-size: =
13.3333px; "><A =
href=3D"mailto:francisco-javier.martin@thalesgroup.com">francisco-javier.m=
artin@thalesgroup.com</A></SPAN></ST1:PERSONNAME><BR style=3D"font-family:=
 Tahoma; font-size: 13.3333px; "><B style=3D"font-family: Tahoma; =
font-size: 13.3333px; font-weight: bold; "><SPAN =
style=3D"font-weight:bold; font-family: Tahoma; font-size: 13.3333px; =
"><SPAN class=3D"Apple-style-span" style=3D"font-family: Tahoma; =
font-size: 13.3333px; font-weight: bold; =
">Asunto:</SPAN></SPAN></B><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; "> RE: [Webtest] =
Smart setCheckbox</SPAN></SPAN></FONT><O:P style=3D"font-family: Times =
New Roman; font-size: 16px; "></O:P></P></DIV><P class=3D"MsoNormal"><FONT=
 size=3D"3" face=3D"Times New Roman"><SPAN style=3D"font-size: 12.0pt; =
font-family: Times New Roman; font-size: 16px; "><O:P =
style=3D"font-family: Times New Roman; font-size: 16px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Times New Roman; =
font-size: 16px; ">=A0</SPAN></O:P></SPAN></FONT></P><DIV><P =
class=3D"MsoNormal"><FONT size=3D"2" color=3D"blue" face=3D"Arial"><SPAN =
style=3D"font-size: 10.0pt;font-family:Arial;color:blue; color: rgb(0, =
0, 255); font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"color: rgb(0, 0, 255); font-family: Arial; font-size: =
13.3333px; ">your xpath has to resolve to a checkbox, i.e. the 'input' =
element not the td.</SPAN></SPAN></FONT><O:P style=3D"font-family: Times =
New Roman; font-size: 16px; "></O:P></P></DIV><DIV><P =
class=3D"MsoNormal"><FONT size=3D"2" color=3D"blue" face=3D"Arial"><SPAN =
style=3D"font-size: 10.0pt;font-family:Arial;color:blue; color: rgb(0, =
0, 255); font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"color: rgb(0, 0, 255); font-family: Arial; font-size: =
13.3333px; ">Do you really have a td inside =
'input'?</SPAN></SPAN></FONT><O:P style=3D"font-family: Times New Roman; =
font-size: 16px; "></O:P></P></DIV><DIV><P class=3D"MsoNormal"><FONT =
size=3D"3" face=3D"Times New Roman"><SPAN style=3D"font-size: 12.0pt; =
font-family: Times New Roman; font-size: 16px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Times New Roman; =
font-size: 16px; ">=A0</SPAN><O:P style=3D"font-family: Times New Roman; =
font-size: 16px; "></O:P></SPAN></FONT></P></DIV><DIV><P =
class=3D"MsoNormal"><FONT size=3D"2" color=3D"blue" face=3D"Arial"><SPAN =
style=3D"font-size: 10.0pt;font-family:Arial;color:blue; color: rgb(0, =
0, 255); font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"color: rgb(0, 0, 255); font-family: Arial; font-size: =
13.3333px; ">ciao</SPAN></SPAN></FONT><O:P style=3D"font-family: Times =
New Roman; font-size: 16px; "></O:P></P></DIV><DIV><P =
class=3D"MsoNormal"><FONT size=3D"2" color=3D"blue" face=3D"Arial"><SPAN =
style=3D"font-size: 10.0pt;font-family:Arial;color:blue; color: rgb(0, =
0, 255); font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"color: rgb(0, 0, 255); font-family: Arial; font-size: =
13.3333px; ">Dierk</SPAN></SPAN></FONT><O:P style=3D"font-family: Times =
New Roman; font-size: 16px; "></O:P></P></DIV><BLOCKQUOTE =
style=3D"border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm =
4.0pt; =
margin-left:3.75pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt">=
<P class=3D"MsoNormal" style=3D"margin-bottom:12.0pt; font-family: Times =
New Roman; font-size: 16px; "><FONT size=3D"2" face=3D"Tahoma"><SPAN =
style=3D"font-size:10.0pt;font-family:Tahoma; font-size: 13.3333px; =
"><SPAN class=3D"Apple-style-span" style=3D"font-family: Tahoma; =
font-size: 13.3333px; ">-----Original Message-----</SPAN><BR =
style=3D"font-family: Tahoma; font-size: 13.3333px; "><B =
style=3D"font-family: Tahoma; font-size: 13.3333px; font-weight: bold; =
"><SPAN style=3D"font-weight:bold; font-family: Tahoma; font-size: =
13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Tahoma; font-size: 13.3333px; font-weight: bold; =
">From:</SPAN></SPAN></B><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; "> =
webtest-admin@lists.canoo.com [<A =
href=3D"mailto:webtest-admin@lists.canoo.com">mailto:webtest-admin@lists.c=
anoo.com</A>]</SPAN><B style=3D"font-family: Tahoma; font-size: =
13.3333px; font-weight: bold; "><SPAN style=3D"font-weight:bold; =
font-family: Tahoma; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Tahoma; font-size: =
13.3333px; font-weight: bold; ">On Behalf Of </SPAN></SPAN></B><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Tahoma; font-size: =
13.3333px; ">Francisco Javier Martin Gutierrez</SPAN><BR =
style=3D"font-family: Tahoma; font-size: 13.3333px; "><B =
style=3D"font-family: Tahoma; font-size: 13.3333px; font-weight: bold; =
"><SPAN style=3D"font-weight:bold; font-family: Tahoma; font-size: =
13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Tahoma; font-size: 13.3333px; font-weight: bold; =
">Sent:</SPAN></SPAN></B><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; "> Freitag, 14. =
September 2007 11:23</SPAN><BR style=3D"font-family: Tahoma; font-size: =
13.3333px; "><B style=3D"font-family: Tahoma; font-size: 13.3333px; =
font-weight: bold; "><SPAN style=3D"font-weight:bold; font-family: =
Tahoma; font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; font-weight: bold; =
">To:</SPAN></SPAN></B><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; "> =
</SPAN><ST1:PERSONNAME w:st=3D"on"><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; "><A =
href=3D"mailto:webtest@lists.canoo.com">webtest@lists.canoo.com</A></SPAN>=
</ST1:PERSONNAME><BR style=3D"font-family: Tahoma; font-size: 13.3333px; =
"><B style=3D"font-family: Tahoma; font-size: 13.3333px; font-weight: =
bold; "><SPAN style=3D"font-weight:bold; font-family: Tahoma; font-size: =
13.3333px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: =
Tahoma; font-size: 13.3333px; font-weight: bold; =
">Subject:</SPAN></SPAN></B><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Tahoma; font-size: 13.3333px; "> [Webtest] Smart =
setCheckbox</SPAN></SPAN></FONT><O:P style=3D"font-family: Times New =
Roman; font-size: 16px; "></O:P></P><P class=3D"MsoNormal"><FONT =
size=3D"2" face=3D"Arial"><SPAN lang=3D"EN-GB" style=3D"font-size: =
10.0pt;font-family:Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">Hello:</SPAN><O:P style=3D"font-family: Arial; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" face=3D"Arial"><SPAN lang=3D"EN-GB" style=3D"font-size: =
10.0pt;font-family:Arial; font-size: 13.3333px; "><O:P =
style=3D"font-family: Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">=A0</SPAN></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Arial"><SPAN lang=3D"EN-GB" =
style=3D"font-size: 10.0pt;font-family:Arial; font-size: 13.3333px; =
"><SPAN class=3D"Apple-style-span" style=3D"font-family: Arial; =
font-size: 13.3333px; ">I have read at Marc`s blob how to do an elegant =
correct xpath selection. Please, can anybody revise this code and tell =
me how to check this ckeckbox using xpath? The checkbox number [2] =
sometimes changes so I need to do it in other way. I have tried =
this:</SPAN><O:P style=3D"font-family: Arial; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
face=3D"Courier New"><SPAN style=3D"font-size:10.0pt; font-family:" =
courier=3D"" new";=3D"" font-size:=3D"" 13.3333px;=3D""><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Courier New; font-size: =
13.3333px; ">&lt;setCheckbox=A0=A0=A0=A0=A0 description=3D" Desajustes =
convivienciales por ser soltera gestante"</SPAN><O:P style=3D"font-family:=
 Courier New; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Courier New"><SPAN =
style=3D"font-size:10.0pt; font-family:" courier=3D"" new";=3D"" =
font-size:=3D"" 13.3333px;=3D""><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Courier New; font-size: 13.3333px; =
">xpath=3D"//input[@type=3D'checkbox']/td[text(Desajustes =
convivienciales por ser soltera gestante)]" value=3D"on"=A0 =
/&gt;</SPAN><O:P style=3D"font-family: Courier New; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" face=3D"Courier New"><SPAN style=3D"font-size:10.0pt; =
font-family:" courier=3D"" new";=3D"" font-size:=3D"" 13.3333px;=3D""><O:P=
 style=3D"font-family: Courier New; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Courier New; font-size: =
13.3333px; ">=A0</SPAN></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Courier New"><SPAN =
style=3D"font-size:10.0pt; font-family:" courier=3D"" new";=3D"" =
font-size:=3D"" 13.3333px;=3D""><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Courier New; font-size: 13.3333px; ">Source code =
is:</SPAN><O:P style=3D"font-family: Courier New; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
face=3D"Courier New"><SPAN style=3D"font-size:10.0pt; font-family:" =
courier=3D"" new";=3D"" font-size:=3D"" 13.3333px;=3D""><O:P =
style=3D"font-family: Courier New; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Courier New; font-size: =
13.3333px; ">=A0</SPAN></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Arial"><SPAN =
style=3D"font-size:10.0pt; font-family:Arial; font-size: 13.3333px; =
"><SPAN class=3D"Apple-style-span" style=3D"font-family: Arial; =
font-size: 13.3333px; ">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
&lt;tr&gt;</SPAN><O:P style=3D"font-family: Arial; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
face=3D"Arial"><SPAN style=3D"font-size:10.0pt; font-family:Arial; =
font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Arial; font-size: 13.3333px; ">=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;td =
class=3D"valorCeldaListado"&gt;&lt;input type=3D"checkbox" =
name=3D"valoracion[2].checkeado" value=3D"on" style=3D"{border : =
0}"&gt;&lt;/td&gt;</SPAN><O:P style=3D"font-family: Arial; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" face=3D"Arial"><SPAN style=3D"font-size:10.0pt; =
font-family:Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;td =
class=3D"valorCeldaListado"&gt;2&lt;/td&gt;</SPAN><O:P =
style=3D"font-family: Arial; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
face=3D"Arial"><SPAN style=3D"font-size:10.0pt; font-family:Arial; =
font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Arial; font-size: 13.3333px; ">=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;td =
class=3D"valorCeldaListado"&gt;Desajustes convivienciales por ser =
soltera gestante&lt;/td&gt;</SPAN><O:P style=3D"font-family: Arial; =
font-size: 13.3333px; "></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Arial"><SPAN =
style=3D"font-size:10.0pt; font-family:Arial; font-size: 13.3333px; =
"><SPAN class=3D"Apple-style-span" style=3D"font-family: Arial; =
font-size: 13.3333px; ">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
 &lt;td class=3D"valorCeldaListado"&gt;PRUEBAPC002 AUTOMATICA =
A000152&lt;/td&gt;</SPAN><O:P style=3D"font-family: Arial; font-size: =
13.3333px; "></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT =
size=3D"2" face=3D"Arial"><SPAN style=3D"font-size:10.0pt; =
font-family:Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;td =
class=3D"valorCeldaListado"&gt;14/09/2007&lt;/td&gt;</SPAN><O:P =
style=3D"font-family: Arial; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P><P class=3D"MsoNormal"><FONT size=3D"2" =
face=3D"Arial"><SPAN style=3D"font-size:10.0pt; font-family:Arial; =
font-size: 13.3333px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-family: Arial; font-size: 13.3333px; ">=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 &lt;/tr&gt;</SPAN><O:P style=3D"font-family: Arial; =
font-size: 13.3333px; "></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"2" face=3D"Arial"><SPAN =
style=3D"font-size:10.0pt; font-family:Arial; font-size: 13.3333px; =
"><O:P style=3D"font-family: Arial; font-size: 13.3333px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-family: Arial; font-size: =
13.3333px; ">=A0</SPAN></O:P></SPAN></FONT></P><P =
class=3D"MsoNormal"><FONT size=3D"3" face=3D"Times New Roman"><SPAN =
style=3D"font-size: 12.0pt; font-family: Times New Roman; font-size: =
16px; "><SPAN class=3D"Apple-style-span" style=3D"font-family: Times New =
Roman; font-size: 16px; ">Thank you.=A0</SPAN></SPAN></FONT><FONT =
size=3D"2" color=3D"navy" face=3D"Arial"><SPAN =
style=3D"font-size:10.0pt;font-family:Arial;color:navy; color: rgb(0, 0, =
128); font-size: 13.3333px; "><O:P style=3D"color: rgb(0, 0, 128); =
font-family: Arial; font-size: 13.3333px; =
"></O:P></SPAN></FONT></P></BLOCKQUOTE></DIV></O:SMARTTAGTYPE></SPAN></BLO=
CKQUOTE></DIV><BR><DIV> <SPAN class=3D"Apple-style-span" =
style=3D"border-collapse: separate; border-spacing: 0px 0px; color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; line-height: normal; text-align: auto; =
-khtml-text-decorations-in-effect: none; text-indent: 0px; =
-apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
"><DIV>--=A0</DIV><DIV>Did you read the documentation ? Even a little ? =
You're expected to</DIV><DIV>do that, really. It won't bite =
you.</DIV><DIV>=A0 -- Ollivier Robert</DIV><BR =
class=3D"Apple-interchange-newline"></SPAN> =
</DIV><BR></DIV></BODY></HTML>=

--Apple-Mail-1-1027789140--