Telerik Forums
Test Studio Forum
7 answers
117 views

Hello Test Studio team, 

It has been a long while since I used Test Studio.  Well the reason for this post is the request some assistance in load testing. I remember I did use load test functionality before. 

So I already generate one user profile to use for the test and saw the traffic and adjusted the work load to accordingly.

I added my machine as the performance monitor. 

In the available users, I put in Start test with 5 and end test with 50 concurrent users. 

Ramp up user count for 2 minutes

Run test for 10 minutes. 

I then click Run, I select average response time and current virtual users for overall test as the goals for the test. 

But after all that, I am getting this message: 

We are unable to run the test. 

Please make sure that the controller you are using have enough Users allocated to run this test. 

Then I click Manage, I see my machine as the scheduling service with 600 users as shown in screenshot. 

As a perpetual license but expired, I thought the functionality would not be altered. Also I know that we are not going to renew our license / subscription. 

http://www.telerik.com/purchase/license-agreement/teststudio

I do not understand what could be the problem.

Elena
Telerik team
 answered on 11 Apr 2017
1 answer
108 views

Hi, I was having issues with the SaveFile dialog working against a WPF application (played around with the initialization value, but it just never handled the dialog). So I decided on writing a function I could call when I needed it, that would handle the same thing.

Below is what I'm currently using, I pass it a string for the file path, as well as an Element to be clicked on (which is what causes the save dialog to appear).

I've tried playing around with waiting before/after clicking on the element to cause the dialog, but it just doesn't seem to consistently handle. Most of the times it works fine, and sometimes I find myself needing to manually intervene and close/reopen the dialog before it starts handling it. Any idea what would cause this? I haven't done any major waits before/after. Would increasing the time before clicking on the element help at all?

 

// Create the dialog handler.
SaveAsDialog saveDlg = SaveAsDialog.CreateSaveAsDialog(Manager.Current.ActiveApplication,
DialogButton.SAVE, filePath);

// Add the save dialog handler to the monitor, and start the monitor.
Manager.Current.DialogMonitor.AddDialog(saveDlg);
Manager.Current.DialogMonitor.Start();

System.Threading.Thread.Sleep(1000);
                
// Click on the element passed in that will create the dialog.
element.User.Click();   
                
System.Threading.Thread.Sleep(1000);
                
// Wait until the dialog is handled, and then stop the monitor and remove the dialog.
saveDlg.WaitUntilHandled(30000);
Manager.Current.DialogMonitor.Stop();
Manager.Current.DialogMonitor.RemoveDialog(saveDlg);

Elena
Telerik team
 answered on 11 Apr 2017
3 answers
210 views

Good evening team,

Is it possible to select a file from a dialog box when we are running a web test? The scenario of this execution is when we click a field in a web browser, a windows dialog box pops out and we would need to input a path to a local folder and select a file(SelectFile.PNG).

But I'm unable to detect any element from this dialog box presuming this is because the test script is a web test and hence this limitation(do correct me if i'm wrong). 

Is there any workaround or suggestion to this limitation? 

Many many thanks!

Best Regards,

Pravin

praja@dongenergy.dk

Elena
Telerik team
 answered on 10 Apr 2017
3 answers
123 views

Hi guys,

I'm having element not found issue during script execution (ElementNotFound.png)(ElementNotLog.png).This is happening even though the element is being able to be detected using the Edit Element feature (ElementDetected2.png) (ElementDetected.png). 

The idea of this execution is to simply LeftDouble click on the field as shown in ElementDetected2.png. 

Do help to advice, 

Many thanks in advance (:

Pravin

praja@dongenergy.dk

 

Elena
Telerik team
 answered on 10 Apr 2017
4 answers
126 views

Good Morning,

I am new to Test Studio and am unable to use the highlight element option when recording in Firefox and Chrome.  IE is sketchy at best. When the button is selected the mouse starts randomly passing over every element and at that point I have to start the task manager and close the browser.  I am running Win 10 1607 build 14393.693 and the latest version of Test studio 2017.1  I have been successful with one instance of IE 11.   I must reboot my system in order to use the other browsers.

Elena
Telerik team
 answered on 10 Apr 2017
3 answers
170 views

Not sure if this is even possible to do what I'm trying to accomplish.

Currently I have different databases that our application connects to for different scenarios. This is accomplished using a single test script for each database, with some coded steps to handle the change over.

In our test lists, each list starts with one of these tests. Is there a way to prevent any results from this test from being written out/added to the test list results file?

I'd be perfectly content with a coded solution if such a thing exists.

Elena
Telerik team
 answered on 07 Apr 2017
3 answers
273 views

Hi guys, 

Good day, have a question on Findings Page elements through coded steps. Hope you guys can assist me :)

I'm trying to locate an element in an IE web browser through coded step using Find.ByAttributes() without any luck.

These are the attributes i'm using to detect in my Find.ByAttributes() coded step : 

1) TagName

2) InnerText

3) role

These are the code snippet that i'm using : 

Element record = Find.ByAttributes("TagName=td","InnerText=~" + ((string)(System.Convert.ChangeType(Data["Name"], typeof(string)))), "role=gridcell");

 Assert.IsNotNull(record, "Record not found.");

For InnerText attribute, i'm would like to read a partial value from an excel sheet (NameExcel.PNG) and i'm using "~" as based in the documentation,"~" signifies partial

Name.PNG is the element i'm looking to read in the browser

But every time i run the script, my Assert fails (ElementLog.PNG) which is weird because as you can see in (Element.PNG), the same attributes can be detected by Telerik if i recorded and use "Edit Element" option.

 

Another question is, will the below code snippet be able to click on the element once it's detected? 

ActiveBrowser.Actions.Click(record);

The whole idea of this script is to detect the element that contains these attributes and click on it.

Many thanks in advance :) 

Best Regards,

Pravin

praja@dongenergy.dk

 

 

 

 

 

 

 

 

Elena
Telerik team
 answered on 06 Apr 2017
1 answer
70 views

I am new to Test Studio and was looking to test the creation of page, dragging and dropping of  widgets on a page etc. etc.

However during play back TS does not seems to be able to play back the dragging and dropping of the widgets from the tool bar

Any help would be appreciated

 

Nikolay Petrov
Telerik team
 answered on 06 Apr 2017
1 answer
124 views

If I run the test scripts in IE, it will run without any error. but I run the same test scripts in chrome and firefox, it failed in some cases.  Please explain.

Product Version: 2015.3.1015.0

Nikolay Petrov
Telerik team
 answered on 06 Apr 2017
9 answers
325 views
Hello,
I need check stamp in pdf file using telerik(special text in pdf file) Is possible in Telerik Test Studio?
Thank you for answer.
Elena
Telerik team
 answered on 04 Apr 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?