Telerik Forums
Testing Framework Forum
5 answers
119 views

Hi Folks,

Sorry, but this is another call for a link to an offline installer. We're using 2015.2 of the Testing Framework and it seems we never kept a copy of the offline installer. Now when we go to install the framework it is forcing us to download 2015.3.

I've searched right through the forums and none of the previously posted links work any more.

I've also searched right through the Telerik website and the only page I can find again downloads 2015.3.

 

Can you help me please?

Cheers,

Dan

 

 

Vanya Pavlova
Telerik team
 answered on 15 Jan 2016
4 answers
143 views

Hi,

I'm facing the following problem atm:

I have a project with Unit Tests. I added into the project app.config file with test settings:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler,
             ArtOfTest.WebAii, Version=2015.1.528.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c"/>
    <section name="WebAii.Settings.Wpf" type="ArtOfTest.WebAii.Core.Settings.WpfSettings, ArtOfTest.WebAii,
              Version=2015.1.528.0, Culture=neutral, PublicKeyToken=4fd5f65be123776c"/>
  </configSections>
  <WebAii.Settings
    elementWaitTimeout="10001"
    xMultiMgr="false"
    unexpectedDialogAction="HandleAndFailTest"
    createLogFile="true"
    waitCheckInterval="500"
    logAnnotations="false"
    annotationMode="All"
    annotateExecution="true"
    executionDelay="0"
    queryEventLogErrorsOnExit="false"
    clientReadyTimeout="20000"
    executionTimeout="30000" >
  </WebAii.Settings>
  <WebAii.Settings.Wpf
    DefaultApplicationPath="D:\SVN\...\Client.exe">
  </WebAii.Settings.Wpf>
 
</configuration>

When I build my project, the .dll.config file is created in the project bin folder.

Then I want to get the settings in the code:

MyManager = new Manager(true);
MyManager.Start();
WpfClientApp = MyManager.LaunchNewApplication(MyManager.Settings.Wpf.DefaultApplicationPath);

The problem is that the settings are not taken from the file but they have default values.

Do you have any idea what it happens? Did I miss sth?

 

BR, Marta

 

Boyan Boev
Telerik team
 answered on 02 Jan 2016
1 answer
147 views

Currently running Testing Framework 2015.3.1015.0 (not Test Studio).

 

I am trying to get launch the Microsoft Edge browser on Windows 10.  I don't see Microsoft Edge browser in BrowserTypes.  When using Internet Explorer as the BrowserType it launches IE 11. Does anyone know how to launch Microsoft Edge browser on Windows 10?

Boyan Boev
Telerik team
 answered on 17 Dec 2015
3 answers
151 views

I'm trying to test a silverlight application. When i try to Launch the Browser it throws me an error. If i try to open my link separately in IE its opening. But while running the test it doesnt. 

At Line "ActiveBrowser.NavigateTo(BaseUrl);" it opens IE, shows the url in the URL box, and it closes displaying the message below. 

Can anyone help me on this issue?

Ivaylo
Telerik team
 answered on 08 Dec 2015
24 answers
824 views
I have a Testing Framework app using IE11 that runs fine on my Windows 7 desktop.  I installed it on Windows Server 2012 r2, and it starts the IE browser, but instead of doing a NavigateTo to my website, it stays stuck on the about:blank page.

I am using the latest version of ArtofTest.WebAii.dll.  I also turned off IE Enhanced Security Configuration and performed all of the IE configuration steps.  I am logged in as an administrator on the server.

I tried re-compiling the app with Chrome as the browser.  I performed the Chrome configuration steps.  The app runs!  (At least until it gets to a popup page).  The fact that it runs in Chrome shows me that I am able to use the Testing Framework on the server.

But the website I am testing is only certified for IE, and I must get the app running using IE.

I would appreciate any suggestions.

Thanks
Ivaylo
Telerik team
 answered on 30 Nov 2015
5 answers
80 views

I have the same problem as described in
    http://www.telerik.com/forums/can-not-find-ifram-in-firefox

With firefox version > 29 it is still not possible to find iframes generally.
Unfortunatelly we have to use firefox 33. I am using the newest Telerik builk "04420Telerik.Testing.Framework.2014.3.1016" with the newest firefox.

Here is the description of the error I get:
    
    private Browser MailFrame
        {
            
            get
            {                    
                Browser b=Browser.Frames["mail"];   // Line 602                
                return b;
            }
        }


Exception is:

InError set by the client. Client Error:
mozCommandProcessor: GetCurrentDocumentMarkup(): Exception thrown while trying t
o serialize the Dom. Error: TypeError: this.TargetDocument is null
BrowserCommand (Type:'Information',Info:'DocumentMarkup',Action:'NotSet',Target:
'null',Data:'',ClientId:'0d4ad2f8-bc97-431f-a939-d3a91c8f5945',HasFrames:'False'
,FramesInfo:'',TargetFrameIndex:'7',InError:'True',Response:'mozCommandProcessor
: GetCurrentDocumentMarkup(): Exception thrown while trying to serialize the Dom
. Error: TypeError: this.TargetDocument is null')
InnerException: none.

Debug - ------------------------
Debug - StackTrace:
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand reques
t)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boole
an performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.RefreshDomTree()
   at ArtOfTest.WebAii.Core.FramesCollection.EnsureDomLoaded(Browser browser)
   at ArtOfTest.WebAii.Core.FramesCollection.get_Item(String name)
   at XXXXXXXXXXXXXX..MainClass.get_MailFrame()
 in XXXXXXXXXXXXXX.\MainClass.cs:line 602
  ....


I also tries to refresh the dom tree with

    Manager.Current.ActiveBrowser.Frames.RefreshAllDomTrees();
    Manager.Current.ActiveBrowser.Frames.WaitAllUntilReady();

But this did not help.

Do you know a workaround for this bug? Will the bug be fixed?
Thanks in advance.




Ivaylo
Telerik team
 answered on 27 Nov 2015
1 answer
320 views

Hello All,

Can any one please help me with the below selenium automation example for the Kendo Grid filter menu. Appreciate your help. Thanks.

http://demos.telerik.com/kendo-ui/grid/filter-menu-customization

Steps-
1) Click on filter icon
2) Select Not equal to from drop down
3) Enter Text in textbox
4) Click on Filter button

 blob:https%3A//mail.google.com/c884de4d-8b48-4f03-87f4-8ea315efbcca

 

Appreciate any responses

Ivaylo
Telerik team
 answered on 27 Nov 2015
3 answers
144 views
Hi,

Simple and probably silly question but how do I actually reference Telerik conrols using the test framework?

I have created a test project and test class and it loads a lot of namespaces, but none of them seem to give the ability to automate the selection of Rad controls such as RadGrid and RadComboBox.

I thought the point of using the Telerik tools was that it would enable me to do something like:

ActiveBrowser.Find.ById<RadComboBox>("myComboBox").Select("Value1")

Is this not the case?   Do I have to try and figure out the raw IDs from the html?  If so, what about for ajax?  And if so, what's the point in this being a Telerik product?  

Ivaylo
Telerik team
 answered on 20 Nov 2015
3 answers
155 views
Hi All,

I'm using Telerik testing framework to automate WPF application tests for quite some time (3 years). All the time as of version 2012.2.1204. It's an old one, but the most stable so far. I was trying to update to some latest 2015, but there is a critical bug, that I will clarify separately.
So this version is quite stable, except one issue that we've been experiencing from time to time. Lately, it's started happening every night and creates a real problem. We have several sets of tests running every night. Each set has approximately 20 tests of 2-7 minutes each. At the middle of a test (different test all the time), the tests stop running with the exception below. Even NUnit timeout attribute in tests with the value of 10 minutes doesn't help. All tests are hung with a circle of exceptions until TeamCity stops it.

Could you advise what might be wrong and what can I do to avoid this exception and make test running smoothly?
Thank you.


Thread id=4684
M-->U
[IL Method without Metadata]
at System.IO.Pipes.PipeStream.WriteFileNative(Microsoft.Win32.SafeHandles.SafePipeHandle handle, System.Byte[] buffer, System.Int32 offset, System.Int32 count, System.Threading.NativeOverlapped* overlapped, System.Int32& hr) 
at System.IO.Pipes.PipeStream.WriteCore(System.Byte[] buffer, System.Int32 offset, System.Int32 count) 
at System.IO.Pipes.PipeStream.Write(System.Byte[] buffer, System.Int32 offset, System.Int32 count) 
at Telerik.TestingFramework.WpfExtension.WpfCommunication._browserRemoteClient_BrowserRequest(System.Object sender, ArtOfTest.WebAii.EventsArgs.BrowserCommandEventArgs e) 
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ProcessBrowserRequest(System.Object sender, ArtOfTest.WebAii.EventsArgs.BrowserCommandEventArgs e) 
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ListenThreadEntry(System.Object objParam) 
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object state) 
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) 
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) 
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) 
at System.Threading.ThreadHelper.ThreadStart(System.Object obj) 
U-->M


Thread id=7984
at System.Threading.WaitHandle.InternalWaitOne(System.Runtime.InteropServices.SafeHandle waitableSafeHandle, System.Int64 millisecondsTimeout, System.Boolean hasThreadAffinity, System.Boolean exitContext) 
at System.Threading.WaitHandle.WaitOne(System.Int32 millisecondsTimeout, System.Boolean exitContext) 
at System.Threading.WaitHandle.WaitOne() 
at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.AsyncPipeRead(System.IO.Pipes.PipeStream pipe, System.Byte[] bytes, System.Int32 offset, System.Int32 count) 
at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.ReadCommandFromPipe<ArtOfTest.WebAii.Messaging.Process.PipeCommand>(System.IO.Pipes.PipeStream pipe) 
at ArtOfTest.WebAii.Messaging.Process.BrowserRemoteClient.ListenThreadEntry(System.Object objParam) 
at System.Threading.ThreadHelper.ThreadStart_Context(System.Object state) 
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) 
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) 
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) 
at System.Threading.ThreadHelper.ThreadStart(System.Object obj) 
U-->M
Ivaylo
Telerik team
 answered on 10 Nov 2015
1 answer
116 views

Dear community!

 We are using VS13 and the Telerik Framework to test our web client. For finding controls or to wait for specific conditions to be met, we wanted to use ArtOfTest.Common.WaitSync with the Manager.Wait.For<>(...). 

We want to use this because we can not be sure if our page is fully loaded at certain points, and this Wait.For would be better than a stupid Thread.Sleep, because we can do things like refreshing the DOM tree each time the predicate is checked.

We experienced that there is a new Thread used for these WaitSynch methods.

Is there a way how to use the functionality of Wait.For<>(); without using different threads, to make the ​following code really wait until this method either times out or the predicate is true?

  

Best Regards

Hubertus

Hubertus
Top achievements
Rank 1
 answered on 06 Nov 2015
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
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
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?