How to typecast a string parameter to UITestControl object reference?


is there anyway type cast string object reference of uitestcontrol?

what trying achieve this:-

uitestcontrol utc=(uitestcontrol)(this.parentwindow.subwindow.subchild); "this.parentwindow.subwindow.subchild" passed string..

no. cannot directly assign string uitestcontrol.

are trying add title sub-windows of uitestcontrol? if yes, can add string uitestcontrol's windowtitles collection.

i hope helps.


please mark post answer if solved problem. happy programming!



Visual Studio Languages  ,  .NET Framework  >  Visual C#



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

BizTalk Server 2013 Azure VM Log Shipping and HA for hosts

How to Share webservice object to all user