Telerik Forums
Test Studio Forum
4 answers
179 views
Hello

We have been trial running Telerik Test Studio for some time now and we have found a problem automating the lists control.

We have used a List Box control with a collection of inputs set at each level for each element. We have found that it is not possibly to repetitively automate this list box because it needs to find the text box for an element that does not exist at the time when the test was recorded.

What would be the correct approach to iteratively automating this control? inserting an element onto the end of the list regardless of how many elements are already in the list.

Thanks for any assistance
Alex
Alex
Top achievements
Rank 1
 answered on 13 Oct 2011
3 answers
212 views
Please help to guide us as we foray into the world of automation (we've been doing unit testing for years but not behavior testing).

We're going to have the following rule: All tests must be independent tests (ie be capable of being run regardless of what tests have run before). This will allow us to use "Dynamic Test Lists" (which will allow us to create a list of all tests that relate to XYZ business requirements).

The problem that I foresee is that each "test setup" will be quite complex and time consuming.

Let me explain... In order for a complex business process to be tested, there are perhaps another 4 or 5 complex business processes that have to happen first (in order that the correct data gets in the database). This means that before the test can even start, there will be 4 or 5 long time consuming tests that have to execute EVERY time a test need to run:

Setup:
  1. Create location hierarchy structure
  2. Import lots of users
  3. Import other related data
  4. Schedule events to happen
  5. Run a calculation process

The problem is that this setup could take maybe 2 or 3 minutes to execute to completion. And only then can we start the actual test that we want to conduct.

This cycle of "Setup" then "Test" is going to be repeated lots so I can see that the overall testing is going to be very slow (yes but faster than manual).

The way we do this manually is that we break the "each test must be independent". So the tester manually runs the setup and then runs many tests using the data that is setup. They have to use their intelligence to ensure that the data left over from the previous tests does not affect the current test (or is taken into account when checking to see if the results are correct (and it is possible).

I don't think we can break that rule (all must be independent) for automatic tests because we do need to be able to run tests in any order (using Dynamic Test Lists).

Suggested Solution

Instead of running several recorded tests to build up the required setup data, we get the setup script to login to a "Super Admin" area of the application. It can then restore the database to a known state and then run the test script.

So the cycle will be:

Test #1: Restore database, run test #1
Test #2: Restore database, run test #2

Question

Does anyone see any maintenance issues with this approach?
Are other pitfalls to watch out for?


Thanks in advance,

Ian.


Cody
Telerik team
 answered on 11 Oct 2011
1 answer
145 views
Hi
I was wondering - is there a possibility to set the whole test to pass if a certain step passed?

The situation I'm in is:
I recorded a test with certain steps. Some of them(say, steps in the middle of the test)  sometimes pass, sometimes fail. This is expected behavior and to let the test proceed I set these steps to "continue on failure". But, in case some of the steps failed, regardless of the fact that test actually ran successfully, the whole test is set to fail.
Currently I created a workaround, when the last step in test writes to test-list log.
But I want to integrate my tests into "build" process for our software.
It would be great if there was a way to set the test to PASS if the last step of the test ran with success.

Thanks in advance
Helen
Cody
Telerik team
 answered on 11 Oct 2011
1 answer
114 views
Support,

I'm exploring 'Performance testing' feature comes with R2 release.

I see tool calculating time differences wrongly. Test log showing correct timings but performance window overview showing incorrect timings.

Log showing: 40Sec to load
Performance Overview showing: 639ms to load

Please see attached screenshot.

Thanks,
Madhu.
Anthony
Telerik team
 answered on 11 Oct 2011
6 answers
102 views
We display a treeview that has initially all children collapsed. For optimization purposes we load children in treeview only when parent node is expanded. Until then every item in the tree contains only "dummy" child.
When I record the clicks Test Studio doesn't recognize the new items. For each item I get the same item that is clicked (ArtOfTest.WebAii.Controls.Xaml.Wpf.Grid). So I can record but can't run the script
Any suggestions how to solve this?

Thanks
Arthur
Stoich
Telerik team
 answered on 07 Oct 2011
1 answer
90 views
Hi,

Please any one clear this for me. I'm new to performance testing.

What are Server and Client timings represents in Performance testing results? Screenshot attached.

Thanks,
Madhu.
Anthony
Telerik team
 answered on 06 Oct 2011
1 answer
105 views
I watched the video for the new release and I have upgraded. In the video it was mentioned on more than 1 occasion that a Test List can be scheduled for a Performance run. However, I do not see where you set the Test List up for a Performance run, only the normal run. Please point me in the right direction.
Note:
I have made a copy of my Test List, selected Edit List and changed it to Performance, the List Has 161 tests in it and  against each test I see a message 'Configure for Performance....'. Do I have to configure each test in the list or will it simply run when I select it for scheduling? I will schedule tonight and see the results in the morning. Thanks
Anthony
Telerik team
 answered on 05 Oct 2011
1 answer
79 views
Hi,
 
I have donwloaded latest telerik contols for silverlight from the url (http://www.telerik.com/account/your-products/trial-product-versions/trial-single-download.aspx?pmvid=0&pid=571)

i just created sample application with control RadMaskedTextBox. i am getting following error.
i am using silverlight 3.0, vs 2008 and .Net framework 3.5

{System.Windows.Markup.XamlParseException: Unknown namespace http://schemas.telerik.com/2008/xaml/presentation. [Line: 37 Position: 43]
   at MS.Internal.XcpImports.CreateFromXaml(UnmanagedMemoryStream stream, String sourceAssemblyName, Boolean createNamescope, Boolean requireDefaultNamespace, Boolean allowEventHandlers)
   at System.Windows.Controls.Control.GetBuiltInStyle(IntPtr nativeTarget, IntPtr& nativeStyle)}

Please help me., Thanks in Adavance

Thanks
Durga

Kiril Stanoev
Telerik team
 answered on 05 Oct 2011
1 answer
75 views
Hi,


Can anyone please clarify the below doubt for me that was occured Telerik test studio during run time.


The actual issue was my project is a hospital management and in this i am using VOIP calls to interact with the doctors
and my problem is while running the application with  the VOIP call was identified and while re-executing the same script it is not identified 


The script of the issue is shown below.








Overall Result: Pass
------------------------------------------------------------
'10/5/2011 11:27:17 AM' - Starting execution....
------------------------------------------------------------
'10/5/2011 11:28:04 AM' - 'Pass' : 1. RadInput('Rtxtusername_wrapper'): value 'harry' entered.
'10/5/2011 11:28:06 AM' - 'Pass' : 2. RadInput('Rtxtpassword_wrapper'): value 'harry' entered.
'10/5/2011 11:28:07 AM' - 'Pass' : 3. RadComboBox('RHeadOffice'): text 'sand' entered in combobox input
'10/5/2011 11:28:14 AM' - 'Pass' : 4. RadComboBox('RHeadOffice'): selecting item with index '31'
'10/5/2011 11:28:17 AM' - 'Pass' : 5. RadButton('Rbtnlogin'): RadButton click
'10/5/2011 11:28:20 AM' - 'Pass' : 6. RadComboBox('ctl00_ContentPlaceHolder1_RLocation'): selecting item with index '1'
'10/5/2011 11:28:25 AM' - 'Pass' : 7. RadButton('ctl00_ContentPlaceHolder1_btnGo'): RadButton click
'10/5/2011 11:28:26 AM' - 'Pass' : 8. RadMenuItem('ctl00_RadMenu1'): item 'Page' action -> 'Click'
'10/5/2011 11:28:31 AM' - 'Pass' : 9. RadMenuItem('ctl00_RadMenu1'): item 'Phone Dialer' action -> 'Navigate' to '~/Pages/PhoneDirectory'
'10/5/2011 11:28:37 AM' - 'Pass' : 10. RadComboBox('ctl00_ContentPlaceHolder1_cmbName'): selecting item with index '8'
'10/5/2011 11:28:39 AM' - 'Pass' : 11. RadButton('ctl00_ContentPlaceHolder1_btnCall'): RadButton click
'10/5/2011 11:28:43 AM' - 'Pass' : 12. Click 'CloseButtonTag'
'10/5/2011 11:28:44 AM' - 'Pass' : 13. RadButton('ctl00_ContentPlaceHolder1_btnCall'): RadButton click
------------------------------------------------------------
'10/5/2011 11:28:44 AM' - Overall Result: Pass
'10/5/2011 11:28:44 AM' - Duration: [1 min: 20 sec: 609 msec]
------------------------------------------------------------
'10/5/2011 11:28:45 AM' - Test completed!

Stoich
Telerik team
 answered on 05 Oct 2011
3 answers
425 views
How do I get the total count of items listed in a drop-down box.  For example, I have a smoke test that needs to verify that a drop-down box contains at least one item.  How can I use the built-in verification functionality to accomplish this?  Assistance appreciated in advance.
Stoich
Telerik team
 answered on 04 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?