Telerik Forums
Testing Framework Forum
21 answers
492 views
My tests run fine in IE, FF, and Safari. In Chrome when navigating between two specific pages, the framework seems to loose communication with the browser. I have verified that chrome is setup exactly to the documentation, and the extension is installed correctly. I've tried the latest versions of both Chrome 14 and 15. This doesn't seem to happen between any other pages but these two (I've tried a number of other pages). It happens running tests via mstest, nunit gui, the resharper unit test runner, and our own in-house test runner. I've already updated to the latest version of the testing framework (2011.2.1117). When it happens, I get the following exception:

System.TimeoutException : Wait for condition has timed out
TearDown : ArtOfTest.WebAii.Exceptions.ExecuteCommandException : ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'085be0a3-b603-4246-9cae-65586fcf69af',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.TimeoutException: Timed out waiting for command to be handled
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId, Int32 timeout)
   at ArtOfTest.WebAii.Messaging.Process.BrowserHttpRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 
  ----> System.TimeoutException : Timed out waiting for command to be handled

Being able to run tests in Chrome is very important to us, I hope you can help us with this issue.
Boyan Boev
Telerik team
 answered on 03 Dec 2014
9 answers
233 views
HI All,

I am working on creating data driven tests , need to read entries from an excel file. How should I proceed? Please advise

Thanks!
Ivaylo
Telerik team
 answered on 28 Nov 2014
1 answer
115 views
Hello!
I am using TTF not test studio, this test runs fine in IE, but I'm having difficulties with Firefox.
At this point in the test I am attempting to click the "Update Result" button, which is passed in by ID. Instead, the click fails and clicks the copy button.
This is all happening inside of an IFrame.

Here is the code I am using..

           //Clicking update result button.
            Element updateBtn = iFrame.Find.ById("btnUpdateResult");
            man.Desktop.Mouse.Click(MouseClickType.LeftClick, updateBtn.GetRectangle());

the "Copy" button has an ID of btnCpy and at no point in my program do I pass that in...
    

here is an image showing the page...
http://imgur.com/1kP9LRv

Cody
Telerik team
 answered on 20 Nov 2014
13 answers
169 views
I'm trying to use TTF to handle a file download in IE 11.

http://docs.telerik.com/teststudio/user-guide/write-tests-in-code/advanced-topics/handling-html-popups-and-dialogs/built-in-dialog-handlers/handling-filedownload-dialog.aspx

I tried following this guide, but it seems to only work with the older versions of IE.

The new download dialog in IE 11 looks like this:
https://social.msdn.microsoft.com/Forums/getfile/469201
Boyan Boev
Telerik team
 answered on 20 Nov 2014
1 answer
88 views
In other dialog handlers, there's a HandleCount property to see how many times that dialog has been handled - is there a way to do the same with the DownloadDialogHandler?
Ivaylo
Telerik team
 answered on 19 Nov 2014
1 answer
102 views
I need to get the count of the number of text fields with attribute id = 'getcount' . My page has n number of text fields and i should fill the all the fields having id attribute as 'getcount'. Any help is highly appreciated.

Regards,
Avinash


Cody
Telerik team
 answered on 18 Nov 2014
1 answer
125 views
We are developing a new WPF application that interacts with a server. The application sends a request to server and gets a response. The response is shown in different ways in different views (i.e. single model with multiple views).Now we want to automate the testing of the WPF application. I have the following test-automation needs:
1. Validate the request that is sent to server with user-entered parameters.
2. Validate the response that is received from the server with the data displayed in multiple views.(Response from the server is Async).

 How to achieve the above using Test framework. It will be great if you share some sample wpf and test automation scripts for the same.

Regards,
Raghu
Cody
Telerik team
 answered on 14 Nov 2014
3 answers
101 views
How to send email from telerik test studio ?
Boyan Boev
Telerik team
 answered on 12 Nov 2014
1 answer
93 views
Hi Team,

I have a suit of 200+ test cases. So, after performing full suit execution I need to re run all the failed test cases immediately in order to make sure the failures are constantly failing or not. Is there any option for my requirement?

This saves a lot of time and effort for us.

Awaiting needful reply. 

Regards,
Avinash
Daniel Djambov
Telerik team
 answered on 11 Nov 2014
1 answer
113 views
Hi,

I am trying to loop through a collection of button objects in a SilverLight web page (there are 175 button objects) to find a button that has the text value = 'Airport". But I do not know how to get to the text property using WebAii (C#). Please could somebody help. Below is the code I have put together. The '????' parts are were I am stuck. Also, I am unsure of how to actually double click the element when I have found the one I am looking for, so if you could here here to it would be most appreciated.

var buttons2 =_silverlightApp.Find.AllByType<TextBlock>();
           
for (int i = 0; i < buttons2.Count+ 1; i++)
           
{
         
    if(buttons2.??????.text = "Airport")
     {
                 int elementNum = i;
                 ??????.LeftDoubleClick;
     }      

}
Cody
Telerik team
 answered on 07 Nov 2014
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?