Forum Discussion
chris_hunter4
13 years agoNew Contributor
I was already using 9.3 but I rolled my own solution:
function SelectOptionInCell(table, rowIdentText, colIdx, optionName) {
var linkCell = findCell(table, rowIdentText, colIdx);
var propArray = new Array("ObjectType");
var valArray = new Array("Select");
var select = linkCell.FindChild(propArray, valArray, 5, true);
if (select.Exists) {
select.ClickItem(optionName);
}
else {
Log.Error("Select element not found in cell");
}
}