Telerik Forums
Test Studio Forum
6 answers
139 views
I just downloaded the 30 day trial version of Test Studio to determine if we will be able to use this tool with our non-programmer QA staff.  This will be to test our ASP.NET application - which makes thorough use of Telerik's ASP.NET tools (latest 2013 Q3 version)

So I recorded my first test, which is to login, nagivate to an entry form, and then work through the prompts until save.  About 10 or 15 total steps.

It seems to replay the login stuff and anywhere where I am navigating, entering values in RadTextbox controls or clicking on RadButtons. It even seems to pick up the selection of items in a RadGrid.  However when I hit a RadCombobox it stops working.

If it is helpful the RadComboboxes in question use Content Templates to show the options and are loaded via AJAX, one after the other.

I am a complete novice with Test Studio, but very familiar with Telerik's ASP.NET toolset - have spent a couple of hours fussing around and looking through online documentation, but not sure exactly what to try next.   I don't know how to insert a WAIT line in the recorded steps, and my initial attempts to write code into the step to select a specific value have not worked...  

Any pointers or online resources that address this scenario?
Cody
Telerik team
 answered on 27 Nov 2013
1 answer
110 views
I have been unable to find a way to get test studio to recognize and handle IE10 notification bars, specifically for download.  Have I just missed something obvious?

I've tried using the DownloadDialogsHandler with no success.

Thanks for any help!

Drew
Rodney
Telerik team
 answered on 26 Nov 2013
5 answers
119 views
Hello Team,
i am trying to run my run my test case , and when run test case from telerik test explorer it works fine.
but when bind it to TFS its not working. and shows such errors:

Overall Result: Fail------------------------'12-11-2013 14:01:42' - Using .Net Runtime version: '4.0.30319.18052' for test execution. 

'12-11-2013 14:01:42' - Starting execution....
 - Detected a Silverlight Test. Setting EnableSilverlight=True'12-11-2013 14:01:48' 

- Detected custom code in test. Locating test assembly: Test Project.dll.

'12-11-2013 14:01:48' - Assembly Found: C:\Builds\15\AutomatedTesting

Thanks in advance
Ivaylo
Telerik team
 answered on 25 Nov 2013
4 answers
188 views
Hi,

I'm trying to find out how many nodes are in a tree view and for this i'm using the following code:

var myApp= Pages.TelerikTreeViewFor.SilverlightApp;
Telerik.WebAii.Controls.Xaml.RadTreeView tree= myApp.XTreeViewRadtreeview;
tree.InvokeMethod(new AutomationMethod("ExpandAll", typeof(void)));
 
IList<Telerik.WebAii.Controls.Xaml.RadTreeView> items = tree.Find.AllByType<Telerik.WebAii.Controls.Xaml.RadTreeView>();
 
int nrNodes= items.Count();
Log.WriteLine("Number of nodes: "+ nrNodes);

The number of nodes i get in 0.
I'm runnig this code for: http://demos.telerik.com/silverlight/#TreeView/HierarchicalTemplate
Am i doing something wrong?
Can someone give me another example of how can i know the number of nodes in a treeview?

Thanks !
Andrei
Top achievements
Rank 1
 answered on 25 Nov 2013
1 answer
129 views
I'm looking into an issue for our QA involving Chinese characters not showing up properly in the script that is running. I am pretty sure its just a font install missing on our server. Anyone know what font I could be missing for them to just show up as [] [] 

I attached a screenshot
Cody
Telerik team
 answered on 20 Nov 2013
11 answers
547 views
Hi,

After I've run a script it closes the browser, I am able to stop this?

Thank you,

Paul
Cody
Telerik team
 answered on 20 Nov 2013
1 answer
122 views

Hi Telerik Team,

 

we use Cruise Control to schedule the telerik autommated Testscripts. To schwo the results of the tests in Cruise Control, i use an XML-Schema to parse the XML-Results.

The new Version of Telerik.Test-Studio (Version: 2013.1.911) change the strukture of the XML-File for the testresults (i mean the .trx files). So that we no longer the seceond "WebAiiTestResult" with the "AutomationStepResults" and there "Item" have.

The neu Version ot telerik return the result as a single string (se below)

The old .trx-File have fhe folow XML-Tag:

  • Second “WebAiiTestResult”
  • AutomationStepResults
  • And many item

In the neu .trx-File there is only the XML-Tag:

  • TestStudioResult

 

<TestStudioResult xmlns="">{"__type":"ArtOfTest.WebAii.Design.Execution.TestResult","__value":{"Browser":1,"ExeType":0,"SeparatorLineCharCount":60,"Message":"Overall Result: Fail\r\n------------------------------------------------------------\r\n'14.11.2013 20:17:39' - Using .Net Runtime version: '4.0.30319.1008' for test execution. Build version is-------------……. (etc.)

<TestStudioResult>

 

Would you Please fix this problem. Because otherwise we can’t display the results in CruiseControl

 

I have also uploaded the two .trx-Files (the old one and  the new one) and the XSL-Schema.

 

Best regards

Mostafa

 

Velin Koychev
Telerik team
 answered on 20 Nov 2013
3 answers
129 views
Hi,

I have a 'logon' test that I would like to use with many different tests. I would like to pass two parameters: "userName" and "password" to the "Logon" test from many another tests.

I have followed the "Data bound Test A calls Test B" instructions here: http://www.telerik.com/automated-testing-tools/support/documentation/user-guide/data-driven-testing/multi-level-tests.aspx but it does not seem to work.

Setup {

Users.xlsx
UserId | Password
User01 | somePassword

HomeTest.tstest (Bound to dataset Users.xlsx):
Execute test 'Logon'

  • Logon.tstest (InheritParentDataSource is ticked):
    • Navigate to : 'https://[left this out for the purpose of security]' 
    • Enter text '' in 'UserNameText' - DataDriven: [$(UserId)]
      Enter text '*****' in 'PasswordPassword' - DataDriven: [$(Password)]
    • Click 'SubmitCredsSubmit'

} EndSetup

When I execute HomeTest.tstest nothing is entered in the 'username' or 'password' textboxes.
I was under the impression that "the data source definition for Test A will propagate down to Test B and be available for use by Test B", but this is not happening. Do I have to do anything special on the call "Execute test 'Logon'"?


Boyan Boev
Telerik team
 answered on 18 Nov 2013
1 answer
122 views
Hi,
The data entered via our GUIs ends up in an SQL database (the database is part of our product).   After validating the ability to interact with the GUI, I want to validate that the data in the database is the same as the data entered via the GUI. 

I understand it is possible to bind a database to a test - during that process a local instance of the database is created and used during subsequent testing (I assume if the data in the original data base changes the local copy is not up dated).  However, in our case the data is dynamically changed during the test run, it follows that the database bound to the test would need to change.  Is it possible to bind an SQL database on the fly, so that I can verify that the entries made via the GUI have actually been recorded in the database?

Cheers
Dave   
Boyan Boev
Telerik team
 answered on 18 Nov 2013
1 answer
150 views
I have developed my testcases in one environment called ABC. Now my company has created different environment. But in diff environment elements are going to be same. So when I use same step for diff environment only one or 2 step is executiong others are not. Can you help me in this case?


I have attached a file .
example: i want to select manager,I have to go through same step as in other url.
1) in branch element this how"Manager" is showing
2) in trunk element is "Manager" is same

So what should I write that works in both url.

Thank you.
Mario
Telerik team
 answered on 15 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?