If you did manage to get an XPath it would be an absolute one that will be
very brittle, it will also become invalid if the DOM changes and is probably
not going to be that much use to you.
Hi All,
The scenario is
Thanks,
Elangovan G
--
You received this message because you are subscribed to the Google Groups
"Selenium Users" group.
To post to this group, send email to seleniu...@googlegroups.com.
To unsubscribe from this group, send email to
selenium-user...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/selenium-users?hl=en.
--
This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.
If you have received this email in error please notify postm...@ardescosolutions.com
List<WebElement> linksFound = driver.findElements(By.id("foo"));
for(WebElement link : linksFound){
link.click();
// Check you are where you expect to be
driver.navigate().back();
But mine problem is different.
let me explain clearly,
there is a dropdown list named State. Based upon the state am
selecting it ll display some of the types with each radio button.
i want to capture all the radio button,s xpath/something to give to
selenium.click("radio button")
am using selenium RC, not a webdriver.
i have attached the page source. save it with html extension. see my
requirements...
It is not like the dropdown values present under the same tag <ul>...</ul>.
Thanks,
Elangovan.G