How to get item associated with RepoItemInfo? : Automation API

How to get item associated with RepoItemInfo?

Class library usage, coding and language questions.

How to get item associated with RepoItemInfo?

Postby valentin » Wed Nov 30, 2011 11:53 am

How to get item associated with known RepoItemInfo?
valentin
 
Posts: 7
Joined: Thu Nov 24, 2011 3:47 pm

Re: How to get item associated with RepoItemInfo?

Postby Support Team » Wed Nov 30, 2011 1: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
User avatar
Support Team
Site Admin
 
Posts: 4845
Joined: Fri Jul 07, 2006 5:30 pm
Location: Graz, Austria


Return to Automation API

Who is online

Users browsing this forum: No registered users and 0 guests