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

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'