Hi,
We are trying to automate a Silverlight application out-of-browser, which should now be supported in the latest WebAii 2010.2.
I could not find any examples of how to get started with out-of-browser automation in the provided samples, help file or on the Telerik blog.
For instance, I can see there's a new BrowserType.SilverlightOutOfBrowser which sounds useful, but how do I point it to my Silverlight app? By default it seems to be looking for 'C:\Users\<user>\AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\application.xap'.
Cheers,
Joonas
We are trying to automate a Silverlight application out-of-browser, which should now be supported in the latest WebAii 2010.2.
I could not find any examples of how to get started with out-of-browser automation in the provided samples, help file or on the Telerik blog.
For instance, I can see there's a new BrowserType.SilverlightOutOfBrowser which sounds useful, but how do I point it to my Silverlight app? By default it seems to be looking for 'C:\Users\<user>\AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\application.xap'.
Cheers,
Joonas
7 Answers, 1 is accepted
0
Hello Joonas,
Sorry for the lack of documentation. Assuming your OOB application is contained in the folder 'C:\Users\<user>\AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\328640058.www.microsoft.com' you would use code like this:
Cody
the Telerik team
Sorry for the lack of documentation. Assuming your OOB application is contained in the folder 'C:\Users\<user>\AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\328640058.www.microsoft.com' you would use code like this:
Manager.LaunchNewBrowser(BrowserType.SilverlightOutOfBrowser,
true
, System.Diagnostics.ProcessWindowStyle.Minimized,
"328640058.www.microsoft.com"
);
Note that "328640058.www.microsoft.com” is the relative path to the application within the "Microsoft\Silverlight\OutOfBrowser" folder.
Best wishes,Cody
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Joonas
Top achievements
Rank 1
answered on 24 Aug 2010, 02:06 PM
Thanks for your answer Cody!
The Silverlight application we are testing runs in elevated trust mode, and is deployed to 'C:\Users\<user>\AppData\Local\Microsoft\Silverlight\OutOfBrowser'.
How do I point WebAii to look for my application in AppData\Local instead of LocalLow?
Cheers,
Joonas
The Silverlight application we are testing runs in elevated trust mode, and is deployed to 'C:\Users\<user>\AppData\Local\Microsoft\Silverlight\OutOfBrowser'.
How do I point WebAii to look for my application in AppData\Local instead of LocalLow?
Cheers,
Joonas
0
Hello Joonas,
Jasper
the Telerik team
We currently only support OOB applications without elevated trust. We are actively working on providing support for elevated trust applications, and would happily inform you when this feature is available in a future release of our product.
Thank you for your interest in OOB functionality, and for your patience.
Jasper
the Telerik team
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Public Issue Tracking
system and vote to affect the priority of the items
0
Prashant
Top achievements
Rank 1
answered on 31 Mar 2011, 11:50 PM
Hi,
In this support now availalble with WebAii 2010.3, please confirm.
"We currently only support OOB applications without elevated trust. We are actively working on providing support for elevated trust applications, and would happily inform you when this feature is available in a future release of our product"
Thanks
Prashant
In this support now availalble with WebAii 2010.3, please confirm.
"We currently only support OOB applications without elevated trust. We are actively working on providing support for elevated trust applications, and would happily inform you when this feature is available in a future release of our product"
Thanks
Prashant
0
Hello Prashant,
Yes, OOB applications are now supported with or without elevated trust. Thank you for your patience.
Regards,
Anthony
the Telerik team
Yes, OOB applications are now supported with or without elevated trust. Thank you for your patience.
Regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Neil
Top achievements
Rank 1
answered on 03 May 2011, 11:16 AM
Sorry to resurrect an old thread, but with WebAii 2010.3 I cannot get elevated trust to work. My application launches, but fails with any COM calls Out Of Browser. Are there any other magical things I need to do to enable elevated trust other than the instructions provided here?
0
Hello Neil,
Please see this KB article which describes how to use Telerik Testing Framework with Silverlight OOB and elevated trust.
We cannot guarantee, however, that COM calls in OOB will work after performing these steps. That particular scenario has not been extensively tested.
Kind regards,
Anthony
the Telerik team
Please see this KB article which describes how to use Telerik Testing Framework with Silverlight OOB and elevated trust.
We cannot guarantee, however, that COM calls in OOB will work after performing these steps. That particular scenario has not been extensively tested.
Kind regards,
Anthony
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items