Telerik Forums
Testing Framework Forum
2 answers
109 views
I would like to set the FindStrategy globally so that whenever I do a Find on any of its children, I don't have to set the Strategy on this child to WhenNotVisibleReturnNull.

Even though I set the strategy to this on the application itself, if I'm calling Find on a control within the application, it reverts back to the default which I believe is WhenNotVisibleThrowException.

Which brings me to my next question: Why, oh why is that the default? Not knowing there was a FindStrategy caused me hours of painful googling. According to the documentation, the Find methods return null when the element doesn't exist. So WhenNotVisibleReturnNull I believe should be the default.

Many Thanks!
Dren
Top achievements
Rank 1
 answered on 09 Feb 2012
1 answer
141 views
Hello,

We have a Silverlight 5 application that we are writing tests for using the Testing Framework. One of the initial actions the code must handle is a dialog box that pops up and allows the user to select a particular customer they want to work with for that session. They can select/change customers at any point in the application. How do we code (we're coding in C#) for a "select" dialog box in the Test Framework?

Feedback appreciated. Thanks.

EDIT - Disregard, we figured it out. Thanks.
Anthony
Telerik team
 answered on 08 Feb 2012
1 answer
117 views
I was debugging a Chrome issue and came across bug #8190:

http://www.telerik.com/support/pits.aspx#/public/test-studio/8190

Has this property (WebkitExecutionDelay) been implemented yet?  This issue appears resolved, but I can't find information about the property or how to use it.
Anthony
Telerik team
 answered on 07 Feb 2012
2 answers
187 views
Here's the situation:

I run Test Studio from w/in Visual Studio 2010. I record a Web Test. I attempt to convert it to C# code by clicking the "Add code behind file to your test" icon and VS immediately crashes. 

Any help would be appreciated. Also I'm a newbie to this tool (doing an eval for work) and I'd like to just "write" or "code" a Web Test directly instead of recording one and then converting it to code. How do I simply "code" a Web Test directly? (If that's even a correct way of asking the question - I want to script browser usage, etc directly in code - how do I create a "blank" Web Test that I can just add my code to?)

Thanks! Interesting product you have here. 


Jess
Top achievements
Rank 1
 answered on 07 Feb 2012
8 answers
186 views
I'm trying to solve a problem where the testing framework is unable to control Firefox 9 (Chrome and IE work fine).  Firefox starts, but hangs when configuring the browser for automation.

I did some digging and ended up looking into the extensions that are installed.  I found that the Telerik Testing Framework Firefox 4+ client is disabled because is it "incompatible with Firefox 9.0.1".

Any idea why that would be?  I've seen other documentation saying this should work fine.

Thanks!
Doug
Top achievements
Rank 1
 answered on 06 Feb 2012
6 answers
459 views
Hi,
Now, I have a scenario like this:

Some codes will not be executed untill the button is enabled.
I am wondering how to use wait.for to implement this.

Thanks!

lucia
Anthony
Telerik team
 answered on 06 Feb 2012
7 answers
292 views
Hi,

I just upgraded to the latest webaii .dlls v2011.2.117.0. Nothing else has changed on my system. For some reason, from Nunit, I now must reload the project after a single test runs or I'll get a reflection exception. I have several tests and we run them in suites, so resetting the project after each test is not going to work. Please help me work through this issue as it could be something on my end, but this wasn't repro'ing at all before I changed the webaii bits.

Config: Win7 x64, Firefox 8 and IE 9, webaii 2011.2.117.0, Nunit x86 2.5.11092 x86

Thanks,
Chris C
Plamen
Telerik team
 answered on 06 Feb 2012
1 answer
95 views
I am using 2011.2.928.0 and I am trying to access right context menus for testing but I can't figure out what kind of FindExpression would allow for this. I know that the popup isn't inserted into the VisualTree, but the recorder can tag the context menu, so I am wondering if there is a way to capture this programmatically yet that I haven't found mentioned. My project relies mostly on right click context menus, and in fact step 1 is triggered this way, so without this feature (they don't want me to do any backdoor workaround to allow the functionality without the rightclick) my company (Nike USA) will not be using Telerik for testing.

UPDATE!!!!
Never mind, just found that if I call RefreshVisualTrees and access Popups property of the Silverlight App I can see the popups. We are happy again.
Anthony
Telerik team
 answered on 02 Feb 2012
17 answers
479 views

I am Facing Problems in Handling Download Dialogs in IE 9, I used the Code Snippet below:-



This Code works in IE 8, but not in IE 9

 

//Code to Handle the IE Download DialogBox

 

 

IEDownloadDialog iedownload = new IEDownloadDialog(Manager.ActiveBrowser, DialogButton.OPEN, Manager.Desktop);

 

//Handles the Dialog Pop-up

 

Manager.DialogMonitor.AddDialog(iedownload);


Please help me how to Resolve this problem in IE9 first 
Also I want solution for All other Browsers (FF, Chrome, Safari)

Thanks
Nitin

 

Nitin
Top achievements
Rank 1
 answered on 02 Feb 2012
11 answers
150 views
Hi Support 

I am Facing issues while Executing our Silverlight Tests in Safari 

It Launches the Browser and Navigate to our Silverlight Application, but it Fails, when I debug this I am getting Timeout Exceptions...

Please find the snapshot.

Thanks 
Nitin
Cody
Telerik team
 answered on 02 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?