Telerik Forums
Testing Framework Forum
1 answer
85 views
I want to run my tests on XP OS with IE6, I have a machine which has been installed IE8 and  telerik testing framework, after I uninstalled IE8, I couldn't uninstall the testing framework.
And I try to install IE8 again, and then I can uninstall  testing framework. Now I uninstall IE8 and reinstall testing framework, but couldn't install it.
It shows "The system has not been modified". please see attached screenshot.
Does anyone report this issue?

Thanks inadvance for your help.
Jet
Boyan Boev
Telerik team
 answered on 26 Nov 2012
6 answers
161 views
I'd like to use app.Find.AllByType<RadBusyIndicator>(). I know RadBusyIndicator is not a FrameworkElement. Is this possible?

Let me know if you need more details. Thanks.
Stanislav
Top achievements
Rank 1
 answered on 26 Nov 2012
7 answers
144 views
Hello all,

Is there any possibility to automate Microsoft Ribbon for WPF control using Telerik testing framework?
Link: http://www.microsoft.com/en-us/download/details.aspx?id=11877

Thank you.

Kind Regards,
Stanislav Hordiyenko
Cody
Telerik team
 answered on 21 Nov 2012
1 answer
80 views
Hello,
Does telerik test studio or testing framework can read contents of .xlsx, .txt, .pdf files?
I know that testing framework can read text files that consist of 1 line, but how to read file with many lines?
Boyan Boev
Telerik team
 answered on 20 Nov 2012
3 answers
84 views
Hello Telerik support,

I would be grateful if you could provide me with information how to use properly the following line of code: .Manager.ActiveApplication.Windows.Count()

After clicking on the button, the second window is closed in my application, but '.ActiveApplication.Windows.Count()' returns  that two windows are available. What I am doing wrong?

I look forward to hearing from you.

Kind Regards,
Stanislav Hordiyenko
Ivaylo
Telerik team
 answered on 20 Nov 2012
9 answers
211 views
Hello,
Looks like Chrome plugin issue introduced in 2012.2.920.
I use next code to find an iFrame because ActiveBrowser.Frames collection does not show it:

var frameInfo = new FrameInfo("overlayWindow", "", null, null, 1, false, false);
var window = this.ActiveBrowser.WaitForFrame(frameInfo, 10000);

This code used to work with all browsers in 2012.1 719.
Now it throws an exception in both Chrome 21 and latest Chrome 22:
Exception thrown during the wait for a condition. Error: Unexpected error while waiting on condition. Error: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException: ExecuteCommand failed!
InError set by the client. Client Error:
Cannot read property 'defaultView' of undefined
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:'null',Data:'',ClientId:'32afb365-7c7d-4f20-a65e-3da0f319c96f',HasFrames:'True',FramesInfo:'',TargetFrameIndex:'-1',InError:'True',Response:'Cannot read property 'defaultView' of undefined')
InnerException: none.
 
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
   at ArtOfTest.WebAii.Core.Browser.<WaitForFrame>b__3(Browser br, FrameInfo fr)
   --- End of inner exception stack trace ---
   at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
   at System.Delegate.DynamicInvokeImpl(Object[] args)
   at System.Delegate.DynamicInvoke(Object[] args)
   at ArtOfTest.Common.WaitAsync._worker_DoWork[T,V](Object waitParam)

Could you please recommend any workaround?

Below is iFrame I am searching for:
<iframe id="overlayWindow" src="/site/shell/Controls/Rich Text Editor/EditorWindow.aspx" style="position: absolute; width: 100%; height: 100%; top: 0px; left: 0px; right: 0px; bottom: 0px; z-index: 999; border: none; " frameborder="0" allowtransparency="allowtransparency"></iframe>
Plamen
Telerik team
 answered on 19 Nov 2012
1 answer
56 views

Steps:

  1. In Telerik test studio I have to create a web test , Using the record function and I have recorded some steps on web page.
  2. in the same project I have created a WPF test and I recorded some steps on one of the WPF application which is under test.

Problem:

  1. I want to execute WPF test by calling methods(which are defined in WPF) in web test.
  2. In one of the test file i have to call the functions which is availabel in another test file.

Thanks
satyam

Boyan Boev
Telerik team
 answered on 19 Nov 2012
1 answer
84 views
Hello Telerik,

Is there any possibility to get the FrameworkElement from WPF application by specifying screen coordinates? I found a 'ElementFromPoint' method, but it returns 'The method or operation is not implemented.' I want to implement a small application that returns a framework element based on the mouse coordinates.

I look forward to hearing from you.

Kind Regards,
Stanislav Hordiyenko
Plamen
Telerik team
 answered on 15 Nov 2012
5 answers
1.2K+ views
I'm using Telerik Testing Framework in my testing project, I want to get the ASP.NET_SessionId, I can get it from the headers of web response, can I get it via ActiveBrowser?
Plamen
Telerik team
 answered on 15 Nov 2012
3 answers
80 views

Using the Brower.NavigateTo() method causes a memory leak in IE9.

We have a test which tries to access each of the urls in our web application looking for broken links.  We found that this test was consuming all the memory on the machine until it died.

Here is some code that reproduces the problem:

            var webAiiSettings = new Settings();
            webAiiSettings.ClientReadyTimeout = 120000;
            webAiiSettings.AnnotateExecution = true;
            webAiiSettings.Web.RecycleBrowser = true;
            webAiiSettings.Web.DefaultBrowser = BrowserType.InternetExplorer;
            var WebAiiManager = new Manager(webAiiSettings);
            WebAiiManager.Start();
            WebAiiManager.LaunchNewBrowser(ProcessWindowStyle.Maximized);
            var WebAiiBrowser = WebAiiManager.Browsers[0];
            for (int i = 0; i < 100; i++)
            {
                WebAiiBrowser.NavigateTo("http://www.telerik.com");
            }
            WebAiiBrowser.Close();
   
Watch the memory of the IE9 browser climb each time it navigates to the website.  This does not happen in IE8.  Likewise, if I go to IE9 and keep manually hitting the website, the memory doesn't leak.

Thank you 

PS.  This is running on a Windows 2008 R2 machine.  I don't know if the problem exists on other platforms.

Byron
Telerik team
 answered on 14 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?