0

The headline basically says it all.

In Chrome and Firefox I can use the following expression:

count(//tbody/tr[contains(@id, 'myTable:0')])

It returns the number 2.

When I try to use this in Fitnesse (Xebium) it says that the execution of the command failed.

Is there a way to count the number of rows in my table in Fitnesse (Xebium), through xpath-expression.

Roland
  • 5,328
  • 10
  • 37
  • 55
  • 1
    would it be because ot `tbody` added by Chrome or Firefox parser (happens all the time)? try without, `count(//tr[contains(@id, 'myTable:0')])` – paul trmbrth Feb 07 '14 at 09:24
  • paul t: It seems like Xebium doesn't understand it is an xpath expression if it doesn't start with a slash ( / ) – Roland Feb 11 '14 at 06:18

0 Answers0