Telerik Forums
Testing Framework Forum
1 answer
123 views
Hey all,

From my research, it seems that telerik does not support flash player testing, so I'm asking here in general, what are some options people have used to integrated flash player testing into their scripts?

Basically, my silverlight application has a help section that has the option to play a video.  All I need to do is make sure that video loads properly inside of the flash player.
Cody
Telerik team
 answered on 27 Jun 2011
6 answers
184 views
My goal is to run as many tests using the in process server as possible for execution speed while having an IE window open to run javascript-dependent tests and switching between the two browsers as necessary.

I am having trouble getting the in process host to work and it appears that even the samples have the same issue. After LaunchNewBrowser ActiveBrowser remains null and the following appears in the log:
ActiveBrowser was changed and set to LastOrDefault. Current active was either invisible or disconnected
ActiveBrowser was changed and set to LastOrDefault. Current active was either invisible or disconnected

Unable to find anything in the documentation, I am hoping that someone here can help.
Thanks!
Cody
Telerik team
 answered on 22 Jun 2011
13 answers
148 views
Hi,

I cannot submit a bug, because I'm not a license holder, so I report it here.

in IE9, download dialogs were replaced be an orange bar at the bottom of the page.
Neither IEDownloadDialog nor DownloadDialogsHandler work in IE9.


Shtilianov
Telerik team
 answered on 22 Jun 2011
4 answers
202 views
Hi,

I am trying to open one pop-up by clicking a link by click method  my script is hanging but when i use mouseclick() method it is working fine. Can any body tell me the reason ?.

Thanks in advance.

Regards
Kumar

wilfredo
Top achievements
Rank 1
 answered on 22 Jun 2011
7 answers
205 views
I've had a number of issues trying to automate a Silverlight application from a unit test.  I will post different error messages to this thread as I see them.  

Here is the latest example:

Error: SilverlightUtils.AppendAutomationExtension() : EXCEPTION ("Unable to inject System.Windows.dll")
     Type: NullReferenceException
     Message: Object reference not set to an instance of an object.
     Call Stack:
          at ArtOfTest.WebAii.Silverlight.SilverlightUtils.AppendAutomationExtension(MemoryStream originalXapFile)

I can't make heads or tails of this error, which is typical for the error messages I receive.

I can attach my Visual Studio solution that contains my tests.  Do I need to include my Silverlight app? Or attempt to develop a Silverlight app that reproduces the error message with my test solution?

Thanks for your help.
Paul Schofield
Cody
Telerik team
 answered on 21 Jun 2011
5 answers
172 views
Hello,

I want to install telerik testing framework 2010.3, but I can't find the old versions of Testing Framework anywhere in the downloads section, it just has a link to the latest version. Can you please point me to the older version.

Thanks.
Monika
Top achievements
Rank 1
 answered on 17 Jun 2011
1 answer
128 views
Just create new project, TestMethods are under GeneralTest.cs while the codes or public methods are under General.cs.

General.cs contains

public void LoadBrowser()
{
    Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
}

GeneralTest.cs

[TestMethod]
public void LaunchBrowser()
{
    General.LoadBrowser();
}

Running the application return object reference not set to an instace of an object.

Please guide solving my first problem.. thank you
Stoich
Telerik team
 answered on 17 Jun 2011
1 answer
186 views
I have a small test using Test Framework. Here's the sample code:

[Test]
public void TestTextBox()
{
    WpfApplication wpfApp = Manager.LaunchNewApplication(@"C:\Projects\myapp.exe");
    var loginWindow = wpfApp.GetWindow("Login");
    loginWindow.Find.ByName<TextBox>("usernameTextBox").Text = "user1";
    loginWindow.Find.ByName<PasswordBox>("passwordTextBox").Password = "pass1";
    loginWindow.Find.ByName<ComboBox>("environmentComboBox").SelectItemByText(false, "DEV");
    loginWindow.Find.ByName<Button>("connectButton").Click(MouseClickType.LeftClick, false, false, 0, 0, OffsetReference.AbsoluteCenter, ActionPointUnitType.Pixel);
}

On following line:
loginWindow.Find.ByName<ComboBox>("environmentComboBox")
I get the following error:

System.InvalidCastException : Unable to cast object of type 'ArtOfTest.WebAii.Wpf.WpfWindow' to type 'ArtOfTest.WebAii.Silverlight.SilverlightApp'.
   at ArtOfTest.WebAii.Silverlight.UI.ComboBox.get_Items()
   at ArtOfTest.WebAii.Silverlight.UI.ComboBox.RefreshItemsForSelection()
   at ArtOfTest.WebAii.Silverlight.UI.ComboBox.SelectItemByText(Boolean simulateRealUser, String text)
   at TelerikTestFramework.TelerikNUnitTest1.TestTextBox() in TelerikNUnitTest1.cs: line 135

What may be the problem?

The other question is about the maturity of Telerik Testing Framework for WPF. I only see two classes in Wpf namespace and all controls are returned from Silverlight namespace. Even though the framework looks great and clean, but I'm reluctant to recommend Telerik's framework if it's not prepared to test WPF apps.

Thanks
Stoich
Telerik team
 answered on 17 Jun 2011
9 answers
382 views
when i hit record, it records and run test., but the hover over hiligting is not working to check property and values of some textboxes

In addition to that, the dom explorer is not loading any ting it went white blank

Abdul
Anthony
Telerik team
 answered on 15 Jun 2011
1 answer
118 views
Hello!
I have a problem with start test in safari 5.0
I found here http://www.telerik.com/automated-testing-tools/community/forums/webui-test-studio-developer-edition/webaii-automation-framework/support-for-safari-5-0.aspx that last version supports safari 5.0, but i have this exception

'6/14/2011 4:00:17 PM' - System.NotSupportedException: Safari version 5.0.1 or later is required for automation to function
   at ArtOfTest.WebAii.BrowserSpecialized.Safari.SafariActions.LaunchNewBrowserInstanceInt(Int32 timeout, String remotedUrl, ProcessWindowStyle windowStyle, Manager manager)
   at ArtOfTest.WebAii.BrowserSpecialized.Safari.SafariActions.LaunchNewBrowserInstance(Int32 timeout, String remotedUrl, ProcessWindowStyle windowStyle, Manager manager)
   at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(Test test, Settings settings, String deploymentFolder, String binariesFolder, ExecutionType exeType, Guid firstStepGuid, Guid lastStepGuid, IntPtr existingBrowserHandle, DebuggerOptions debuggerOptions)
Anthony
Telerik team
 answered on 14 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?