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
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");
}
}
}
Hi!
Like the title says, I have a problem with deleting Text of a WPF textbox. I tried using
element.KeyPress()
element.User.KeyPress()
I could add new text with
element.User.TypeText()
Greetings and thanks for help,
Max
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.
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
<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