08-06-2010, 07:01 PM
In my application i have 5 or 6 radcombobox on a page.i have create the description for the radcombobox like that
then in a loop i want to set the index 2 for all the return objects
an error like function or property is not supported by the object comes when selectedindex statement executed.
Code:
set statusdesc=Description.Create
statusdesc("micclass").value ="RadComboBox"
statusdesc("class").value="RadComboBox RadComboBox_WebBlue "
set statobj=Browser("test").Page("test").WebTable("testing ").ChildObjects(statusdesc)
then in a loop i want to set the index 2 for all the return objects
Code:
For j=0 to statobj.count-1
statobj(j).Highlight
statobj(j).selectedindex=2
Next