Page 1 of 1

How to set Silverlight windowless?

Posted: Fri Mar 28, 2014 10:27 am
by LuckieLuuk
I want to test a silverlight application and Ranorex tells me to "Please make sure that the windowless property of your silverlight application is set to 'False'"
I looked at a microsoft page that described how to do it (linked from ranorex) (I cannot post the link here with a new account)

But I still cannot figure out how to! Do I change the AUT? or IE?
Im not very experienced working with computers as you might have picked up...

Re: How to set Silverlight windowless?

Posted: Mon Mar 31, 2014 6:41 pm
by OverflowingStack
Hello LuckieLuuk,
The Silverlight plugin can be found in the HTML source of the AUT as an object tag resembling:

Code: Select all

<form id="form1" runat="server" style="height:100%">
    <div id="silverlightControlHost">
       <object data="data:application/x-silverlight-2," 
            type="application/x-silverlight-2" width="100%" height="100%">
Beneath this object tag you will see several properties of Silverlight set by default, you simply need to add:

Code: Select all

<param name="Windowless" value="False" />
However, I doubt this is even necessary as the default value for Windowless is False.
Hope this helps! :D