Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
find the property value of a run time object
#1
Not Solved
Hi All,

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
But the msgbox prints empty OpCoCodeId.

Does anybody have an idea?

Thanks in advance for all your help

Regards,
Reema.
Reply


Messages In This Thread
find the property value of a run time object - by reejais - 10-28-2010, 03:48 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  swfwindow object name getting changed after each run saniya 1 1,502 10-10-2018, 09:02 PM
Last Post: TheGlovner
  Object identification is taking too much time JACKSPARROW 0 1,609 01-17-2017, 11:08 AM
Last Post: JACKSPARROW
  [UFT] Change property of object (WpfButton) robertosalemi 2 2,503 11-22-2016, 12:43 PM
Last Post: Ankur
  QTP not recogonising object during run time Lavanya N 2 3,555 10-28-2015, 12:46 PM
Last Post: vinod123
  Writing to Run time data table Neetha 5 11,699 08-27-2015, 10:18 AM
Last Post: supputuri

Forum Jump:


Users browsing this thread: 1 Guest(s)