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
Post a Comment