Telerik Forums
Test Studio Forum
1 answer
75 views
Hi,

With Telerik Testing Framework (ArtOfTest.WebAii) and Telerik Test Studio, is there support to allow for the automation of a common operation for selection of Context Menu to View Item or Edit Item in a SharePoint List

Cody
Telerik team
 answered on 17 Oct 2014
1 answer
81 views
Please look into this issue.
Maria Ilieva
Telerik team
 answered on 15 Oct 2014
1 answer
50 views
Is there a way to control how IE gets called in test studio, so that I can try to have it launch with something like "iexplore –extoff" ?

Trying to figure out why I get the DEP error only when running Test Studio on playback.
Boyan Boev
Telerik team
 answered on 14 Oct 2014
5 answers
89 views
Hi,

I'm currently trying to validate the contents of a drop down list but I'm unsure on how to go about doing this (This is in Silverlight).  Any suggestions?

Cheers

Boyan Boev
Telerik team
 answered on 14 Oct 2014
1 answer
87 views
If I run a particular test, it keeps failing at the same spot.  I've rebooted several times and that has not solved anything.  I did do a shutdown and restart and it did work once, however, since then, keeps failing on the same step.

Product Version 2012.2.1420.0
Windows 8.1, IE 11

ArtOfTest.Common.Design.Exceptions.ExecutionException: ExecuteCommand failed!
BrowserCommand (Type:'Information',Info:'IsReady',Action:'NotSet',Target:'null',Data:'',ClientId:'Client_9c800a5e-cc40-4968-8121-cece25ed6f8f',HasFrames:'False',FramesInfo:'',TargetFrameIndex:'-1',InError:'False',Response:'')
InnerException: System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   at System.IO.Pipes.PipeStream.WaitForPipeDrain()
   at ArtOfTest.WebAii.Messaging.Process.BrowserRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
 ---> ArtOfTest.WebAii.Exceptions.ExecuteCommandException ---> System.IO.IOException: Pipe is broken.
   at System.IO.Pipes.PipeStream.WinIOError(Int32 errorCode)
   at System.IO.Pipes.PipeStream.WaitForPipeDrain()
   at ArtOfTest.WebAii.Messaging.Process.BrowserRemoted.ProcessBrowserRequest(BrowserCommand command, String requestId)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   --- End of inner exception stack trace ---
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommandInternal(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.IsReady()
   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)
   --- End of inner exception stack trace ---

Ivaylo
Telerik team
 answered on 14 Oct 2014
5 answers
90 views
hi im just trying to figure out the results from the load test that i have conducted.

can anyone please help me understand the rationale behind this:

one of the goals of the load test i have made is to get the average response time for the overall test. i have set the parameter to fail this goal if the value is greater than 2000ms. to which the goal failed because the max value reached is 11249ms

but on the table produced after the test, the average time is at 222ms only. the max is at 11249. so if the average response time is only at 222ms, and at one point there was a page that took 11249ms to load how does the application fair overall during the load testing. its quite confusing since the term "average response time (ms) for overall test" is used.
Ivaylo
Telerik team
 answered on 10 Oct 2014
11 answers
191 views
Hi,

We're having issues with running tests for WPF application. Tests created on one computer don't run on another computer with error "Unable to locate element. Search failed!".

When updating failing test on another computer I even get different XamlPath for the same element. Original path on first computer was:
[name 'Exact' PART_ItemsHolder] AND [XamlTag 'Exact' grid][XamlPath 'Exact' /contentpresenter[1]/grid[0]/grid[0]/textbox[1]/border[name=border]/scrollviewer[name=PART_ContentHost]/grid[0]/scrollcontentpresenter[0]/textboxview[0]]

Updated path on another computer:
[name 'Exact' PART_ItemsHolder] AND [XamlTag 'Exact' grid][XamlPath 'Exact' /contentpresenter[1]/grid[0]/grid[0]/textbox[1]/listboxchrome[name=Bd]/scrollviewer[name=PART_ContentHost]/grid[0]/scrollcontentpresenter[0]/textboxview[0]]

I marked different paths with bold. Path until bold is OK and TestStudio was able to find target element when resolving failure. However, after resolving and saving the test it fails on first computer.

What are we doing wrong?
Boyan Boev
Telerik team
 answered on 09 Oct 2014
1 answer
68 views
How to Set values for Combo box,Date time controls,Number Controls.

Scenario is:
                 Assume in my web page there are combo boxes,date/time pickers,number controls.Here,I have to set the values into combo boxes,date/time pickers,number controls. I am using Test Studio Project and hope to implement code in the ''New Coded Step'' area. Please guide through code, how to SET values to following fields. I do not need a Enumeration examples.
               I have done for Text-boxes,check-boxes like :

               //Set text from the excel to text box.
              HtmlInputText firstname= Manager.ActiveBrowser.Find.ById<HtmlInputText>("txtfirstname");
              firstname.Text = "telerik";

Here,I want to do like this for combo box,date/time pickers,number control. ,So,Please,Help me out :

With this,I have attached a snapshot of combo  box , date/time pickers,number control.I hope,i will get a positive reply soon from you guys.




Ivaylo
Telerik team
 answered on 08 Oct 2014
1 answer
48 views
I was wondering if you could clarify Test Studio if it support integrating with Karma. I've checked the Telerik Forum and notice it mentioned supporting Protractor and Jasmine for JUnit testing. But did not mention anything about Karma.

Thank you,

James Nguyen
Cody
Telerik team
 answered on 07 Oct 2014
1 answer
46 views
We are currently using Telerik for a web based application that contains a grid with no identification in code and Telerik is not able to identify the row or cells due to its dynamic nature. We decided assign friendly names (element names) to each grid element.

I'm curious to know what naming conventions is used by the Telerik users / experts in this forum, to name elements. Should names match what the fields are named in code, tables or .....? Any suggestion, ideas, experience sharing would help in my decision. Thanks for your shared insight.
Cody
Telerik team
 answered on 07 Oct 2014
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?