Telerik Forums
Testing Framework Forum
1 answer
81 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
145 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
159 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
380 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
235 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
85 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
434 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
118 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
14 answers
150 views
I've searched through the forums and google and couldn't find any solution to this, hopefully someone can help.

We're working on testing web content which is to be used within an iPad application.  In order to allow the web content to interact with iOS native content our developers have implemented a custom protocol (i.e. "foo://), which when the native application encounters this it does a particular task described after the protocol. 

My issue here is that I can use the test framework to test the web content in Safari until it encounters this custom protocol.  When it encounters it, Safari displays a browser error of 'Safari can't open "foo://bar/" because Microsoft Windows doesn't recognize Internet addresses starting with "foo:".'  I can't proceed past this, any attempt at accessing the url to trap it just shows the previous page's url, and any attempt to navigate elsewhere afterwards fails with a timeout.

Is there any means to trap the url with the special protocol so I can do something with it, and/or any means to get the framework to tell the browser to navigate elsewhere after it encounters one?

I've put together some sample code to illustrate the problem:

 

Settings testSettings = new Settings();
testSettings.Web.Browser = BrowserExecutionType.Safari;
testSettings.ClientReadyTimeout = 60000;
testSettings.UnexpectedDialogAction = UnexpectedDialogAction.DoNotHandle;
  
Manager mgr = new Manager(testSettings);
mgr.LaunchNewBrowser(BrowserType.Safari, true);
  
mgr.ActiveBrowser.NavigateTo("http://www.google.com");
System.Threading.Thread.Sleep(5000);
mgr.ActiveBrowser.NavigateTo("foo://bar");
System.Threading.Thread.Sleep(5000);
mgr.ActiveBrowser.NavigateTo("http://www.bing.com");

Safari will not navigate to bing.com and the test will timeout.
Cody
Telerik team
 answered on 01 Feb 2012
2 answers
120 views
Hi

When we started using test framework i remember reading that there were no plans on making it pay to use.

But when i go the "free framework" page now it has a huge link to download the test studio but no apparent link to download the framework, does this mean that soon the framework is no longer free??

http://www.telerik.com/automated-testing-tools/free-testing-framework.aspx
Martin
Top achievements
Rank 1
 answered on 01 Feb 2012
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?