I've been using the built in facility in Visual studio 2010 for creating unit tests in Silverlight.
(Microsoft.Silverlight.Testing.dll and Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll)
I now want to use Telerik Testing Framework for scipted UK testing
I've installed TTF
Various libraries are installed in C:\Program Files\Telerik\Test Studio\Bin\ but only
artoftest.SL.Extension and
Telerik.WebAii.Controls.Xaml.CustomTypes
can be added to my project, as they seem to be the only ones compiled in the Silverlight Library
So how to get started?
I can't follow your youtube example by Jim Holmes as that's not for Silverlight.
The first reference I can find to Silverlight in the documentation is at http://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/silverlight-wpf-automation-wtc/silverlight-ui-automation
However this only lists a method, and excludes the class, namespace and "using" statements.
It starts:
[TestMethod]
public void SLDemo()
{
//Enable Silverlight
Settings.Current.Web.EnableSilverlight = true;
and it fails on Settings as there is no context for it.
(
I put this as a basic header for it:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ArtOfTest.WebAii.Silverlight;
using ArtOfTest.WebAii.Silverlight.UI;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ViewsTests
{
[TestClass]
public class TelerikVSUnitTest1
)
Another alternative I tried was to use the templates. Using Test > TelerikTestingFramework>Web>VsUnit gives me a template which includes the following:
using ArtOfTest.WebAii.Controls.HtmlControls;
using ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.ObjectModel;
using ArtOfTest.WebAii.TestAttributes;
using ArtOfTest.WebAii.TestTemplates;
using ArtOfTest.WebAii.Win32.Dialogs;
none of which compile.
Could you point me in the right direction to make some progress.
Many thanks.
(Microsoft.Silverlight.Testing.dll and Microsoft.VisualStudio.QualityTools.UnitTesting.Silverlight.dll)
I now want to use Telerik Testing Framework for scipted UK testing
I've installed TTF
Various libraries are installed in C:\Program Files\Telerik\Test Studio\Bin\ but only
artoftest.SL.Extension and
Telerik.WebAii.Controls.Xaml.CustomTypes
can be added to my project, as they seem to be the only ones compiled in the Silverlight Library
So how to get started?
I can't follow your youtube example by Jim Holmes as that's not for Silverlight.
The first reference I can find to Silverlight in the documentation is at http://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/silverlight-wpf-automation-wtc/silverlight-ui-automation
However this only lists a method, and excludes the class, namespace and "using" statements.
It starts:
[TestMethod]
public void SLDemo()
{
//Enable Silverlight
Settings.Current.Web.EnableSilverlight = true;
and it fails on Settings as there is no context for it.
(
I put this as a basic header for it:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ArtOfTest.WebAii.Silverlight;
using ArtOfTest.WebAii.Silverlight.UI;
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace ViewsTests
{
[TestClass]
public class TelerikVSUnitTest1
)
Another alternative I tried was to use the templates. Using Test > TelerikTestingFramework>Web>VsUnit gives me a template which includes the following:
using ArtOfTest.WebAii.Controls.HtmlControls;
using ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.ObjectModel;
using ArtOfTest.WebAii.TestAttributes;
using ArtOfTest.WebAii.TestTemplates;
using ArtOfTest.WebAii.Win32.Dialogs;
none of which compile.
Could you point me in the right direction to make some progress.
Many thanks.