10-28-2010, 04:15 PM
Hi Reema,
Try this code:
It should work.....
Try this code:
Code:
' Creating a child object.
Set ObjOpCoCode = Description.Create()
ObjOpCoCode("micclass").value = "Link"
ObjOpCoCode("html tag").value = "A"
ObjOpCoCode("text").value = DataTable.Value("OPCOCodeToEdit","rTD")
ObjOpCoCode("name").value = DataTable.Value("OPCOCodeToEdit","rTD")
ObjOpCoCode("hash").value = "#[0-9]{1,}"
' Making the collection object
Set OpCoCodeId =browser("").Page("").ChildObject(ObjOpCoCode)
' Doing the count of objects
intCount=OpCoCodeId.count
' Getting the desired property from the object
For iCnt =1 to intCount
strHash = OpCoCodeId(iCnt).GetROProperty("hash")
print strHash
Next
It should work.....