Sai
--
You received this message because you are subscribed to the Google Groups "webdriver" group.
To post to this group, send email to webd...@googlegroups.com.
To unsubscribe from this group, send email to webdriver+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/webdriver?hl=en.
That XPath will find the first <td> child of the first <tr> element on the page. I wouldn’t expect it to return anything valid to be honest, especially knowing the propensity for some devs to hack tables in for layout rather than doing it properly…
If you know an ID don’t even bother with all the extra faff, just do a:
driver.findElement(By.id(“<ID_Here>”));
The above should be your default locator strategy.
document.getElementById("SysIdFromIndex0").innerText;
But, pl let me know for any alternative workaround using selenium.Because, i have couple of issues with the same problem.
Thanks