Telerik Forums
Testing Framework Forum
2 answers
89 views
Hi!

I have a Silverlight application. While using ScrollToVisible I faced with the scroll issue. The vertical scroll bar did not reach the bottom of the container. Please, see the screen shot for details.

The example how I use ScrollToVisible method:

FrameworkElement parent = _app.Find.ByName("ParentName");

FrameworkElement element = parent.Find.ByTextContent("12052011_152435_");  

 
element.ScrollToVisible();
element.User.Click();

Also I used the ScrolltoVisible method with both ScrolltoVisibleType parameters but without any success.

Could you please advise how I can avoid such situation?

Thanks.

WebAii 2011.1.712.0
Windows XP Prof SP 3
IE 8
Plamen
Telerik team
 answered on 08 Dec 2011
2 answers
138 views
Hi,
Working to test a silverlight application I am getting a error wich says:"SystemTimeOutException:Timeout trying to connect to Silverlight App"
I would like to know if is possible to fix the timeout of the app in order to make work the test
see the image.
http://tinypic.com/r/2450z2w/5
Anthony
Telerik team
 answered on 07 Dec 2011
2 answers
123 views
Hi there,
Reading the post located in http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/write-tests-in-code/silverlight-test-automation/introduction.aspx
I can see some limitations for the framework; for example "The automation only supports the XAP deployment method.". What does mean?

Br,
Rolando

Cody
Telerik team
 answered on 06 Dec 2011
3 answers
100 views
Hi,
After to get working the a basic example from http://www.telerik.com/automated-testing-tools/community/forums/test-studio-express/automation-framework/webaii-ui-testingfreamework--silverlight-example.aspx.

After that I wanted to create the example using Nunit using the pattern [SetUp] -  [Test] -  [TearDown]. but I got exactly the same error message (see the image)
http://tinypic.com/r/t5m9hg/5

Best Regards,
Rolando.
Rolando
Top achievements
Rank 1
 answered on 06 Dec 2011
1 answer
137 views
Hello,

I am trying to automate tests to my WPF App.

I have one comboBox. I record the test without a problem but when I played back it, it gave this error:

ArtOfTest.Common.Design.Exceptions.ElementFindException: Unable to locate element. Details: Attempting to find [Wpf] element using 
Find logic 
 (Wpf): [name 'Exact' Shdw] AND [XamlTag 'Exact' systemdropshadowchrome][XamlPath 'Exact' /border[0]/contentpresenter[0]/textblock[0]]


Unable to locate element. Search failed!


   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.WaitForAllElements(IAutomationHost host, AutomationDescriptor descriptor, Int32 timeout)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)


Can you help me?

Thank you.

Best regards,
Maria
Stoich
Telerik team
 answered on 06 Dec 2011
5 answers
259 views
Hi there,
looking inside of the site, I couldn't find a good example to create tests to a silverlight  app  by code (without use testStudio).
Any good resource?
thank you for your help!
Anthony
Telerik team
 answered on 01 Dec 2011
4 answers
113 views
Hi
I'm using webaii 2010.3.1421.0 and trying to handle a javascript Confirmdialog. 
First I used a button element as button and everything worked OK, but I had replace the button with an anchor and the the dialog handling stopped working.

The result after the change to an anchor is that the dialog popsup but after that nothing happends, the execution stop after the Find and Click statement.
Tested using Chrome, and it works with this, but when I'm using Firefox or Internet Explorer. When I'm using Chrome my FindByContent stops to work. :(


The code for handling the ConfirmDialog
public void ClickAcceptButton(DialogButton clickButton)
{
    var confirmDialog = new ConfirmDialog(TestContext.ActiveBrowser, clickButton);
    TestContext.Manager.DialogMonitor.AddDialog(confirmDialog);
    TestContext.Manager.DialogMonitor.Start();
             
    Find.ById<HtmlAnchor>("accept").Click(false); //this was Find.ById<HtmlInputButton>("accept").Click(false);
    confirmDialog.WaitUntilHandled(5000);
                        
    TestContext.Manager.DialogMonitor.Stop();
}

HTML
<a href='#' id='accept'>
    <span class='button-green'>Accept</span>
</a>



Thanks in advance!

Anthony
Telerik team
 answered on 01 Dec 2011
2 answers
78 views
Hi,

This might be an obvious answer to long term users of your forums, but:

We are in the process of comparing different programming frameworks for Web Automation (Selenium, Watin, WebAii) and cannot find an explicit statement on your site with regards to HTML5 and Silverlight5 support in the programming framework (only Test Studio).

Does the free WebAii programming framework support HTML5 or Silverlight5? 

Thanks for your help!

G.

Grim
Top achievements
Rank 1
 answered on 29 Nov 2011
5 answers
215 views
Using: ArtOfTest.WebAii.dll 2011.2.1108.0.
Windows 7 x64 / VS2010 / Mstest / Silverlight 4.

Calls to ComboBox.SelectItemByText(...) fail on a databound combobox.  In fact, app.Find.ByTextContent(...) also fails.  I have attached a minimal test project that has two MsTest tests that demonstrate the issue. 

This seems like very basic functionality, so I'm hoping I'm missing something here, otherwise can someone confirm if this is a bug?

Thanks.
Plamen
Telerik team
 answered on 22 Nov 2011
5 answers
319 views
I am trying to run Coded UI tests using Visual Studio 2010, Team Foundation Server 2010, and Test Case Manager 2010. For the most part, I really like this solution, except that it doesn't seem to work when trying to access Telerik controls. For example, every time Action Recorder is used to record steps taken during a test, or when MS TestRunner tries to play a recording on a page with Telerik ASP.NET AJAX Menu controls, the menus get mess up, pushed around, etc. This effectively breaks my ability to use Visual Studio (EVERYONE's base IDE) to create recorded UI tests. This, in turn, seems to break my ability to take advantage of Test Case Management Studio's integration with Team Foundation Server 2010 (TFS), such as the creation of TFS Work Items of the Test Case type. That, in turn, removes my ability to run reports against these tests, in order to track test run success over time, quality of my builds over time, etc. Overall, this is a LOT to lose simply because Telerik causes Action Recording to break.

So, my question is, what options do I have in this situation? I am not excited about the possibility of having to use Telerik testing solutions simply because Telerik breaks Microsoft's base solution. But, if that is the only option I have, I'll explore it out of necessity. Does Telerik's Test Suite support Coded UI tests? Does it support Action Recording, as Visual Studio 2010 does? And, does it support integration with Team Foundation Server 2010 as does Test Case Manager 2010?
lora
Top achievements
Rank 1
 answered on 21 Nov 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?