Telerik Forums
Test Studio Forum
3 answers
86 views
Hi,
    i have tested my site using Test studio, recorded Filtering and Grouping functions in Grid. i checked the recorded steps and executed the steps. but executions fails at some time even though the steps are correct.
please provide me good solution for testing Filtering and Grouping in Grid using Test Studio.
Cody
Telerik team
 answered on 02 Jan 2014
7 answers
131 views

Telerik is not working as expected.

We first had issues while scheduling the testlist. We followed up on several ticket. After reinstalling scheduling did worked, but we had a performance issues. Now we upgraded RAM, again telerik started bheaving sporadically.

We resinstalled after RAM upgradation with no missing steps, as suggested in telerik videos.

While running list remotely, the remote machine status is shown as busy but the machine which has scheduling server and test studio do not communicate with the execution servers.

Please find the attached logs and let us know the solution.

Also we really regret not having a timely support having contacted you many times through support tickets even with all the logs and and screenshots http traffic provided.

Please provide us the solution for the same. Also kindly let us know if we can have a phone assistance or remote web assistance.

Ivaylo
Telerik team
 answered on 02 Jan 2014
1 answer
69 views
Good day,,
I was using the TestStudio_2013_1_911,, and today I installed the new version TestStudio_Ultimate_2013_2_1210.

In the old version the spaces of the cell name was replaced with "Nbsp",, and when I run the upgraded testcases Unable to locate element error appear. And it seems that the new version don't replace the space with "Nbsp".
And in my testcases there is alot of verifecations depends on the TableCell name.
Please any advice...??


Thanks in advance.
Cody
Telerik team
 answered on 31 Dec 2013
6 answers
129 views
Hi,

Our application team recently updated one of the screens in our application to replace RadTreeView with RadTreeListView to display a hierarchical set of data.  While updating our automated tests to react to this change, I ran into several issues in the translator for the TreeListView control:

a) Attached error message showed up when I tried to record a step to verify root node count on the TreeListView control.  Step was recorded using the Build Validation dialog - error occurred when I clicked OK after changing expected value (originally "value?") to the expected value.

b) When I ran the test, that same step failed with the following exception (note:  same exception also occurs if the type of comparison is anything other than Equals such as GreaterThan):
'12/16/2013 5:47:43 PM' - 'Fail' : 41. radtreelistview(EncounterDiagProcNaviagationTreeRadtreelistview): root item count 'Equal' '0'.
------------------------------------------------------------
Failure Information:
~~~~~~~~~~~~~~~
Element Not found!
FindExpression used:
[name 'Exact' ColumnViewElement]

InnerException:
ArtOfTest.Common.Exceptions.FindElementException: Element Not found!
FindExpression used:
[name 'Exact' ColumnViewElement]

   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.WebAii.Silverlight.VisualWait.ForExistsInternal(Int32 timeout, Boolean invertCondition)
   at ArtOfTest.WebAii.Silverlight.VisualWait.ForVisible(Int32 timeout)
   at ArtOfTest.WebAii.Silverlight.VisualFind.ReturnOrThrow(FrameworkElement e, String throwMessage)
   at ArtOfTest.WebAii.Silverlight.VisualFind.ByName(String name)
   at Telerik.WebAii.Controls.Xaml.RadTreeListView.get_ColumnView()
   at Telerik.WebAii.Controls.Xaml.RadTreeListView.get_TreeViewPanel()
   at Telerik.WebAii.Controls.Xaml.RadTreeListView.get_TreeListItems()
   at Telerik.WebAii.Design.Translators.Xaml.TreeListView.TreeListViewIntegerPropertyVerification.GetValueByProperty(String name)
   at Telerik.WebAii.Design.Translators.Xaml.Common.RadControlPropertyVerificationDescriptor.ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Extensibility.XamlVerificationDescriptor.ExtractData(IAutomationHost targetHost, DescriptorValueStore dataStore)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)


c) Same exception occurred when I attempted to get the root node count in a coded step (using the API RadTreeListView.TreeListItems.Count)
d) Same exception occurred when I attempted to get all the root nodes in the tree (using RadTreeListView.TreeListItems).

Upon reviewing past posts in the forum, I came across the following threads that (I believe) are reporting the same or similar issues:
http://www.telerik.com/automated-testing-tools/community/forums/test-studio-express/automation-framework/bug-with-radtreelistview.aspx
http://www.telerik.com/automated-testing-tools/community/forums/test-studio-express/automation-framework/time-outs-when-evaluating-properties-in-radtreelistview.aspx
http://www.telerik.com/automated-testing-tools/community/forums/test-studio-express/automation-framework/treelistviewtests-bugs.aspx

The bug referenced in the above threads (PITS 10006) remains unscheduled - and there is no corresponding issue (that I could find) in the new Issues and Feature Requests site.

Telerik:  Could you update the status of the above issue?   If it is fixed, which version of Test Studio has the fix? (Note, we are on 2012.2.1420 - upgrade is currently not an option for us).  If it is not fixed, could you raise priority on it (there are already 5 votes on the PITS issue - I will add my vote as well).

I have worked around the above issues using the workarounds suggested in the above threads as well as some I developed on my own - but I do have a couple of questions/unresolved issues:

a) What is the real object type of the FrameworkElement objects in the list returned by the following code?  it would be nice if I could get a list of higher-order objects (such as RadTreeListItem).
IList<FrameworkElement> TreeListItems = tree.Find.AllByType("TreeListViewRow");

b)  Due to the issues with TreeListItems API, I am unable to perform tree traversal and validation functions (for example, verify row B is a child of row A, or get all child rows of a given root node row).  I believe that the TreeListView is still a tree view.  I welcome any ideas/code for doing that in my version of Test Studio (in my signature block below).

Thanks for any help you can provide.

Shashi
Telerik Test Studio 2012.2.1420.0 (VS plugin).

Cody
Telerik team
 answered on 31 Dec 2013
5 answers
121 views
Hi!

I'm testing a Silverlight application.
I have a step on my test that's to type something in a textbox.
The recording works fine, but in the execution that step fails, there is no text typed into the textbox.

I've found that if I set "SimulateRealUser" to False, in the execution the text is typed in the textboxes, and no errors occurs.

Could you explain me what's the difference between having "SimulateRealUser" to True or False, and why when it's set to True my step fails?

Thanks,
Paulo
Rodney
Telerik team
 answered on 27 Dec 2013
5 answers
165 views

When I made execute for a simple test case the result was "Fail - 0 passed of 0 executed"
and on viewing the text view there was an error

--------------------------------------------------
'4/30/2010 2:22:23 AM' - Error encountered during execution.
--------------------------------------------------
'4/30/2010 2:22:23 AM' - Error attempting to ping runner. Error: System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   at System.IO.Pipes.PipeStream.WriteCore(Byte[] buffer, Int32 offset, Int32 count)
   at System.IO.Pipes.PipeStream.Write(Byte[] buffer, Int32 offset, Int32 count)
   at ArtOfTest.WebAii.Messaging.Process.PipeCommunication.WriteCommandToPipe(PipeCommand command, PipeStream pipe, Boolean waitForDrain)
   at ArtOfTest.WebAii.Design.Execution.RunnerController.Ping()
--------------------------------------------------
'4/30/2010 2:22:23 AM' - Aborting....
Anand
Top achievements
Rank 1
 answered on 27 Dec 2013
3 answers
82 views
We just bought Test Studio, it seems great! I am currently going through our Silverlight application and adding automation ID's to all of our Telerik UI controls, since the full Xaml path seems volatile.

I noticed something I hope I don't have to manually edit every time-

I click on a textbox in our application, and type text into it.  2 elements are added to the repository, not 1.
Example:

  • LeftClick on Item4Textboxview
  • radwatermarktextbox: Type 'name' into rwtbLastNameRadwatermarkertextbox

I've attached two screenshots of the find logic for both elements.  Why does it want to also use the full Xaml path for the click? I'm happy I can remove that, and the extra element is removed from the element repository, but we have hundreds of UI controls.  I hope I don't have to edit every click element since the Xaml path changes sometimes. Is there a shortcut?

Thanks!
-Dan
Dan
Top achievements
Rank 1
 answered on 27 Dec 2013
1 answer
122 views
Hi,

I jsut upgrade from old version(2012_2_1420) in which there is 1 result file for the list.

But in the latest version, all cases reulsts are separate within the list. And when I exported to Word/Excel/VS, I can not get the steps details.

Can I export all cases and their steps into one .aiiresult file? That's really helpful as the final report.

Thanks a lot.
Boyan Boev
Telerik team
 answered on 26 Dec 2013
2 answers
62 views
Hi,

I just upgrade from "2012_2_1420" to latest "2013.2.1210".

Before my upgrade, all cases can passed both Standalone running and List running.

But after upgrade, cases were failed in list running. I checked the log that some exception as

'12/25/2013 5:27:43 PM' - LOG: Unexpected dialog encountered. Closing the dialog, and halting execution.
'12/25/2013 5:27:45 PM' - 'Pass' : 10. Wait for Exists 'MoveToNextPageButtonRadbutton'
'12/25/2013 5:27:45 PM' - 'Fail' : 11. Execute test 'Public_Waiting_PleaseWait.tstest'

and log details

ArtOfTest.Common.Design.Exceptions.ExecutionException: Unexpected dialog:

But some cases passed with this same step in this list.

And for this faild case, I also can pass it in standalone running

So could you help me?

My IE version 9.0.8112, OS Win7

Attached is the result file and my list settings screen shot
Ivaylo
Telerik team
 answered on 26 Dec 2013
1 answer
81 views
Hi,

I just upgrated my version to latest 2013.2.1210

But the debug mode is not work when Run - From Here or Run - Selected Steps. Seems all cases can not use these function.

Run - To Here is fine.

Attached is the error log. Please have a check. Thanks in advance.

Failure Information:
~~~~~~~~~~~~~~~
Unable to determine the type of 'radcombobox' element. Check the log for details.
InnerException:
System.ArgumentException: Unable to determine the type of 'radcombobox' element. Check the log for
 
details.
Konstantin Petkov
Telerik team
 answered on 26 Dec 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?