Forum Discussion
YMinaev
Staff
16 years agoHi,
You cannot use strings like this. CB5 = eval(checkBoxes).Name gives you a string in CB5, it is not a property, not an object, it is just a variable which contains a string value.
table.CB5.Checkbox - table doesn't have a property named 'CB5', so this code fails. You can do something like this:
You cannot use strings like this. CB5 = eval(checkBoxes).Name gives you a string in CB5, it is not a property, not an object, it is just a variable which contains a string value.
table.CB5.Checkbox - table doesn't have a property named 'CB5', so this code fails. You can do something like this:
...
CB5 = eval(checkBoxes).Name;
//...
eval(table.Name + "." + CB5).Checkbox("ctl00_PageCenterContentPlaceHolder_DomainDropCheckBoxList_814").ClickChecked(DDT.CurrentDriver.Value(CB));
...