selenium.getXpathCount() returning zero
I am facing problem in selenium where selenium.getXpathCount() function is always returning Zero.
int rowcount= selenium.getXpathCount("//table[@id='table1_core_table_content']/tbody/tr").intValue();
This code was working till last build of our product. But in new build it is not working. Can there be any development change because of which getXpathCount() is not working.
Note: I have verified xpath that I am passing to getXpathCount() it is correct.
Can anybody help me in this?