Telerik Forums
Testing Framework Forum
1 answer
153 views
Hello,

I'm having an issue where the ActiveBrowser.Capture() feature is returning an Image where the Content window of the Browser is Black. (The Browser Navigation URL and Tool bars are visible)

Here is the Code I'm using:
 
var bitMap = ActiveBrowser.Capture();
var fileName = TestContext.TestName + "_" + DateTime.Now.ToString("MM_dd_yyyy_HH_mm_ss_ffff");
fileName = Path.ChangeExtension(Path.Combine(directory.FullName, fileName), ".jpeg");
bitMap.Save(fileName, ImageFormat.Jpeg);

I've attached what one of the Results looks like.

These Scripts are running on Window 7 VM's.
Stoich
Telerik team
 answered on 19 May 2011
4 answers
133 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
151 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
150 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
125 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
114 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
132 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
105 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
172 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
163 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?