Telerik Forums
Testing Framework Forum
5 answers
118 views
Hi,

I am getting the following exception when I am trying to run the test on the new versions of Telerik: Version: 2012.2 1420 or Version: 2013.1 806. Currently I am using the Version: 2012.2 1204, but when I am upgrading the telerik to Feb or August version I can't run the tests. 

artoftest.webaii.browserspecialized.internetexplorer.internetexploreractions' threw an exception.

I have done everything which is said on the topics related to this but there is no success. Can you please help me out as I am stuck with this issue and I need to upgrade to new versions because of some new features which I need. 
        public SilverlightApp App()
        {
 
            Initialize();
            Manager.Settings.Web.EnableSilverlight = true;
            Manager.LaunchNewBrowser();
            ActiveBrowser.Window.Maximize();
            ActiveBrowser.NavigateTo("http://ab-m4500/AthenePortal/Presentation.WRClient.html");
            return ActiveBrowser.SilverlightApps()[0];
}




Boyan Boev
Telerik team
 answered on 17 Sep 2013
4 answers
131 views
Hi, why in testing framework release (2013.1 911) notes is written about test studio? How i should now if there is worth to upgrade?

p.s. you are giving tools for qa and act like that... shame on you
Boyan Boev
Telerik team
 answered on 17 Sep 2013
3 answers
181 views
Hello, I am trying to write some automated scripts (just using Visual Studio and the Testing Framework, no Test Studio) to interact with a RadDropDownTree. I have been trying to do some research of how to work with it, but I have not found any information. Just by writing code I have found that there is a RadDropDownTree wrapper class in the Telerik.WebAii.Controls.Html namespace, but I have not been able to find any documentation on this class.

Is the API documentation (http://www.telerik.com/automated-testing-tools/support/documentation/online-api-reference/index.html) just not up to date? Does anyone have a link to any detailed information on the RadDropDownTree wrapper class? Any information would be greatly appreciated. Thanks!
Velin Koychev
Telerik team
 answered on 16 Sep 2013
9 answers
208 views
Hello,

How does one use the AnnotationMode.CustomOnly feature.  I am talking about using the WebAii framework and not via Test Studio.

I understand that you have to use the Settings class properties .AnnotateExecution and AnnotationMode.  But then how does one decorate one's methods and actions so that the annotations get displayed during execution? This is all I have so far but then...?

Manager.Settings.AnnotateExecution = true;
Manager.Settings.AnnotationMode = AnnotationMode.CustomOnly;

-Humbi
Humberto
Top achievements
Rank 1
 answered on 12 Sep 2013
1 answer
137 views
I have the below code to logout of the application where Logout is HtmlAnchor element.
 
MyPageManager.MyPage1.MyPageHeader.Logout.Click();
 
I want to know if I can capture this click event.to do some additional operations after click. I am using this line in many of the test methods. If I am able to capture this click event I can do those additional operations in common place without having to modify each of the existing test method.

Let me know if it is possible.Thanks
Boyan Boev
Telerik team
 answered on 09 Sep 2013
5 answers
201 views
Hi Telerik team,
I want to call same function/method in many of the web test in same project.
So is it possible to create then function/method globally and call it in many of the web test in same project????
And where should i write that function/method???

Thanks,
Priyanka
Velin Koychev
Telerik team
 answered on 04 Sep 2013
1 answer
443 views
I am trying to run Telerik Framework Test using NUnit (through visual studio). And I need to initialize some variables before the tests run. I am using [TestFixtureSetUp] and [TestFixtureTearDown] for this. But it seems that these are being executed for each and every [Test] Method ([TestFixtureSetUp] and [TestFixtureTearDown] should be only once!)
  
    [TestFixtureSetUp]
    public void MyTestInitialize() 
    {
        SetUpAndTearDown setup = new SetUpAndTearDown();
        myDriver = setup.SetupTestEnvironment("ie");
    }
  
    [Test]
    public void Grid()
    {
        //code for gird
    }
  
    [Test]
    public void Box()
    {
        //code for Box
    }
  
    [TestFixtureTearDown]
    public void CleanUp()
    {
        SetUpAndTearDown teardown = new SetUpAndTearDown();
        teardown.TearDownTestEnvironment(myDriver);
    }
I am using NUnit - 2.6.2 Visul studio 2010 ultimate
Velin Koychev
Telerik team
 answered on 03 Sep 2013
3 answers
151 views
I get the following error when I try to run my CodedUI test in Internet Explorer 9 (version 9.0.8112.16421). 

"There was a problem starting ArtOfTest.Connector.dll.  The specified module could not be found."

I have tried running VS as administrator but still get the error. 

I have version 2013.1.806 of the Telerik Testing Framework.  I also verified I have the ArtOfTest.Connector.dll file at the following location:

C:\Program Files (x86)\Telerik\Test Studio\Bin

My test runs fine in Firefox and Chrome.
Boyan Boev
Telerik team
 answered on 02 Sep 2013
15 answers
376 views
Hi,

We have been using Telerik Testing Framework for our WPF project. It is working fine with the previous version 2012.2.1420.0.

But today when I upgraded with the latest version 2013.1.806.0, it throws "System.TypeInitializationException" when it is trying find control using automationId (this.WpfWindow.Find.ByAutomationId<T>("automationId"))

Details of the exception thrown are as follows

Exception thrown during the wait for a condition. Error: Unexpected error while waiting on condition. Error: System.TypeInitializationException: The type initializer for 'ArtOfTest.WebAii.Silverlight.ObjectSerializer' threw an exception. ---> System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.
 
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
 
   at System.Reflection.RuntimeModule.GetTypes()
 
   at System.Reflection.Assembly.GetTypes()
 
   at ArtOfTest.WebAii.Silverlight.ObjectSerializer.InitKnownTypes()
 
   at ArtOfTest.WebAii.Silverlight.ObjectSerializer..cctor()
 
   --- End of inner exception stack trace ---
 
   at ArtOfTest.WebAii.Silverlight.ObjectSerializer.Serialize(Type t, Object o)
 
   at ArtOfTest.WebAii.Silverlight.SilverlightCommand.AsString()
 
   at ArtOfTest.WebAii.Wpf.WpfProxy.CreateCommand(SilverlightCommand SlCommand)
 
   at ArtOfTest.WebAii.Wpf.WpfProxy.ExecuteSLCommand(SilverlightCommand cmd)
 
   at ArtOfTest.WebAii.Wpf.WpfProxy.GetAllVisualTrees()
 
   at ArtOfTest.WebAii.Wpf.WpfWindow.RefreshVisualTrees()
 
   at ArtOfTest.WebAii.Silverlight.VisualFind.RefreshRoot()
 
   at ArtOfTest.WebAii.Silverlight.VisualWait.WaitForExistsByFindInfo(VisualFindInfo findInfo)
 
   at ArtOfTest.Common.WaitAsync._worker_DoWork[T,V](Object waitParam)

We have been referring three DLLs in our Project
1. ArtOfTest.WebAii.dll
2. Telerik.WebAii.Controls.Xaml.dll
3. Telerik.WebAii.Controls.Xaml.Wpf.dll

Do we need to refer any additional binaries?

Thanks & Regards,
Raj
 
Boyan Boev
Telerik team
 answered on 02 Sep 2013
3 answers
86 views
Hi,

I am trying to move my test code from webaii 1 to webaii 2. In my code I have used

FindParamCollection

 

 

class in webaii1 and for webaii 2 it says this class has been deprecated, use

 

 

FindExpressionCollection<T>.

I am not able to find the implemenation details of this class in the help document http://www.artoftest.com/support/webaii/WebAii_2.0_API/Index.aspx. Can you please help?

 

Boyan Boev
Telerik team
 answered on 02 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?