Telerik Forums
Test Studio Forum
3 answers
166 views
Hi,

I'm quite new to Test Studio but have had some moderate success early on.  I am testing an ASP.NET web application which is a Point of Sale (POS) system.  I have successfully recorded a test which logs in, adds some products to an order, fulfils part of the order, takes a payment, and closes the sale.

I can re-run that test perfectly.  The browser spins up and I see the various steps occur and then I see the new sale in the sales report.

I have now used that test as the basis for a Load Test but I am not getting what I expected, and I think perhaps what I need and what's being provided are not the same.  I need to simulate 10 concurrent users processing that sale.  I need that test run in 10 separate threads in one go.  What I get though is no browsers popping up and no new sales being created in the database.

There is no indication of failure, but nothing seems to be "happening".  If I run the single test manually and I see the browser come up, I can see the CPU sits between 40% and 50% for the duration of the test.  If I run the Load Test as a single user the CPU activity never gets this high.  Something is wrong.

So, can someone explain if what I expect of Load Test and what it does are actually not the same..?  I would have expected 10 browser windows to open up and 10 new sales to go into the database, but what I get instead is nothing.  The "steps" appear to have been reduced to a series of HTTP requests.

Anyway, some advice would be much appreciated.

Kind regards,
Jack
Cody
Telerik team
 answered on 21 Feb 2014
5 answers
141 views
Hi,

I'm using Test Studio 2013_2_1327 and when I try to add a COM reference (ieframe.dll) through Test Studio settings (Script Options\Add Reference) and save the project, the reference is not save in the Settings.aiis.

As a workaround I try to edit the Settings.aiis and add the reference manually (Interop.SHDocVw) inside the section "ProjectReferences":[..."Interop.SHDocVw"], and when I open Test Studio I can see that the reference is there.

Is not possible to add COM references? Is this a know issue?
Is my workaround safe or is there a safer way?

BR,
Luis
Cody
Telerik team
 answered on 21 Feb 2014
1 answer
34 views
I've run into this issue a few times in particular with Continue Buttons and Radio Dials that are javascript based. Recording these elements, whether they are added to the repository beforehand or after are not being recorded with the custom name given. Instead, it gives it a generic name (continuespan, continuespan(), span0 , etc) which sometimes causing the test to fail on subsequent executions.

I noticed that the FindLogic is picking up the div id and tagindex. The problem I've noticed is that in other tests using the same webpage but with different factors, the span number will change. No matter what I name these buttons to when recording the test, it is not saved in the test and does not appear anywhere when editing the element.

What is the best solution to this problem?

Attached screenshots for reference.
Cody
Telerik team
 answered on 21 Feb 2014
1 answer
86 views
Hello!
My name is Van Anh, I am using test studio trial. I created a scenario and I used it for load testing, but the function Load Testing isn't active. Is the Load Testing isn't active in the trial?
I look forward your reply.
Van Anh
Ivaylo
Telerik team
 answered on 21 Feb 2014
4 answers
150 views
Hi there,,
In our application we have HTML popup load a PDF file.
My question is there is any way to validate the data in this HTML popup that loaded a PDF file...???

Regards,
Romio
Q.A.
Ivaylo
Telerik team
 answered on 20 Feb 2014
2 answers
84 views
Hello,

I am trying the Test Studio with a trial account while my company is finalizing the buy process, so far I am loving how easy it is to do automated tests with it.

Recently I have ran into an issue in my project. Some information beforehand:

CPU: I7 3770
Target Browser: IE8
Project: Silverlight
OS: Win7

So in the project I have an upload button the attaches some files from another data source(a local-remote pc). The upload process is as follows:
Click Upload > Connect to the target PC via Windows System Open Dialog Box(lets make it \\111.111.111.111\TelerikUpload) > Login via "Windows Security" by entering Username & Password > and goes on with file selection etc.

When I press OK in the Windows Security box, the IE that runs inside Telerik just stops working. How can I handle this since the Test Studio does not even record the IP that I entered. The test just records up until the point that I press upload(records this one) but nothing after that. So I cannot even access the code behind it to modify.

Hope to get a fast answer, or I will have to pause the record progress and do this part of the testing as manual.

Thank You,
Onur ODABASI

PS: the screenshot is from a Win8 PC but that should not make a difference since it is there to point out what window I am talking about.
Cody
Telerik team
 answered on 20 Feb 2014
3 answers
115 views
Hello,

I am writing a assembly for Test Studio

I have tried to specify the base class that my class inherits as being BaseTest and BaseWebAiiTest

I have a Manager instance that is initialized to Manager.Current.

I can reference the myManager.ActiveBrowser... just fine.

But when I try to create a wait using:

HtmlInputCheckBox _checkbox = myManager.ActiveBrowser.Find.ByExpression<HtmlInputCheckBox>(DomString);

HtmlWait waitObj = _checkbox.Wait;

           
_checkbox.Wait.ForVisible(5000);

I get the following error when the coded step executes:

System.NullReferenceException: Object reference not set to an instance of an object.

The line that causes this exception is

HtmlWait waitObj = _checkbox.Wait;

I cannot find what object that needs to be referenced to instantiate this wait object.

Thanks 


Cody
Telerik team
 answered on 18 Feb 2014
6 answers
59 views
Silverlight component not able to identify in Firefox and Chrome

I have a web based application which has Silverlight component in it. When I record the script in IE it able to capture the steps and is executed successfully.
But when tried to execute scripts in Firefox  27.0 and Chrome 32.0, its not able to identify Silverlight component.

I have upgraded the Telerik Test Studio from 2012.1420 to 2013.2.1370. Even then I tried recording with firefox/chrome browser its not able to identify Silverlight component.

Waiting for positive response quickly.
Ivaylo
Telerik team
 answered on 18 Feb 2014
1 answer
105 views
Hi,

I've reusable functions written in a dll file. I added the dll file from script options. Now I'm not sure how to use the methods defined in the dll in my coded step.

I got to look into the article in the Telerik docs on http://docs.telerik.com/teststudio/user-guide/code-samples/general/use-external-dll.aspx.

This article talks about accessing the methods of the dll from Visual Studio. What I'm looking for is, to call the methods from dll in "Test Studio Functional".

Please help me.

Thank you,
Sonu Davidson C.B
Ivaylo
Telerik team
 answered on 17 Feb 2014
16 answers
290 views
Hi all,

When I use quick execution my tests work fine but I use the test lists option and list them together and then execute them together I get random failures and I can understand why as when I investigate the test and then replay it using quick execution it works perfectly. Has anyone else experienced this problem?

Many thanks
Cody
Telerik team
 answered on 14 Feb 2014
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?