[prev in list] [next in list] [prev in thread] [next in thread] 

List:       selenium-devel
Subject:    Re: [Selenium-devel] XPath changes in 0.5 from 0.3?
From:       Jamo Smith <jamosmith () gmail ! com>
Date:       2005-09-11 16:53:18
Message-ID: d9c15bfb0509110953722be999 () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


you got it (the space was doing it). Weird how that never made a difference 
before.

On 8/24/05, Alexandre Garel <garel.alexandre@agora.msa.fr> wrote:
> 
> 
> >Perhaps your command is passing a leading space to findElement()? ie.
> >
> > this.page().findElement(" //a[text()='Locked Topic']")
> >
> >I can only suggest inserting some calls to LOG.info(), to investigate
> >where it's going wrong. The log will appear under the AUT frame ...
> >you'll have to scroll the page down to see it.
> >
> >
> >
> or look at it with the Venkman javascript debugger (extension of mozilla) 
> !
> I also notice that you wrote <command name="assertElementOrder"
> target="//a[text()='Sticky Topic']; //a[text()='Locked Topic'];"/>
> and then do a 'var locator = locators.split(";");' but look that there
> is a space after your ; before the //a[text(..... in your command
> 
> 
> Ce message est protégé par les règles relatives au secret des 
> correspondances. Il est donc établi à destination exclusive de son 
> destinataire. Celui-ci peut donc contenir des informations confidentielles. 
> La divulgation de ces informations est à ce titre rigoureusement interdite. 
> Si vous avez reçu ce message par erreur, merci de le renvoyer à l'expéditeur 
> dont l'adresse e-mail figure ci-dessus et de détruire le message ainsi que 
> toute pièce jointe.
> 
> This message is protected by the secrecy of correspondence rules. 
> Therefore, this message is intended solely for the attention of the 
> addressee. This message may contain privileged or confidential information, 
> as such the disclosure of these informations is strictly forbidden. If, by 
> mistake, you have received this message, please return this message to the 
> addressser whose e-mail address is written above and destroy this message 
> and all files attached.
> 
> _______________________________________________
> Selenium-devel mailing list
> Selenium-devel@lists.public.thoughtworks.org
> http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel
> 



-- 
Jamo Smith

[Attachment #5 (text/html)]

you got it (the space was doing it).&nbsp; Weird how that never made a difference \
before.<br><br><div><span class="gmail_quote">On 8/24/05, <b \
class="gmail_sendername">Alexandre Garel</b> &lt;<a \
href="mailto:garel.alexandre@agora.msa.fr"> garel.alexandre@agora.msa.fr</a>&gt; \
wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, \
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>&gt;Perhaps your \
command is passing a leading space to findElement()? ie. \
<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;this.page().findElement(&quot; \
//a[text()='Locked Topic']&quot;)<br>&gt;<br>&gt;I can only suggest inserting some \
calls to LOG.info(), to investigate<br>&gt;where it's going wrong.&nbsp;&nbsp;The log \
will appear under the AUT frame ... <br>&gt;you'll have to scroll the page down to \
see it.<br>&gt;<br>&gt;<br>&gt;<br>or look at it with the Venkman javascript debugger \
(extension of mozilla) !<br>I also notice that you wrote &lt;command \
name=&quot;assertElementOrder&quot; <br>target=&quot;//a[text()='Sticky Topic']; \
//a[text()='Locked Topic'];&quot;/&gt;<br>and then do a 'var locator = \
locators.split(&quot;;&quot;);' but look that there<br>is a space after your ; before \
the //a[text(..... in your command <br><br><br>Ce
message est protégé par les règles relatives au secret des
correspondances. Il est donc établi à destination exclusive de son
destinataire. Celui-ci peut donc contenir des informations
confidentielles. La divulgation de ces informations est à ce titre
rigoureusement interdite. Si vous avez reçu ce message par erreur,
merci de le renvoyer à l'expéditeur dont l'adresse e-mail figure
ci-dessus et de détruire le message ainsi que toute pièce jointe.<br><br>This
message is protected by the secrecy of correspondence rules. Therefore,
this message is intended solely for the attention of the addressee.
This message may contain privileged or confidential information, as
such the disclosure of these informations is strictly forbidden. If, by
mistake, you have received this message, please return this message to
the addressser whose e-mail address is written above and destroy this
message and all files \
attached.<br><br>_______________________________________________<br>Selenium-devel \
mailing list<br><a href="mailto:Selenium-devel@lists.public.thoughtworks.org">Selenium-devel@lists.public.thoughtworks.org
 </a><br><a href="http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel \
">http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel</a><br></blockquote></div><br><br \
clear="all"><br>-- <br>Jamo Smith



_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic