Telerik Forums
Test Studio Forum
1 answer
112 views
Does Test Studio support locating elements by xpath last() function?
For example:
I have Silverlight app with RayGrid and I want to use the last() function to select the last row index from the table.
/RayGrid/rowspanel/cellspanel[last()]

Is it possible in TS 2013 standalone version?
Velin Koychev
Telerik team
 answered on 08 Nov 2013
2 answers
94 views
I have recently moved my Test Studio application to a new laptop. For some reason Test Studio goes to "Not Responding" page grays out and does nothing. This happens simply opening the application, navigating the application, and when I try to run a test. Sometimes it will become responsive again after a few minutes and other time I have to force close. I have more than enough ram (8GB) and an equivalent processor (Intel Core i7 @ 2.2 GHz). Why is this happening?

Here is the error log when I try and run a test as well:

------------------------------------------------------------
'11/7/2013 8:42:30 AM' - Using .Net Runtime version: '4.0.30319.17929' for tests execution.
'11/7/2013 8:42:30 AM' - Starting execution....
'11/7/2013 8:42:30 AM' - Detected a Silverlight Test. Setting EnableSilverlight=True
'11/7/2013 8:42:32 AM' - Detected custom code in test. Locating test assembly: Manual Accounting Entries.dll.
'11/7/2013 8:42:32 AM' - Failure detected during execution. Details:
------------------------------------------------------------
'11/7/2013 8:42:32 AM' - System.NotSupportedException: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.
   at System.Reflection.RuntimeAssembly.nLoadFile(String path, Evidence evidence)
   at System.Reflection.Assembly.LoadFile(String path)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.EnsureAssemblyExists(String assembly, String folder)
   at ArtOfTest.WebAii.Design.Execution.ExecutionUtils.CreateCodedTestInstance(Test test, TestResult result, String binariesFolder)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.InternalExecuteTest(Test test, TestResult initializationResult)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'11/7/2013 8:42:32 AM' - Test completed!
Boyan Boev
Telerik team
 answered on 08 Nov 2013
2 answers
156 views
Good day,

While am recording a test case, one of the steps is to connect to HTML popup loads pdf file so,,
**Record for connecting to the popup will be registered.
And when close the popup, so
**Record for closing the popup will be registered.
And when run the testcase then the step connecting to the HTML dialog will fail.
Please note that am adding wait and delay until the dialog open.

System.OperationCanceledException: Exception occurred waiting for the new browser to connect. ---> 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.Manager.WaitForNewBrowserConnect(String url, Boolean isPartial, Int32 timeout) --- End of inner exception stack trace -- --


Below is the Codded step:
Manager.WaitForNewBrowserConnect(https://ev.be.rshos.net/portll/report/reportShow.do?mode=show&reportId=22&module=Licene, true, 5000);



Regards,
Romio

 

Ivaylo
Telerik team
 answered on 07 Nov 2013
1 answer
112 views
Hi

In our WPF application most of the elements for entering data have no "name" attribute (using binding). Test Studio creates names like e.g. Item1Textbox. The problem is that Test Studio doesn't detect/create the same name every time. As soon as we have some changes or use the application from the build server tests fail because of this.

In HTML we have the possibility to define the identification logic but WPF doesn't allow this customization. Having e.g. the attribute Text would be good option.

Any ideas how we can overcome this?

Thanks
Arthur
Boyan Boev
Telerik team
 answered on 07 Nov 2013
4 answers
224 views
I had several tests for stories that became 'obsolete'. I used "Exclude from Project" on those tests. Now I'd like to resurrect one or two of those tests. How does one go about un-excluding a test from the project?
Daniel
Top achievements
Rank 2
 answered on 05 Nov 2013
3 answers
64 views
Hey guys

I'm  curious if there is a way to make a post with JSON data attached to it in test studio? This would make it easy for me to departmentalize some of my testing and feature sets. 

Pretty basic:

POST: http://someUrl.com
JSON: {"objectID":123}

Thanks Jon!
Cody
Telerik team
 answered on 05 Nov 2013
7 answers
161 views
I am not sure if I report it to the right support queue. Please redirect as appropriate.

I have installed the latest Q3 release and the Telerik TestStudio 2013.1.911.0 is crashing within latest Chrome - the Chrome reports that the extension has been restarted every second or so day.

Can I send to you some logs or some further info so that you can troubleshoot?
Ivaylo
Telerik team
 answered on 05 Nov 2013
10 answers
146 views
Hi -

I have Telerik Test Studio [Version: 2012.2.1420] installed on Windows Server 2008 R2 OS. I am facing a weird issue of scheduling with the application. i have SQL Express Version [2012] installed too.

The problem -

I am trying to schedule a test on the same machine where both execution & scheduling servers are present. From the Project -> Scheduling tab, I click on 'Connect' option. here I specified the local machine's URL to connect to. The service URL is something like "http://<LOCAL HOST>:8009/TestStudio/SchedulingService.

The 'Test Connection' function is successful. The Schedule runs from the local version of one of my test. However when I try to 'REGISTER', I get an error. The error description is in the attached screenshot. Can someone please help resolve this issue?

Thanks,
-Kiran
Cody
Telerik team
 answered on 04 Nov 2013
1 answer
84 views
 

Hi Team,

I am using data binding to add notes to a form and save it. The note will have a title and a description. I am getting the title and the description from my data binding.

After adding the note I click on save and I wanted to verify whether the title and the description is correct.

So I got the same fields above to do the verifications. My test failed at the below step when attempting to verify the description.

The description is same as I call the same excel cell for input data and then to verify the saved data

Below is the failure message.

Should I be doing anything differently? In the failure information I see the expected and the actual is the same. Not sure how/why it failed.

 


Please see below.

Failure Information: ~~~~~~~~~~~~~~~Content.InnerText of 'ThisIsTheSpan0' does not match! Match Type: 'Contains' Expected Result: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard BS EN 1990:2002 A1:2005' Value at time of failure: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard  BS EN 1990:2002 A1:2005'


Expected Result: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard BS EN 1990:2002 A1:2005'

Value at time of failure: 'This is the note for the search term : PD 6687-1:2010 Background paper to the National Annexes to BS EN 1992-1 and BS EN 1992-3 of standard  BS EN 1990:2002 A1:2005'

Velin Koychev
Telerik team
 answered on 31 Oct 2013
2 answers
92 views
Hi,

Since upgrading to the latest internal build we now cannot debug any tests due to the following error:

System.InvalidCastException: Unable to cast object of type 'Microsoft.VisualStudio.TestTools.Common.Xml.UnknownTestTypeSpecificData' to type 'ArtOfTest.WebAiiVSIP.WebAiiTestRunConfig'.
   at ArtOfTest.WebAiiVSIP.WebAiiTestAdapter.Run(ITestElement testElement, ITestContext testContext)


Has anyone come across this before and know how to fix it?

Thanks
Shane

Cody
Telerik team
 answered on 30 Oct 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?