Telerik Forums
Test Studio Forum
3 answers
65 views

Hi,

I have added Toolbar element to elements explorer, and i would like to add step to click on specific subitem on this toolbar.

Am i able to add such step from the step builder using Actions -> Quick steps (or something else)?

If not, what are the workaround solutions?

Currently i see that after chanching element type to RadToolBar, only item count verification ability is added to Step Builder -> Verifications.

No other actions specific to Toolbar element are available in the steps.

 

Thanks in advance.

Cody
Telerik team
 answered on 04 Sep 2015
2 answers
84 views

Hi,

 I am new to the telerik test studio.I have to develop a automated test script for a web application.But, here I am facing a problem regarding browsing a .txt file from local mechine and upload it to the web application.In the application , a browse button is present.We need to click on this button >  select the particular file and upload it.Can you please help that what code should I need to use for this purpose?One thing , I need to mention here, that, I am using vb.net.

Cody
Telerik team
 answered on 04 Sep 2015
15 answers
584 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
128 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
386 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
146 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
164 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
471 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
282 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
295 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
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?