How to set Silverlight windowless?

Technology specific object identification, supported applications, web technologies, and 3rd party controls.
LuckieLuuk
Posts: 1
Joined: Fri Mar 28, 2014 10:08 am

How to set Silverlight windowless?

Post by LuckieLuuk » Fri Mar 28, 2014 10:27 am

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...

User avatar
OverflowingStack
Posts: 8
Joined: Thu Mar 27, 2014 9:35 pm
Location: Clearwater, Florida
Contact:

Re: How to set Silverlight windowless?

Post by OverflowingStack » Mon Mar 31, 2014 6:41 pm

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