Telerik Forums
Test Studio Forum
8 answers
361 views

Hi Team,

 

I am new to Telerik Test Studio and somewhere I read that for scheduling the test runs and sending results via mail automatically requires Mongo DB

I am interested in knowing more about MongoDB Installation and its features. 

 

(a) Is Mongo DB an Open Source (Freeware) ?

(b) How to configure Mongo DB with Test Studio ?

(c) Our company has SQL DB. Can we still use it instead of Mongo DB ?

 

Can anyone help me on this ?

 

Thanks

Chris
Top achievements
Rank 1
 answered on 21 Apr 2017
3 answers
169 views
I am currently integrating test studio with jenkins and when doing the task, I am presented the following error when executing the windows command line for the execution of the list
 
Tiempo transcurrido 00:00:05.76
[Test_MSBUILD] $ cmd /c call C:\Windows\TEMP\jenkins6442795280623445813.bat
 
C:\Program Files\Jenkins\workspace\Test_MSBUILD>cd ..
 
C:\Program Files\Jenkins\workspace>cd ..
 
C:\Program Files\Jenkins>cd ..
 
C:\Program Files>cd ..
 
C:\>cd "C:\Program Files\Telerik\Test Studio\Bin\"
 
C:\Program Files\Telerik\Test Studio\Bin>ArtOfTest.Runner.exe test="C:\Users\QAZenta\Documents\Test Studio Projects\TestProject1\PruebaJenkins.tstest"
Overall Result: Fail
Result saved with path: 'C:\Users\QAZenta\Documents\Test Studio Projects\TestProject1\Results\PruebaJenkins 131365713286472151.aiiresult'.
 
C:\Program Files\Telerik\Test Studio\Bin>ArtOfTest.Runner.exe list="C:\Users\QAZenta\Documents\Test Studio Projects\TestProject1\TestLists\PruebaRemota.aiilist" out="C:\Users\QAZenta\PRUEBA1"
Executing test: 'PruebaJenkins'
Overall Result: Fail
Result saved with path: 'C:\Users\QAZenta\PRUEBA1\PruebaRemota 131365713406529018.aiiresult'.

I am currently integrating test studio with jenkins and when doing the task, I am presented the following error when executing the windows command line for the execution of the list
I am currently integrating test studio with jenkins and when doing the task, I am presented the following error when executing the windows command line for the execution of the list
I am currently integrating test studio with jenkins and when doing the task, I am presented the following error when executing the windows command line for the execution of the list
Elena
Telerik team
 answered on 21 Apr 2017
1 answer
107 views

After a lot of convincing and a long wait, our team has decided to push through and renew our stand-alone license and purchase 2 run-time licenses for our virtual machines. I am quite new to setting up the testing environment so I'm trying to get the ball rolling and wanted to get some advice and/or feedback on the set up I have in mind, as well as clarification for some things that I am unsure of.

We plan on having 2 virtual machines set up for each run-time license: 1 for the scheduling service/storage service/executing server (VM1) and 1 to act as another remote executing server (VM2). Below are a few questions I had so far:

- I installed the Storage services to my stand-alone version and it required me to install MongoDB. Do I have to use this or can I use Microsoft SQL Server instead?

- What is being stored in the db - test results, test lists, etc?

- What service 'talks' to the repository to get the scripts from?

- Can I extract data from the db to get access to the results so I can customize my way of seeing the data?

Thanks in advance for the help and helping me understand everything better :)

 

- Chris

Ivaylo
Telerik team
 answered on 21 Apr 2017
31 answers
478 views
Hello,

I have associated a Test Studo Web test with testcase in VS and trying to run it from MTM. But I get the following error. I have tried to run after installing test studio on agent and controller but still get the error. Please let me know.


Error adding test case [1210599] to test run: File extension specified '.tstest' is not a valid test extension.
Elena
Telerik team
 answered on 20 Apr 2017
1 answer
93 views

Hi Team,

I am using telerik test studio in that am using property "IsEnable=False" for the " RadMaskedCurrencyInput", "RadMaskedTexInput" and "RadMaskedNumericInput" controllers so am unable to extract those text boxes values. please guide me and give the solution to extract the values using those controllers in Telerik test studio.

 

Thanks,

SivaKrishna.M

 

Elena
Telerik team
 answered on 20 Apr 2017
10 answers
400 views

Hi,

I have a conversion problem:

In my application I have a 'System.Windows.Controls.TextBlock' type textblock and I need to find it in my coded step and make on it a MauseClick.

This is fragment of my code:

System.Windows.Controls.TextBlock textblock = app.MainWindow.Find.ByTextContent(text_content.ToString());

and in test log I have a information:

"Cannot implicitly convert type 'ArtOfTest.WebAii.Silverlight.FrameworkElement' to 'System.Windows.Controls.TextBlock'"

Is there a way to make that conversion or some other way to resolve this problem?
Elena
Telerik team
 answered on 17 Apr 2017
4 answers
178 views

Hello,

New to using this tool so this may be a bit complex.  Currently I am trying to do some URL manipulation in order to get an access token so that I can then use the token to login a specific admin account.  

The situation is that I go to a URL to get a access token which is returned as a JSON object.  {"token":"00000000-0000-0000-0000-000000000000"}  Is there a way that I can use regex as part of the extraction to take just the info between the second set of quotes?  And then also take that extracted data and add that on to another data driven URL?

Elena
Telerik team
 answered on 12 Apr 2017
3 answers
80 views

Hello,

we got serious problems with scheduled tests. We have a VM as a scheduling server and another VM as an execution server. All tests are working in our test studio and all VM's are alive. Everything is connected properly (we already checked the documentation).

 

Case 1: Remote connections to both VM's and the test studio are opened on my local pc. I start a test via remote. After a few seconds I can see how the browser opens on one of the VM (execution server). Everything works fine and the browser closes properly. The test report shows this, too.

 

Case 2: Remote connections to both VM's are disconnected on my local pc. I start a test via remote. Nothing happens. No confirmation about the test in the reports.

 

Case 3: Remote connections to both VM's and the test studio are opened on my local pc. I start a test via remote. After a few seconds I can see how the browser opens on one of the VM (execution server). Everything works fine and I disconnect the two VM's locally after half of the test steps. The test reports shows us that the test didn't run on after the disconnection of the two VM's.

 

Why? With this kind of problem it's impossible for us to automate the tests.

Could you help us?

 

Elena
Telerik team
 answered on 11 Apr 2017
7 answers
85 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
88 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?