Telerik Forums
Testing Framework Forum
3 answers
77 views

I have problems with the "Testing_Framework_2015_3_1314_2_Free.exe" the process stuck at the beginning.

Could you provide an offline msi or where could I download it?

Thanks,
Roman 

Ivaylo
Telerik team
 answered on 16 Mar 2016
2 answers
203 views

I have downloaded the latest version of the Testing Framework and I am trying to create my first test a WPF application.

I get a the following error when I try to run the test.

Test Name: TestMethod1
Test FullName: UnitTestProject1.UnitTest1.TestMethod1
Test Source: c:\Dev\PARM\UnitTestProject1\UnitTest1.cs : line 15
Test Outcome: Failed
Test Duration: 0:00:00.0284715

Result Message:
Test method UnitTestProject1.UnitTest1.TestMethod1 threw exception: 
System.NullReferenceException: Object reference not set to an instance of an object.
Result StackTrace: at UnitTestProject1.UnitTest1.TestMethod1() in c:\Dev\PARM\UnitTestProject1\UnitTest1.cs:line 16

 

My test method is:

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using ArtOfTest.WebAii.Core;
using ArtOfTest.WebAii.TestTemplates;

using ArtOfTest.WebAii.Wpf;

namespace UnitTestProject1
{
    [TestClass]
    public class UnitTest1
    {
        [TestMethod]
        public void TestMethod1()
        {
            WpfApplication wpfApp2 = Manager.Current.LaunchNewApplication(@"C:\Dev\PARM\PARM\bin\Debug\PARM.exe");
        }
    }
}

Ivaylo
Telerik team
 answered on 14 Mar 2016
6 answers
452 views
How to use Specflow with Telerik Testing Framework,
We have Silverlight Application and Want to Test End to End Test Automation?

I have following:-
Telerik Testing Framework.
Silverlight Application running on Browser.
Spec flow.
VS 2012 and NUnit framework.

Could you please provide example or Jing video is really helpful.

Thanks


Boyan Boev
Telerik team
 answered on 09 Mar 2016
6 answers
112 views
I am attempting to manually configure Firefox browser as outlined here: http://docs.telerik.com/teststudio/getting-started/configure-your-browser/Firefox. The instructions call for installation of Telerik Test Studio Automation and Telerik Test Studio Recorder extensions. I have the first one that I installed a while ago, I do not have the second one. As of this writing I cannot find any Telerik authored extensions through Mozilla Add-on manager. I may be failing at Google-fu but it looks like those extensions are no longer available. What is the status of those extensions? Can you point me to where they are available? Or are there updated instructions?

Also, is there support for Firefox Developer Edition? What configuration do I use to call it my script's default browser?
Ivaylo
Telerik team
 answered on 07 Mar 2016
6 answers
204 views
I "accidentally" reinstalled my Telerik testing framework from 2014.1.410 to 2014.2.618, and now my existing Visual Studio xunit tests complain it can't find the ArtOfTest.WebAii version 2014.1.410.

I tried updating the references in my solution but it's still complaining. I figured I've missed updating some dependencies, but I don't have the knowledge/time to chase them down.

Is there a way to reinstall the 2014.1.410 framework? I tried the old 2014.1.410 installer, but I think it grabs the newer version of the framework.
Ivaylo
Telerik team
 answered on 07 Mar 2016
5 answers
216 views
I am attempting to enter a file name and click the save button for a save file dialog in a WPF application with the following 

         SaveAsDialog saveDlg = SaveAsDialog.CreateSaveAsDialog( Manager.ActiveApplication, DialogButton.SAVE,  @"C:\Temp\TelerikTestStudioTestDatabase" );
         Manager.DialogMonitor.AddDialog( saveDlg );
         Manager.DialogMonitor.Start();

         //Enter the code that triggers the dialog here...

         saveDlg.WaitUntilHandled( 30000 );
         Manager.DialogMonitor.Stop();
      
When the test executes I get:

'1/15/2016 1:12:18 PM' - 'Fail' : 11. [CodedStep] : CreationDialog
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Exception thrown executing coded step: '[CodedStep] : CreationDialog'.
InnerException:
System.TimeoutException: Timed out waiting '30000' msec. for any dialog to be handled '1'
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilAnyHandled(IEnumerable`1 dialogs, Int32 handleCount, Int64 timeoutMilliseconds, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 handleCount, Int32 timeout, Boolean resetHandleCount)
   at ArtOfTest.WebAii.Win32.Dialogs.BaseDialog.WaitUntilHandled(Int32 timeout)
   at TestStudio.CreateNewTestDatabase.CreateNewTestDatabase_CodedStep() in C:\....
Plamen
Telerik team
 answered on 03 Mar 2016
4 answers
954 views

Hi!

Like the title says, I have a problem with deleting Text of a WPF textbox. I tried using

element.KeyPress()
and
element.User.KeyPress()
The element is the Textbox.

I could add new text with

element.User.TypeText()
, but the other two methods don't work. Is there any possibility to fix this?

 

Greetings and thanks for help,

Max

Ivaylo
Telerik team
 answered on 25 Feb 2016
1 answer
156 views

Using the Telerik testing framework, I am able to locate, and interact with, standard WPF controls in my app. However I cannot use the same methods to find Telerik elements.

It does say on the Telerik Testing Framework web page that the framework has native support for WPF Telerik controls, so I imagine I'm missing something obvious.

The error I get when trying to use:

var grid = myApp.MainWindow.Find.byName<RadGridView>("GridName");

is:

"The type 'Telerik.Windows.Controls.RadGridView' cannot be used as type parameter 'T' in the generic type or method 'ArtOfTest.WebAii.Silverlight.VisualFind.ByName<T>(string)'. There is no implicit reference conversion from 'Telerik.Windows.Controls.RadGridView' to 'ArtOfTest.WebAii.Controls.Xaml.IFrameworkElement'."

I've seen others using the Testing Framework to find Telerik elements, but I can't work out how to do it myself.

Thanks in advance.

Boyan Boev
Telerik team
 answered on 25 Feb 2016
1 answer
200 views

Hi!

I have a problem: I want to check in a coded UI test, whether elements are visible or not. In WPF, they are declared as visibility=hidden, so a user couldn't see them. But the framework handles those elements as silverlight FrameworkElement. Silverlight only knows visibility=visible or collapsed. hidden is read as visible. Any idea how to fix this?

 

Thanks for help,

Max

Elena
Telerik team
 answered on 22 Feb 2016
8 answers
223 views
How I can execute same test code sequentially on IE, FF, SAFARI ?

I need code generation like this:

<TestMethod()> Public Sub Main(ByVal inputBrowser As ArtOfTest.WebAii.Core.BrowserType)
 
    'Launch an instance of the browser
    Manager.LaunchNewBrowser(inputBrowser)
 
    ActiveBrowser.NavigateTo("http://www.test.com/")
 
    ' TEST CODE HERE
 
End Sub

and another sub that call more time my test function.
Boyan Boev
Telerik team
 answered on 19 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?