Telerik Forums
Test Studio Forum
6 answers
162 views
Hi everyone,

I have my project under TFS source control and every time when I do a check-in inside TestStudio at the project level all the results from previous execution are marked to be checked in.

Since TestStudio documentation on Check-in guidelines states that the tests Results folder shouldn't be under source control, this folder doesn't exist in my TFS TestStudio project. 

What I would like to know is if there is a way from me to exclude the Results folder from appearing on the items list to be check-in, because every time I want to do a global check-in (project level) I must uncheck all the result file that I have for every TestList that I've ran.

Thank you,
Luis
Boyan Boev
Telerik team
 answered on 08 Nov 2013
3 answers
92 views
Hi there,

Today I met a strange thing using Telerik, here is the step:
Scenario 1:
1. Go to http://wwwqa.shoppingtools.ford.com/FindADealer
2. Input "69210" in the zip code and search, you can see 3 items in the results.
3. Then find the link "View Additional Disclosures" worked. 
4. hover on it, -----worked.(Can see the mouse hover on the element)

Scenario 2:
1. Go to http://wwwqa.shoppingtools.ford.com/FindADealer
2. Input "48152" in the zip code and search, you can see 6 items in the results.
3. Then find the link "View Additional Disclosures" -worked.
4. hover on it, -----Doesn't work
Telerik can find the element of link "View Additional Disclosures", but when hover on, observe the mouse in the middle of the results area, then I tried element.scrolltovisible before hover on, still not work

There is no difference for the page element between 3 results and 6 results,can you help have a look?
Thanks in advance,
Fion
Boyan Boev
Telerik team
 answered on 08 Nov 2013
3 answers
166 views
I want to use the test studio for automated tasks because it is great and can be used or that. With the previous version I achieved that I could manually schedule tests (without the Test Studio (!)) and run the tests on the execution server. However with the new version everything is different. That's not a big deal but these are the breaking changes:

1) Changed API from web services to REST services
2) Database has completely changed
3) No documentation for this private API

It would be really, really great if the API was actually documented and available for everyone. Now it is just too complex. I now try to automate by using the same reference assemblies that the test studio uses, but I get a lot of issues:

1) Loader does not load types automatically
2) Tests are not being scheduled (but maybe I have a few loops to jump through)

What I basically want to achieve is to create a generic test project (test list). Then when I need to run an automated task I want to create a copy of that project, put it on a shared location (network share) and customize it for the specific action. Then I want to manually schedule the test execution on the first available execution runner.

In short my question is: please provide a public API so people can schedule automated tests (for example, after every build I want to schedule a UI test (automatically)).
Boyan Boev
Telerik team
 answered on 08 Nov 2013
1 answer
117 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
102 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
165 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
124 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
233 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
74 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
166 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?