innertext value that has multiple strong attribute
Posted: Sun May 20, 2012 2:11 pm
How do i get the innertext that has same element id - i am trying to get the this value [@innertext='1640737']
code -
WebElement elem ="/dom[@page='xx.cfm']/body/table[2]/tbody/tr/td[2]/table/tbody/tr/td[2]/table[2]/tbody/tr/td[@id='TD11']/strong";
_contactId = elem.InnerText;
----- element returned "Public" but i am trying to retreived '1640737'
code -
WebElement elem ="/dom[@page='xx.cfm']/body/table[2]/tbody/tr/td[2]/table/tbody/tr/td[2]/table[2]/tbody/tr/td[@id='TD11']/strong";
_contactId = elem.InnerText;
----- element returned "Public" but i am trying to retreived '1640737'