Telerik Forums
Testing Framework Forum
2 answers
99 views
i was able to successfully create automation using the TTF but after a week when i was try to run my previous created test methods, the mouseclick event doesn't working properly. Which means it click in different location and also doesn't performing the event. 

So I return again to Click, which will not be seen on the recording of the automation...

Any suggestion to fix the mouseclick, so that it will be recorded for us to see all the action of the automation.

Thank you.

Wilfred
wilfredo
Top achievements
Rank 1
 answered on 20 Jul 2011
3 answers
105 views
Hi,

I am new to this framework. I am using the Telerik Testing framework. I am able to right click on the telerik radcontrol tree item, but i am unable to get the handle of the context menu item.

Can you please let me know how to click on the menu item ?

Thanks in advance,

Chethan
Boyan
Telerik team
 answered on 15 Jul 2011
1 answer
71 views
When calling the GetCookies(string url) method it's not returning any of the non-persistent cookies (such as session cookie), has anyone else seen this problem?

Thanks
Cody
Telerik team
 answered on 08 Jul 2011
1 answer
116 views
In Firefox, if you land on a page that tries to access your location, you will get a Share Location dialog. If you select the "Always Share" option (so that it won't pop-up in later steps), the only way to correctly clear the browser for the next run is to clear "Site Preferences" in the cache history. Your framework (WebAii) does not provide a method for clearing that specific cache element, only Cookies, TempFilesCache and History.
Is there a way to specifically clear the Site Preferences when you do not know if the option is checked in the Clear History dialog? If I knew that it was checked, it would be simple to just send the key commands to clear everything, then refresh.
Thanks!
Cody
Telerik team
 answered on 08 Jul 2011
1 answer
80 views
Hi,

I need to automate a silverlight application which is being redirected from https to http, https part of the application doesnt have any silverlight and the http part have silverlight.

I know that webaii doesnt support https verion of silverlight in Firefox/Safari/Chrome (Only in IE it works). So inorder to overcome this i have redirected my application through http. But my authentication server which is common for all application and it works in https mode. When i tried automating this scenario i couldnt connect silverlight using webaii/Firefox and even the silverlight application is not getting loadded, But it works fine with IE. Please help me to solve this problem and let me know if we can have some alternate (I cant do anything with my Authentication server, but can try something in my silverlight application)

Flow of request
HTTPS (Normal Web Application/Authentication Server) -> HTTP (Silverlight Application)
Issue
Silverlight Application not getting loaded in Firefox, the same script works fine in IE.

Thanks in Advance

Regards, Sivaraj
Cody
Telerik team
 answered on 08 Jul 2011
1 answer
51 views
Hi

I just wanted to report that when using FireFox 5.0 Browser.ContentWindow.Rectangle returns the same values as Browser.Window.Rectangle

So this is a problem when doing Browser.ContentWindow.GetBitmap()

FYI : IE9 and Chrome12 don't repro this problem, I haven't tried with Safari5.

Hope you can fix this one soon.

Cheers
Cody
Telerik team
 answered on 08 Jul 2011
3 answers
142 views

Hi,

I have recently come across the WebAii Testing Framework and as a proof of concept wanted to implement some tests using NUnit against one of our projects (ASP.NET MVC 2).

The following config is set:

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <configSections>
    <section name="WebAii.Settings" type="ArtOfTest.WebAii.Core.SettingsConfigSectionHandler, ArtOfTest.WebAii" />
    <section name="WebAii.Settings.Web" type="ArtOfTest.WebAii.Core.WebSettingsConfigSectionHandler, ArtOfTest.WebAii" />
  </configSections>
  
  <WebAii.Settings.Web
    aspNetDevServerPort="1234"
    localWebServer="AspNetDevelopmentServer40"
    defaultBrowser="InternetExplorer"
    enableScriptLogging="true"
    enableSilverlight="false"
    enableUILessRequestViewing="false"
    killBrowserProcessOnClose="false"
    recycleBrowser="false"
    silverlightApplicationPath=""
    silverlightConnectTimeout="30000"
    useHttpProxy="false"
    verboseHttpProxy="false"
    webAppPhysicalPath="C:\mysite\mysite.Web"
    />
  
  <WebAii.Settings
    annotateExecution="false"
    annotationMode="All"
    clientReadyTimeout="30000"
    createLogFile="true"
    enableUILessRequestViewing="false"
    executionDelay="200"
    executionTimeout="20000"
    logAnnotations="false"
    logLocation="C:\WebAiiLog\"
    queryEventLogErrorsOnExit="false"
    simulatedMouseMoveSpeed="0.3"
    unexpectedDialogAction="HandleAndFailTest"
    waitCheckInterval="500"
    xMultiMgr="false"
  />
  
</configuration>

And the code in my unit test looks is:
// Launch a browser instance
Manager.LaunchNewBrowser(BrowserType.InternetExplorer);
// The active browser
ActiveBrowser.NavigateTo(@"~/Home");

I am expecting to navigate to: http://localdev.mydomain:1234/mysite/Home
But get: http://localhost:1234/Home instead

I have the following mapping in my hosts file:
127.0.0.1       localdev.mydomain

I'm not sure if I have my settings wrong? I would appreciate any help with this issue.

Thanks

Cody
Telerik team
 answered on 08 Jul 2011
1 answer
135 views
I have a question about the usage of the Free Test Framework.  The end solution that we are looking at involves having MSBuild build a test assembly (separate from our code) and then have the tests execute in a Test Controller/Test Agent scenario (with multiple test agents) using MSTest.  This would require the installation of the framework on both the build server and each of the test agents.  Is this possible under the licensing agreement for the Free Test Framework or would it require additional licensing?
Daniel Levy
Telerik team
 answered on 07 Jul 2011
3 answers
154 views
Hi,

Currently I'm using:
 - Windows 7 x64
 - vs2010
 - Chrome 12.0.742.112
 - Firefox 5.0
 - IE 9.0.8112.16421
 - Telerik Test Studio 2011.1.624_Trial

I have an html containing:
<title>Hello World</title>

I've tried:
Element element = Manager.ActiveBrowser.Find.ByContent("Hello World", FindContentType.InnerText);
Element element = Find.ByCustom(e => e.TextContent.Contains("Hello World"));
Element element = Manager.ActiveBrowser.Find.ByContent("Hello World);

Using Assert.IsNotNull(element); confirms that all of methods above works in IE and FF, but not in Chrome.
Does Find.ByContent work in Chrome?
Cody
Telerik team
 answered on 05 Jul 2011
5 answers
136 views
Hi,

How can i write my result to excel sheet?.

Regards
Kumar
Cody
Telerik team
 answered on 01 Jul 2011
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?