Telerik Forums
Test Studio Forum
2 answers
145 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
105 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
201 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
61 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
151 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
133 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
77 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
76 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
13 answers
407 views
I am looking for a good resource on how to take my data driven UI test and run it as a load test from visual studio.

anyone have some good easy to follow tutorials.


Cody
Telerik team
 answered on 30 Oct 2013
3 answers
176 views
Hello,

I have created a new WebTest using VS 2010. The file Page.g.cs is not displaying on the Solution Explorer and I can execute the Test without error, but the problem is that VS cannot resolve the 'Pages' object and the Intellisense is not working, please find attached screenshot 'pages_error.png'.
I tried to include the file Pages.g.cs manually(see pages_included.png), the 'Pages' problem is solved but I' ve got an another error
The item "Pages.g.cs" was specified more than once in the "Sources" parameter.  Duplicate items are not supported by the "Sources" parameter.


Could you please help in this matter?

I'm working with Version 2012.2.1527.0 and ie9

Regards,
Eliada Gierschner
Rodney
Telerik team
 answered on 29 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?