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

How to Share webservice object to all user

How to fix error Msg 1801, Level 16, State 3, Line 1