Telerik Forums
Testing Framework Forum
1 answer
68 views
Hi,

I'm quite new to Testing frameworks, just going to jump into.
For now, i'd like to play with WP feature: isolated storage. I'd like to have some tests about files/folders creation/deletion.
Is it possible to write some test cases using Testing Framework?

EDIT: looking like, it is not supported - lets reformulate question "is WP planned to be supported in the future?"
Boyan Boev
Telerik team
 answered on 21 Aug 2013
1 answer
127 views
We have an app developed using VS2010 vb.net asp.net, we are now trying to switch a functional testing team member to use Telerik Testing feamework, but so far he has had no luck getting it to work with VS Studio Express 2010, the free version from Microsoft. He gets a Telerik control panel with both Visual Studio 2010 and 2012 checkboxes disabled. Is there a certain version he'd need to use (e.g. VB2010 express if we are using VB under VS2010 on the develepment side? Or should he use Visual Web Dveloper since it is a .net project?
Cody
Telerik team
 answered on 20 Aug 2013
3 answers
148 views
Hi Team,

I want to know the exact version of telerik webaii, which installed in my machine. Im just pasting the dll version of the framework.
Please help me to find the version.

File Version : 2012.2.1420.0
Cody
Telerik team
 answered on 20 Aug 2013
1 answer
115 views
Hi,

I am unable to retrieve the text from a dialog. I've tried the suggestion in http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/code-samples/html/verify-dialog-text.aspx and I've  tried this.Window.GetText(). I've also tried manually iterating through each window and retrieving it's caption but no luck. The most text I can capture is the title of the dialog and text on the buttons.

It's a standard WPF application I'm automating against.

Using Testing Framework: 2012.2.1527.0.

Thanks,
Andrea

Boyan Boev
Telerik team
 answered on 20 Aug 2013
3 answers
94 views
Hi,

Is there any changelog for the new version of framework? In the documentation a ReleaseNotes.txt file is mentioned, but I can't find it anywhere.

Kind Regards
Silvio
Boyan Boev
Telerik team
 answered on 19 Aug 2013
1 answer
117 views
HI,

I am trying to click on the button on silverlight application but its throwing an exception. I have used the same method for clicking on other button where it worked. Not sure why it is throwing an exception here.
public void OpenChartTemplate()
  {
 
      ClickChartButton(ControlsDefinition.LoadChartTemplateButton);
 
 
  }
  public void ClickChartButton(string buttonName)
  {
      try
      {
        
          Button button = _app.Find.ByName<Button>(buttonName);
          button.EnsureClickable();
 
          button.User.Click();
          _app.RefreshVisualTrees();
 
      }
      catch (TimeoutException exc)
      {
          Trace.WriteLine("@" + DateTime.Now.ToLongTimeString() + " " + buttonName + " " + exc.ToString());
 
      }
  }
Boyan Boev
Telerik team
 answered on 19 Aug 2013
1 answer
90 views
I want to ask about the testing framework by itself, but I didn't see where I could do this?

My question is why does the artoftest browser enum say to use the teststudio.communication.shared.enum?  The testing framework does not include test studio. 

My actual question is related to Manager.LaunchNewInstance() method. A couple of the method variation calls for a browsertype.  Since this browsertype is obsolete, is there a special cast to change it an acceptable class. 

I had some logic in a coded step in my test studio project that used if activebrowser.browsertype==browsertype.firefox, do a mouse click instead of a normal click action.  I chose to use the browserexecutiontype.ToBrowserType method
Cody
Telerik team
 answered on 16 Aug 2013
3 answers
160 views
I'm confused. I've just downloaded Telerik Testing Framework 2013 Q1, I create a test project in VS 2012, add a VsUnit test item to the project, and set up the code as per the VS Test documentation:
http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/getting-started/using-visual-studio-team-test.aspx

However, I then see a warning message telling me that BrowserType is obsolete. Indeed ArtOfTest.WebAii.Core.BrowserType has the following attribute:
[Obsolete("Use Telerik.TestStudio.Shared.Communication.Enums.BrowserType instead. Use this enum only for deserializing legacy results.")]
   
What am I doing wrong in that the docs tell me I might do the following, but I'd be using an obsolete enum.

Settings settings = GetSettings();
settings.DefaultBrowser = BrowserType.FireFox;
Initialize(settings, new TestContextWriteLine(this.TestContext.WriteLine));

I am not using the full Test Studio, I just want to use the Testing Framework to automate the browser for a few tests.

Thanks.

Boyan Boev
Telerik team
 answered on 16 Aug 2013
3 answers
82 views
Because of my other issue regarding TypeInitialisationException we are unable to upgrade to latest 2013 Test Framework. Is there a way of automating the backstage control without this?
Boyan Boev
Telerik team
 answered on 16 Aug 2013
2 answers
79 views
Hi, my script is having an issue using MouseClick on HtmlButton in IE9.  The script runs without clicking on the button.  I have tried several things such as Mouseclick (MouseClickType.LeftClick). I have also tried using MouseClick (MouseClickType.LeftClick, X, Y).  have also tried to use Manager.Current.ActiveBrowser.Actions.Click (Element).   The click is not taking place.
It only clicks when using the click () method, however, the browser hangs.
After the click is performed an IEdialog suppose to display.

Here is some code snippet:
public HtmlButton AddButton { get {return Get<HtmlButton>("name=addreport");}}

Script contains:
Page.AddButton.MouseClick();   // where page is the current active browser.

Thanks in advance.
Mario
Telerik team
 answered on 15 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?