tableRows = table.."/> tableRows = table.."/> tableRows = table."/>
خرید بک لینک

Vote count: 0

I'm using all the standard ways to parse a table.

WebElement table = driver.findElement(By.name("TableName"));

List<WebElement> tableRows = table.findElements(By.xpath("tbody/tr"));

List<WebElement> td_collection = trElement.findElements(By.tagName("td"));


 WebElement dropDownElement = null;

for(WebElement tdElement : td_collection)

There is a select tag within the columns:

<tr role= "row">
<td>
<select name = ABC>
<option value="1">name 1<option>
<option value="2">name 2<option>
<select>
<td>
<td> some name <td>
<tr>

I tried:

dropDownElement = (WebElement) tdElement.findElements(By.tagName("select"));

dropDownElement = tdElement

thank you for the support.

asked 25 secs ago

- - , .
.

برچسب: نویسنده: استخدام کار تاريخ: سه شنبه 22 تير 1395 ساعت: 4:35

صفحه بندی