Forum Discussion
YMinaev
14 years agoStaff
Hi,
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));
...
Related Content
- 11 years agoashok_natar
- 5 years agosenthkum
Recent Discussions
- 36 minutes agoSvetaG