Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fetch the multiple properties from the object
#1
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi,
I have one text field which having properties are type=text, name=Name, html tag=Input,...
i want to fetch all these properites in to a single variable m

Code:
m=Browser("xxxx").Page("xxxxx").Frame("main").WebEdit("Name").GetROProperty("type","name")
this is the way i have tried but some how i am able to get the first property mentioned in getro porperty

my requirement is like this
m=text,name,Input (we can use any delimiter,,,,)

Thanks in advance,
Venkat.
Reply
#2
Solved: 10 Years, 9 Months, 2 Weeks ago
Hi Venkat,
You will not be able to use the GetROProperty method to retrieve more than one property.

what you can do is retrieve all the propeties in different variables and can concatenate to get the required result.

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  verify that parent properties match object currently displayed in your application. sona 0 2,955 02-21-2016, 12:00 PM
Last Post: sona
  Object repository losing object properties ishan.mahajan@adp.com 2 3,467 08-20-2015, 11:33 PM
Last Post: ADITI1992
  Upgraded QTP 11.0 to UFT 11.53, Object Index Properties are varying Raghava M 0 2,081 01-28-2015, 06:02 PM
Last Post: Raghava M
  Object properties are not visible suresh.tata 1 2,421 02-23-2014, 03:58 PM
Last Post: supputuri
  What is the criteria of identify the object based on Base & option filter properties Suma Parimal 2 2,905 01-28-2014, 06:35 PM
Last Post: Suma Parimal

Forum Jump:


Users browsing this thread: 1 Guest(s)