How to get item associated with RepoItemInfo?

Class library usage, coding and language questions.
valentin
Posts: 27
Joined: Thu Nov 24, 2011 2:47 pm
Location: Moscow

How to get item associated with RepoItemInfo?

Post by valentin » Wed Nov 30, 2011 10:53 am

How to get item associated with known RepoItemInfo?

User avatar
Support Team
Site Admin
Site Admin
Posts: 11709
Joined: Fri Jul 07, 2006 4:30 pm
Location: Graz, Austria

Re: How to get item associated with RepoItemInfo?

Post by Support Team » Wed Nov 30, 2011 12:10 pm

Hi,

you will get the associated item with GetAdapter()

e.g.
repo.MyApp.FirstNameInfo.CreateAdapter<Ranorex.Text>(true)
will give you item
repo.MyApp.FirstName

Best Regards,
Martin
Ranorex Support Team
.
Image