Not able to select options from dropdown

Thanks Brandon_Hein for adding to my knowledge about searching xpath.

However this didn’t solve my problem. Gives the same error of element not interactable.
I tried another solution as given by you in another thread:

PFB code:

WebDriver driver = DriverFactory.getWebDriver();
WebElement table = driver.findElement(By.xpath(“//*[@id=‘treeHL_tEF__dxddlJobRole_DDD_L_LBT’]/tbody”));

List rows = table.findElements(By.tagName(‘tr’))

int rows_count = rows.size()

Loop:
for (int row = 0; row < rows_count; row++)
{
List Columns_row = rows.get(row).findElements(By.tagName(‘td’))
String celltext = Columns_row[0].getAttribute(“id”)

if (celltext.equalsIgnoreCase("treeHL_tEF__dxddlJobRole_DDD_L_LBI7T0")) 
{
	Columns_row[0].selected = 	true;
}

break Loop;

}

I then debugged the code and found the celltext getting the correct IDs. However for every value it goes inside the IF loop. So couldn’t check further.