I want to create coded steps to handle Silverlight elements.
I created following code
But my code can't connect to Silverlight application.
As I understand this is because I have Silverlight application wrapped into iframe.
Please provide example of code how could I define IFrame element and then define inner Silverlight application in it.
I created following code
SilverlightApp app = ActiveBrowser.SilverlightApps()[0];As I understand this is because I have Silverlight application wrapped into iframe.
<DIV style="DISPLAY: none" id=IFRAME_MainDetails_c class="ms-crm-FieldLabel-LeftAlign ms-crm-Field-Normal" sl="false"><LABEL for=IFRAME_MainDetails>MainDetails</LABEL></DIV><IFRAME style="BORDER-BOTTOM: 0px; BORDER-LEFT: 0px; BORDER-TOP: 0px; BORDER-RIGHT: 0px" id=IFRAME_MainDetails class=ms-crm-Custom tabIndex=1020 src="/TempTestHandover/%7B634871220200000000%7D/WebResources/sitecore_/KpiReports/QualificationRecordMainDetails.html" frameBorder=0 scrolling=no preload="0" url="../webresources/sitecore_ClearBackgroundPage.htm"></IFRAME>Please provide example of code how could I define IFrame element and then define inner Silverlight application in it.