My page contains multiple parent silverlight applications. each parent has child user controls that has also its own child usercontrols. each "grand-children" (SLUserControlLibrary) user controls is where the actual silverlight controls are found.
PAGE
|
+ SLAPP
|
+SLUserControl
|
+ SLUserControlLibrary
|
+SilverLightControls
+textbox (id="txtID500") |
My question would the WebAii SilverLight Test Automation will be able to find the controls underneath all of those nesting of user controls? or in the above illustration, can I find the textbox id=txtID500 ?
Can I still do this?
var SilverLightApp1 = ActiveBrowser.SilverlightApps()[0];
var txtbox500 = SilverLightApp1.FindName("txtbox500");
txtbox500.User.TypeText("Sample Text", 10);
Thanks!