Telerik Forums
Testing Framework Forum
4 answers
124 views
Hey all,

I have a third party app that I am currently working on that will run a few of our basic WebAii tests.  I have a button that when a user clicks, it should stop the execution of the tests being run.  This sort-of works, but I want to know if there is a way to stop any current execution of any webaii calls? 

What I do currently is call manager.Dispose() and that will close my browser, causing the test to fail.  I don't like this approach, and would rather be able to say manager.StopCurrentTest() (or something like that)then handle the tests being aborted, then call my manager.Dispose().

Is there any hack to do this?

Thanks!

Cody
Telerik team
 answered on 18 May 2011
1 answer
132 views
Hi,

I have just installed Telerik Testing Framework 2011.1.502 and when I opened the Extensions tab in the Tools / Add-ons of Firefox, I get the extension reported as in the attached screenshot (refers to 2010.3 client).

Is this expected?

Thanks,
Nikolai
Telerik team
 answered on 18 May 2011
6 answers
143 views
hi,

i already did Test Iterated.

Now im trying to create test that login to the system (once ), and repeat few steps several times (different data each iteration).
How can i group the second part of the test?


thx,
Maayan.
Barbara
Top achievements
Rank 1
 answered on 16 May 2011
2 answers
107 views
Hi,

I am attempting to iterate through the TreeListItems property of the RadTreeListView and running into time out issues.  I am running the following code:

foreach(RadTreeListViewItem item in treeListView.TreeListItems)
{
        ... do some work on item ....
}

The test will generate the following error:  "Wait for condition timed out" while attempting to retrieve the TreeListItems property.

When I run the test in the debugger I will get this error:  "Function evaluation timed out" when hovering over the property.

Any helpful hints.

Joel
Yordanka
Telerik team
 answered on 11 May 2011
9 answers
102 views
This issue occurs sometimes (unstable).
Please check the attached screenshot.
It shows that repeated "tt" were printed as "t".

I can guess that the source of the problem is that the framework "types" too fast.
it can be fixed by holding half-a-second pause between identical characters.
But in this case I cannot use conveniences of the DownloadDialogsMonitor class....
Alexey Ivanov
Top achievements
Rank 1
 answered on 10 May 2011
3 answers
115 views
I am using Visual Studio Mstest to execute the Silverlight test cases with WebAii Testing Framework.

The test cases work well for single-thread execution, which means executing test cases one by one. And the "Mouse.Click" method can simulate mouse behaviors in browser perfectly.

But if I execute multiple test cases in parallel, in this situation multiple browsers will be started for each test case at same time. Then only the first activated browser can accept the Mouse.Click behavior, other test cases all failed due to browser can't receive the mouse click behavior - they are all behind the top activated browser.

My question is, is there any solution can handle the test cases execution in parallel, so that different browsers can accept corresponding mouse/keyboard behaviors.

Thanks in advance for your help.
Cody
Telerik team
 answered on 06 May 2011
1 answer
96 views
Hi,

The release notes for the most recent release of the framework are empty:

http://www.telerik.com/versionnotes.aspx?id=2453

Regards,

Dan
Konstantin Petkov
Telerik team
 answered on 05 May 2011
3 answers
142 views
I need to use MouseClick instead of Click on HtmlAnchor elements. The problem is that I'm running my tests on virtual machines. But the MouseClick doesn't work (browsers isn't redirected to new page).

when I use Click method everything is correct but I need to simulated real user and I can't use Click method.
A.

Webaii 2010.3.1421
Browsers (IE7, IE8, FF, Chrome, Safari)
windows server 2003, Windows 7
Cody
Telerik team
 answered on 04 May 2011
9 answers
151 views

Hi,

i tried to automate a web page containing a Silverlight application with WebAii automation framework. If i try to load the page manually in IE8 and Firefox, all works as expected. 
In a NUnit test, with IE8 the Silverlight application is loaded correctly and i can find all controls, but for Firefox3.6.9 the test framework does not find the SilverlightApp object. The error is: System.TimeoutException : Timeout trying to connect to Silverlight App.
After this error, Firefox manual proxy settings are not removed (even if in [TearDown] enableSilverlightApplication is set to false). 

Firefox is configured as in http://www.artoftest.com/support/webaii/topicsindex.aspx, Firefox section.
Are there some more settings to be able to automate the web page in Firefox?

Thanks,

Flavia

San
Top achievements
Rank 1
 answered on 04 May 2011
7 answers
120 views
Hi,

We are trying to automate a Silverlight application out-of-browser, which should now be supported in the latest WebAii 2010.2.
I could not find any examples of how to get started with out-of-browser automation in the provided samples, help file or on the Telerik blog. 

For instance, I can see there's a new BrowserType.SilverlightOutOfBrowser which sounds useful, but how do I point it to my Silverlight app? By default it seems to be looking for 'C:\Users\<user>\AppData\LocalLow\Microsoft\Silverlight\OutOfBrowser\application.xap'.

Cheers,
Joonas



Anthony
Telerik team
 answered on 03 May 2011
Narrow your results
Selected tags
Tags
+9 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?