How to check wheather control does exist of not ??

Class library usage, coding and language questions.
Ravindra.D
Posts: 6
Joined: Fri Feb 18, 2011 1:11 pm

How to check wheather control does exist of not ??

Post by Ravindra.D » Thu Apr 14, 2011 7:13 am

Hi,

I'm using Ranorex Repository in for user code for a web application, We are having run time designing of webpages using some given configuration value. We show or hide some controls according to config at runtime. before perform any action on any control i want to check wheather that control is available on form or not.

Please assist how can i perform this task.

Thanks & Regards,
Ravindra Dave
Email : [email protected]
Thanks & Regards,
Ravindra Dave
Email : [email protected]

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

Re: How to check wheather control does exist of not ??

Post by Support Team » Thu Apr 14, 2011 12:02 pm

Hi,

A possible solution would be to use following methods
http://www.ranorex.com/Documentation/Ra ... Single.htm

Regards,
Peter
Ranorex Team
.
Image