10-28-2010, 03:48 PM
Hi All,
I am creating a runtime object like below.
Now I want the value of this hash at runtime. How can I do this.
I tried putting this statement
But the msgbox prints empty OpCoCodeId.
Does anybody have an idea?
Thanks in advance for all your help
Regards,
Reema.
I am creating a runtime object like below.
Code:
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,}"
Now I want the value of this hash at runtime. How can I do this.
I tried putting this statement
Code:
OpCoCodeId =browser("").Page("").Link(ObjOpCoCode).GetROProperty("hash")
msgbox "OpCoCodeId= "&OpCoCodeId
Does anybody have an idea?
Thanks in advance for all your help
Regards,
Reema.