Telerik Forums
Test Studio Forum
15 answers
524 views
I'm using Test Studio v2013.2.1524.0 to record my test case. After the listing is exported to Excel file, test case cannot be carried on. It throws the following error on 'Handle Download dialog' step

'Timed out waiting '25000' msec. for download dialog to be handled.

How can I solve this problem?

By the way, my application is Silverlight application.

Thanks
Boyan Boev
Telerik team
 answered on 04 Sep 2015
1 answer
108 views

Hello,

I'm a developer on a web-based application that has the following requirements for a load test:
1) Log in as one of 100 preset users
2) Navigate to a dynamic URL based on values in a table in a database
2) Process at that URL

Among other things. However, I'm struggling with retrieving the data from the database and also creating that URL. The URL is of the format /Site/Controller/Function/ID, the same as almost any MVC application, but I see no place where I can choose a datasource for the original URL (e.g., http://mysite.com/site/case/edit/190723). Further uses find the dynamic target correctly, but I need to change that original ID in the first request after login. The ID is normally selected via a Telerik grid, but I also can't figure out how to get the link from the grid either.

 I'm also struggling with the lack of multiple data sources. At this point, I feel as though I have to merge my two data sets (users and data values) and query from that. However, I have concerns about multiple VU's overwriting each other, which isn't a true test, and leads me to my next question:

Assuming that I use a database-driven test, when is that query executed? Every time a new VR is created? When the test first runs and never again? Every time a variable is retrieved?

Thank you for your assistance with this.

Cody
Telerik team
 answered on 03 Sep 2015
5 answers
330 views
Hello,

What exactly is the purpose of the Compare Mode property of a Page? I saw that there are several options in the dropdown but I am not sure as to how to use each. Please help.

Best Regards,
Kristine
Ivaylo
Telerik team
 answered on 03 Sep 2015
5 answers
119 views

Hi guys, I dont quite understand the problem below.

I has a hyperlink element in HTML like this (telerik calls HTMLAnchor).

<a href="#" id="btnSubmit" >Submit</a>​

Now, what I all need that I want to find the <a> element by using HTMLAnchor, then click on it.

Here is my vb code in my Telerik script

~~~~~

Dim btnSubmit As ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor
Dim alertDialog__1 As AlertDialog = AlertDialog.CreateAlertDialog(ActiveBrowser, DialogButton.OK)
alertDialog__1.HandlerDelegate = New DialogHandlerDelegate(AddressOf MyCustomAlertHandler)
Manager.DialogMonitor.AddDialog(alertDialog__1)

ActiveBrowser.Window.SetFocus
ActiveBrowser.RefreshDomTree
btnSubmit=Manager.ActiveBrowser.Find.ById("btnSubmit")
Assert.IsNotNull(btnSubmit,"Cannot find the Submit button")
btnSubmit.Click 
alertDialog__1.WaitUntilHandled(50000)​

 ~~~~~

BUT, the problem is that btnSubmit is NULL. Look like it can not find the element

Log file:

Value of type 'ArtOfTest.WebAii.ObjectModel.Element' cannot be converted to 'ArtOfTest.WebAii.Controls.HtmlControls.HtmlAnchor'.

Any suggestion for me, guys.

Thanks



​ 

 

Ronan
Top achievements
Rank 1
 answered on 03 Sep 2015
2 answers
128 views

Hi all,

 I am trying to execute using "settings" option in ArtofTest.Runner commandline.

I followed the steps as mentioned in http://docs.telerik.com/teststudio/testing-framework/write-tests-in-code/intermediate-topics-wtc/settings-and-configuration-wtc/app-config-file

I created a xml file, renamed it as test.dll.config and executed through commandline.I am getting one error

 "Load project: The settings file is missing in the 'C:\SmokeTest\bin' Please set the root path.

1) Am i doing something wrong here?
2) Do i need to add Manager mgr = new Manager(true); somewhere in code? If so where should i call? The first part which gets initialized?
3) Do i need to use settings.aiis also along with this xml?

 

Kindly let me know.
Thanks,
VVP​

Cody
Telerik team
 answered on 02 Sep 2015
9 answers
352 views

Hi,

We are planning to execute scripts via commandline (ArtOfTest.Runner.exe). Hence we needed to know generation of log files .

I saw there is an option for exporting results /excel /html/trx in UI. Anything similar in commandline.?

I saw this http://docs.telerik.com/teststudio/advanced-topics/coded-samples/general/external-log-file

I have 2 questions regarding article on above link.

1) Do we have to include the function in each and every test script file.? Or is it ok to put as common function and call?

2) How can i pass Test Result from a script to a common function.

 

Thanks,

VVP

Peter
Telerik team
 answered on 02 Sep 2015
9 answers
236 views
I want to make sure I'm using the BaseURL function correctly before I spend a lot of time recording test scripts.  We have three main environments we'll want to hit when we execute tests.  Two of them are on the same domain, and the production environment is on an entirely different domain.
Development: https://web.domain1.com/AppDEV
Test: https://web.domain1.com/AppTEST
Production: https://tools.domain2.com/AppPROD

I'll be recording all tests against the DEV site.  Right now, I have https://web.domain1.com/AppDEV in the BaseURL for the project.  Should have I have only put https://web.domain1.com ? Or??  Thanks for any help!

~Shelly
Ivaylo
Telerik team
 answered on 02 Sep 2015
7 answers
249 views
I am having a big issue with scheduled test lists.  They are not running the latest version of the tests within it regardless of if I upload latest, run remotely or schedule a one off run.  There are even times where I will delete a test case and it will still be run in the scheduled run this is most troubling and highly annoying.  I would expect that it would pull the latest and when I upload the latest that will be used and this is apparently not the case.  When I run locally it runs fine but when I try to execute remotely its low percentage that it actually runs what I expect it to run.  I have even monitored project folders while tests are running and I see weird things like old test lists in the test list folder that I have deleted weeks ago.  

How are the scheduled runs stored?  How is it retaining old test cases to run even when the case has been deleted from the test? Why does uploading latest not actually upload the latest?

I am using version 2014.
Ivaylo
Telerik team
 answered on 02 Sep 2015
1 answer
58 views

Hello, 

So I have an web application that has a page that uses Silverlight. 

In my test, I navigate to this page that has the silverlight in it. 

I want to know if there is a way to detect if the silverlight section of the page has fully loaded. 

I would prefer not to use an Execution Delay.

Boyan Boev
Telerik team
 answered on 01 Sep 2015
3 answers
63 views

When executing the Telerik Test Studio Runtime 2015.2 install package, I receive the following error:

You must have Administrative rights on this machine to install Telerik Test Studio Runtime.  Setup will now exit.

 

My domain user account is a member of the local machine administrators group.  I created a local administrator account and the install fails the Microsoft SQL Server 2008 R2 install process.

 

This is the only software package that does not correctly detect my domain user as part of the local administrators group.

 

Thanks,

Randy Erickson

Boyan Boev
Telerik team
 answered on 28 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?