Telerik Forums
Test Studio Forum
3 answers
45 views
Originally it was set for May...Now its June? Does anyone have an estimated date?
I started reworking all my tests to try to use the newer Test Runner hoping it will work better than the current state.
Cody
Telerik team
 answered on 10 Jun 2013
1 answer
76 views
Hell Telerik,
i am still facing problems with the select-Control. 
I recorded on a Select-Control the following Select: .SelectByValue("30", true) .
When running the test the first time (in Telerik Test Studio), the select is executed correctly. When rerunning the test, very often it fails here with this error log:
(It fails on the recorded step and in a coded step.)

Do you have any suggestions how i can solve it?
--------------------------------------------------------------------------------------------------------------------------
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.DoSelectDropDown(Element targetElement, String data)
   at ArtOfTest.WebAii.Core.Actions.SelectDropDown(Element targetElement, String text, Boolean useValue)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.SelectDropDownActionDescriptor.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 10 Jun 2013
5 answers
146 views
Hi,

I've noticed that when I select an element in the Elements pane, right-click and choose "Used By", the dialog that comes up sometimes shows me that the chosen element is "# Independent #" in some script files.  Can someone tell me what this means?

When i change the Elements pane to show only the elements used in this script, the independent ones appear, along with the ones actually referenced by the script steps, for certain files.  Is the any way to remove them from these script files?

Thanks,

-Mark
Boyan Boev
Telerik team
 answered on 07 Jun 2013
1 answer
69 views
I have a data driven test. The second step is a login. The handle login is successful on the first iteration, however, subsequent iterations it fails since we are re-using the browser instance. I set the "continue on failure" option, but the subsequent iterations are marked as failed just because of the login step is not needed. How do I get around this?
Cody
Telerik team
 answered on 06 Jun 2013
1 answer
101 views

Our current test solution is built on this architecture where in we have a Main test which is binded to an xml file. The xml file has all the information for logging and also the test data that the tests need. The Main test can call a number of Shared tests. These shared tests are again binded to the same xml file. The reason being, for the shared test to run stand alone (for debugging) it needs the same input values from the xml file.

Our question is when we have such binding across the tests for the same file, does this create multiple DOM trees in-memory ? The xml file that we are using is growing as we are adding more and more tests. We have 80 tests in our suite and we are now constantly running into OutOfMemory exceptions when running the whole suite. I see in the test run log that it is creating data iterations for xml files. Does this mean it is creating an in-memory tree and we also want to know how does telerik processes handle the release of this memory in between the test runs?

Exception details:

<<< Test-as-Step 'VerifyVitalsGridFirstRowData.tstest' log ends.

InnerException:
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
   at System.Text.RegularExpressions.Match..ctor(Regex regex, Int32 capcount, String text, Int32 begpos, Int32 len, Int32 startpos)
   at System.Text.RegularExpressions.RegexRunner.InitMatch()
   at System.Text.RegularExpressions.RegexRunner.Scan(Regex regex, String text, Int32 textbeg, Int32 textend, Int32 textstart, Int32 prevlen, Boolean quick)
   at System.Text.RegularExpressions.Regex.Run(Boolean quick, Int32 prevlen, String input, Int32 beginning, Int32 length, Int32 startat)
   at System.Text.RegularExpressions.Regex.Match(String input, Int32 startat)
   at ArtOfTest.Common.Parser.GetNextTag(Int32 startPosition, Int32& tagLength, String& tagContent, String& tagName, String& tagRemainder)
   at ArtOfTest.Common.Parser.Parse()
   at ArtOfTest.Common.Parser.Parse(String text)
   at ArtOfTest.Common.BaseTreeBuilder`1.BuildDomTree(String text, Boolean trimWhiteSpace)
   at ArtOfTest.WebAii.Silverlight.VisualTree.Refresh(String xamlTree)
   at ArtOfTest.WebAii.Silverlight.SilverlightApp.RefreshVisualTrees()
   at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect(Int32 timeout)
   at ArtOfTest.WebAii.Silverlight.SilverlightApp.Connect()
   at ArtOfTest.WebAii.Silverlight.SilverlightAppsList.get_Item(Int32 index)
   at FusionUITestsPOC.Pages.QAAUTOSYNC1228183918Page.get_SilverlightApp() in c:\Builds\120\Fusion_2010\PCDEV02_FusionUITestBuild\Sources\PCDEV02\Tests\WeUiPoc\FusionUITestsPOC\FusionUITestsPOC\Pages.g.cs:line 135

Any help appreciated...
Thanks

Cody
Telerik team
 answered on 06 Jun 2013
1 answer
84 views
Hi All,

I did load test for 1 hour in HP Loadrunner. I had a issue one transaction(Click PDF and download PDF) is getting failed after 55 minutes of test. I went through scripts and scripts are working fine. Transactions are passed till 55 minutes, after 55 minutes one transaction is getting failed in final iterations.

Any suggestions to find the root cause of these issue.

Thanks,
Priya
Cody
Telerik team
 answered on 06 Jun 2013
1 answer
117 views
Hi,

I have a WPF application page where there are checkboxes which when are checked, the corresponding Radtileitems are displayed. When I add Quicktasks on visibility(element visible and collapsed) , the name of the RadTileItem get's changed to some other tile item.

I have added few example scenarios for your reference. please find the attachment for the same.

Steps 48-51 : Done for Output Alarm checkbox and tile item
Steps 52-55 : Done for Output REB checkbox and tile item (which comes right)
Steps 56-59 : Done for Input CEB checkbox and tile item

Please see the test step description to understand more about what the issue is about.
I want to check that when the checkbox is checked, the tile item is visible, maximise and check, minimise and check, uncheck and verify that the corresponding tile item visibility is collapsed.I have added snap shots of the issue. Please have a look on the same and help me in resolving this confusion.

Thanks & Regards,
Anju 
Plamen
Telerik team
 answered on 06 Jun 2013
3 answers
80 views
Hi,
    I work with Telerik from Visual Studio 2012. I created a sub-folder under the Data folder and then added a csv file. When I try to bind data, the csv file does not show up in the list. If I try to "Add New", the same data file is being copied onto the Data folder and then it is bound to the test case. But, we want the csv file to be present in a sub-folder. Can anyone throw some light on this? Thanks in advance!

Thanks,
Krishna
Boyan Boev
Telerik team
 answered on 05 Jun 2013
3 answers
146 views
I have a list of tests which were created in a particular environment and going forward we will want to run in many different environments (Different URLs). It isn't that big of a deal when I run them on my local machine; the URLs are driven from a csv file, and I manually update the base URL in the settings of the test lists. 

However, we are putting these tests in BAMBOO (the release management tool), and are looking to allow the testers the ability to enter in the URL in a centralized location and run the tests on a remote machine. Is this possible to update the base url and data-driven url in a single step? 

Is there also a way to use local data source to drive the navigate steps? It appears the only option is for an external binding file (csv, xml, etc.)

Thanks - Jim

Jim
Top achievements
Rank 1
 answered on 04 Jun 2013
3 answers
85 views
I have a menu that if a mouse hover it, the menu will reveal a sub menu. What I want to do is checking the sub menu href link. 

My problem is: 

when i record it, I can reveal the sub menu, but the sub menu disappeared when i clicking the big blue button( the button that appeared when you hover something long enough).

What should i do to check the sub menu href?
Plamen
Telerik team
 answered on 03 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?