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

Reply via email to