Telerik Forums
Test Studio Forum
3 answers
69 views
New to the load testing functionality of Test Studio...I will be creating load tests from existing web tests.  If I need to make an update to the web test script, will the load test profile automatically update or do I need to re-record the load test profile?

Thanks!
Cody
Telerik team
 answered on 12 Nov 2013
3 answers
121 views
Hi all,

Here is the issue need your support:

I Added a new class, the method in the class will invoke "log", "find", i instance the class and use it in other class, it comes an error that "InnerException:
System.NullReferenceException: Object reference not set to an instance of an object.
 at ArtOfTest.WebAii.Design.BaseWebAiiTest.get_Log()"

So i want to confirm whether it is possible that we can call the log and find method in this way? attached the example code

Public Class A Inherits BaseWebAiiTest  
#Region "[ Dynamic Pages Reference ]"
.....
#End Region
Public function testA()
Dim bClass as B
bClass = NEW B
bClass.testB(par1)
End Function
End Class

Public Class B Inherits BaseWebAiiTest  
#Region "[ Dynamic Pages Reference ]"
.....
#End Region
Public function testB(par1 as String)
log.WriteLine(par1)
find.By.....
End Function
End Class
Velin Koychev
Telerik team
 answered on 12 Nov 2013
6 answers
144 views
Hi,

I want to add some existing Tests to Telerik Studio Projekt.
There are around 20 Tests to add. When I click on AddExistingTest, I can only choose one test.
Is there a possibility to add more than one?

To get this done, I tried also the following:
I added the tests in Visual Studio Projekt, but I don't get them in the Telerik Projekt.
Is there a posiibility, to sync into that direction?

Best regards,
Adriane
Boyan Boev
Telerik team
 answered on 12 Nov 2013
5 answers
178 views
Hi
Can anyone share the testcases for Sharepoint migration testing?
I am testing for all versions of sharepoint(2003,2007,2010,2013 & Office 365)

Thanks in advance
Boyan Boev
Telerik team
 answered on 12 Nov 2013
1 answer
149 views
Hello,

I'm new to the Web UI testing and Telerik software.

I've a few questions regarding the FileUpload and HTML pop-up window.

Here is how I've been recording with Firefox.
1) I've navgiate to a page with 'https://testingthis.com
2) this page has the an attached-file button, which open the pop-up window with https://testingthis.com/upload/fileupload/12345
**this 12345 may change each time doing the test because my colleagues may be attaching files anytime" -> may be 2 min later, it could change to 12347... etc

My issues are
a) When the attached file is clicked and the popup window comes up, the recording does not work on any elements on the pop up page.
b) because the last part of pop-up URL changes, I cannot hard-code it by navigating to that page. I have done that by manually navigating the pop-up URL and tested with the file upload Dialogue and found it working INSTANTLY. since no one has used up my allocation, I find it working.

Anyway to solve this issue?

Thanks in advance for your help.

Ivaylo
Telerik team
 answered on 11 Nov 2013
8 answers
295 views
Just ran into this today and was pretty sure I had this working on another test, though it failed when I tried running said test.
Found some simple code from another support post and trimmed it down for a test case.
Telerik version is 2012.2.1527.0
The firefox http client shows up as 2012.2.1205.0

Is this something that I would have to use a coded step for to handle FF's trickery?
In IE10 the dialog is handled.

In FF20 when the dialog pops up, it sits there and times out.

Here is some example html/js that I used for a test case on the simple confirm handler.
<html>
<head>
<script type="text/javascript">
<!--
function confirmation() {
    var answer = confirm("dialog test!")
}
//-->
</script>
</head>
<body>
<form>
<input type="button" onclick="confirmation()" value="Test the button">
</form>
</body>
</html>

Ivaylo
Telerik team
 answered on 11 Nov 2013
1 answer
73 views
Hello,

What would be the best way to pass a collection of objects (both native data such as strings, ints, etc and custom objects) from one test to another?

I was considering using GetExtractedValue()/SetExtractedValue().  Since both of these take an 'object' as a parameter, I was wondering if I it would be possible to pass it a collection object (such as Array, List, etc) cast to 'object' if necessary - the called test would then 'uncast' it back to the collection object for use.  Two issues with that approach:
a) Still researching how to cast and uncast
b) It is probably not type-safe

Please let me know if there is a better way to accomplish what I need.

Please note that I am on TS 2012.2.1420.0 and developing tests in VS 2010 (C#/.NET) with the Test Studio Addin.

Thanks,
Shashi
Boyan Boev
Telerik team
 answered on 11 Nov 2013
6 answers
155 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
82 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
154 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
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?