Hi All,

I want to check the text (Test Task1) which will be visible in the app .I am using the Xpath _expression_ to get to the text in the app.
Command Usage:
verifyText    //[EMAIL PROTECTED]'taskLenLabel']/@text    Test Task1    -Error no element found

verifyText    //[EMAIL PROTECTED]'taskLenLabel']/text    Test Task1    -Error no element found

verifyText    //[EMAIL PROTECTED]'taskLenLabel']/#text    Test Task1    -Error invalid _expression_ error ->51

This is the structure of the document:

TBODY
--TR        id=tasklist
  --TD
  --TD
  --TD
  --TD
    --#text      Node Value = "Test Task1"

How to access the 'text' element???
Thanks,
Hari.
_______________________________________________
Selenium-devel mailing list
Selenium-devel@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-devel

Reply via email to