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

RFC_ERROR_SYSTEM_FAILURE with SAP ECC 6 Unicode

C# System.Data.Common DbCommand and getting Datasets from Oracle