I am extremely new to Test Studio and have run into an issue with using Test Studio with a Silverlight out-of-browser application. I have the OOB app installed and it works just fine. I have set up a new project with one test in Test Studio (using the latest version). I have configured the Silverlight OOB settings for the test so that it points to my local application directory and uses "Silverlight Out-of-Browser" as the Recording Host.
The problem is when I try to record my test. For some reason, it appears that my Silverlight app detects that it is NOT running in out-of-browser mode and essentially tries to install the application. I did find this on a documentation page:
Once a Silverlight Out-of-Browser application is configured for recording, Test Studio modifies its shortcut to point directly to the application's location on disk. This replaces the Microsoft "offline://" notation. The side effect of this is that your application will not detect that it is running in Out-of-Browser mode and code must be written in the application to work around this limitation.
What code must be written to work around this limitation? Can you give us an example? Please note, this application MUST run in out-of-browser mode, so is there anything we can do to get this working with Test Studio?
Thanks for your help!
Kim
The problem is when I try to record my test. For some reason, it appears that my Silverlight app detects that it is NOT running in out-of-browser mode and essentially tries to install the application. I did find this on a documentation page:
Once a Silverlight Out-of-Browser application is configured for recording, Test Studio modifies its shortcut to point directly to the application's location on disk. This replaces the Microsoft "offline://" notation. The side effect of this is that your application will not detect that it is running in Out-of-Browser mode and code must be written in the application to work around this limitation.
What code must be written to work around this limitation? Can you give us an example? Please note, this application MUST run in out-of-browser mode, so is there anything we can do to get this working with Test Studio?
Thanks for your help!
Kim