Telerik Forums
Test Studio Forum
3 answers
88 views
Does anyone know a way of exporting a test or a number of tests in order to create Test documentation.
I'm preferably looking for a way to create Test plans from an existing test in Microsoft Word format. I know rival products have this functionality.
Thanks.
Cody
Telerik team
 answered on 26 Apr 2013
4 answers
75 views
Exception thrown executing coded step: '[Test_Product_Overwiew_Complete_Check_Paging_Buttons_Enabled] : Check Paging Buttons disabled or enabled'.
InnerException:
When trying to get the selected value, i often (not always) get this error.
i used the selectedoption value and i run the the options collection. in both cases i often get this error

We are geting more and more frustrated!!

System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.InvokeScript(String script)
   at ArtOfTest.WebAii.BrowserSpecialized.InternetExplorer.InternetExplorerActions.InvokeScript(String script)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName, T defaultValue)
   at ArtOfTest.WebAii.ObjectModel.Element.GetValue[T](String propertyName)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlOption.get_Selected()
   at _
Plamen
Telerik team
 answered on 26 Apr 2013
1 answer
87 views
Hi Telerik Team,

we have the following error in a Silverlight web application:

There was an error deserializing the object of type ArtOfTest.WebAii.Silverlight.SilverlightResponse. The token '"' was expected but found 'Ã'.

We need a hint, where we should look for to find the error.
I tested the Testxml like the hint in :http://www.telerik.com/automated-testing-tools/community/forums/test-studio/general-discussions/runtime---name-cannot-begin-with.aspx#2429462

But did not find an answer for my case, it seems everything is fine.
Do you have something information for me?

Best regards
Adriane
Plamen
Telerik team
 answered on 26 Apr 2013
1 answer
83 views
please provide code sample to access radmultipage and radpageview using test framework.
Mario
Telerik team
 answered on 25 Apr 2013
1 answer
72 views
Hi, I have a number of type-ahead fields within the application I am testing and test studio struggles with these. I am entering a value and using keypress "Tab" which should poulate a grid below. When doing this maually it works, however, the tab keypress step doesnt operate as it should if pressed manually.
Any advice?
Plamen
Telerik team
 answered on 25 Apr 2013
1 answer
91 views
I have a table in an update panel and i each column can be sorted by clicking on an href in the column header (asc and desc)

I use recorded clicks on the header of 7 columns and then check by code the  right order of the content

very often, but not always, the click event hangs (also ajaxtimeout is set to 1500 or higher

the logged error is 

'25.04.2013 11:21:24' - 'Fail' : 13. 2_23_Click 'ProductOverviewProductGridDerivativeWKNToggleLink_DESC'
------------------------------------------------------------
Failure Information: 
~~~~~~~~~~~~~~~
Wait for condition has timed out
InnerException:
System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Actions.Click(Element targetElement)
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
   at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)


Plamen
Telerik team
 answered on 25 Apr 2013
3 answers
115 views
this doesnt work:

table.AssertTable().RowRange(ArtOfTest.WebAii.Controls.HtmlControls.HtmlAsserts.NumberRangeCompareType.OutsideRange, 1, 2);

I do not find the Enum NumberRangeCompareType, because it is  in the Workspace

ArtOfTest.Common.NumberRangeCompareType.InRange 

That is not very helpful.

A very frustrated Michael
Plamen
Telerik team
 answered on 25 Apr 2013
5 answers
244 views
Hi there,

I am checking for element in the screen not exist, I used "Wait element not exist", the element in the screen was exist, I expect this test should fail, but the check is pass, but when I add Execution Delay "Wait for '500' " before the checking, the test for element not exist is fail as expected. My questions are, how I know I need to add exection delay? and do I used the wright command for checking on element does not exist?   

Your help and support is much appreciated

Talal
Cody
Telerik team
 answered on 24 Apr 2013
1 answer
293 views
I am using Telerik.Testing.Framework.2012.2.1527
I am using the below code. I am getting null for "findElem" all the time. but when I am in debug mode it is fine. WaitUntilReady(); is not working as expected for me. In my scenario I should not be using waitforelement and specify timeout.

public bool IsPresentbyInputId(string findCondition)
{
    Manager.ActiveBrowser.WaitUntilReady();
    Element findElem = Manager.ActiveBrowser.Find.ByExpression(new HtmlFindExpression("tagname=input", "id=" + findCondition));
    Manager.ActiveBrowser.WaitUntilReady();
    return findElem != null && !findElem.Attributes.Any(s => s.Value.Contains("display:none"));
}

If I set the Execution Delay to >500, my tests are running fine. But if I give it 0 they fail to find elements.
Manager.Settings.ExecutionDelay = 500;
Can you let m know what I am missing here?
Cody
Telerik team
 answered on 24 Apr 2013
1 answer
68 views
I Have in C# Script:

            try
            {
                ActiveBrowser.WaitForElement(Pages.Deuba_Relaunch_FR_Navigation.Expressions.Productoverview_Article, 3000, false);        
            }
            catch
            {
                Log.WriteLine( "Productoverview Div Article not found");
                return false;
            }


That works, but here i dont want the Failure Information because I have the Log-Information
Thanks for Help
Plamen
Telerik team
 answered on 24 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?