Telerik Forums
Test Studio Forum
3 answers
78 views
Hi
             I am facing a problem with Telerik Test studio, When I am login from http page to silver light that time test studio hold the value of text box like "Set 'password' text to  'Ahetejaz'". After this step my application which is based on Silver Light  pop up' in that when I am clicking on a link button Language which gives me three text box to create a language, when I Pass value to it. It creates the language in the menu option however  text box is not holding any value after creating  it in my script. So, how can I verify the text in it  and next time when I will run the same script that time the text box will have any empty value and it will throw an exception. For example "LeftClick on  Item0TextboxView0". Their is no value shown for text box. Can you help me to find a solution for this, as we are testing your tool so that we can use it for automating Silver Light application.

Thanks & Regards,
Ahetejazahmad.
Anthony
Telerik team
 answered on 18 Oct 2011
8 answers
240 views
I seem to be having an issue viewing the results of a scheduled test. I have my scheduling server all set up (on the same box as the execution server) and i can schedule test lists and watch the tests run - so i know this is all working correctly. The issue i am having involves viewing the results.

As you know, when you schedule a test, it appears on your calender with yellow shading. After the scheduled test runs, it remains on the calender shaded yellow (Dan Levy points this out in his tutorial video on TelerikTV). As he points out, you must click "Reload From the Server" and then it should turn green if the list passed, or red if it did not. Unfortunately, when I click "Reload from the Server" the yellow entry of my scheduled test disappears from the calender, and there is no longer any indication that it occurred. (Again, i watched it occur, and my execution server indicates that it occurred in the Last Test Run Results tab).

Oddly enough, when i run a test list on-demand (not through scheduling) it shows up on the calender and stays on the calender after the test, turning green for pass, red for fail - as it should. So the issue is only with scheduling.

In addition, in both cases (after on-demand tests, or scheduled tests) when i click "Manage Results," the field is empty - even though I have instances on my calender that tests have executed. Shouldn't a test run generate some kind of report...something i can pass on to my team lead to show him test progress?

The attached image tries to show everything at once: you can see the execution server indicates the last test was run around 7PM (scheduled) but there is no entry in the calender for it. (It disappears when the results were reloaded). Also, in spite of the visible runs in the calender, there is are no entries in the Run Results Viewer.

I know i threw a lot out there, but i appreciate your help.

-Zach
Stoich
Telerik team
 answered on 18 Oct 2011
1 answer
56 views
We have several tests we hand coded using the Telerik Testing framework.  Is there any possible way to convert these tests to a Test Studio test?  I know you can export from Test Studio to VS2010, is there an Import?
Anthony
Telerik team
 answered on 17 Oct 2011
6 answers
198 views

Following error come while playback, when its supposed to click on an radoutlookbaritem

---
Unable to locate element. Details: Attempting to find [Wpf] element using
Find logic
 (Wpf): [Name 'Exact' obiCustomer] AND [XamlTag 'Exact' radoutlookbaritem]

Unable to locate element. Search failed!

---

Note: i am evaluating test automation tool.
Anthony
Telerik team
 answered on 13 Oct 2011
2 answers
77 views
OK, so I have figured out how to add the DOM properties of an object to the Element but how do I do verification on that property?
Example:

I have an element called ControlDiv that has a class property of 'adminmenuitemdisabled'.

I wish to verify this disabled status when a certain log in is used. Please see attached screenshot.
Chris
Top achievements
Rank 2
 answered on 13 Oct 2011
1 answer
65 views
Hello,

I have executed the list from Test List but it is not working fine. When I click on Execute list button. System will only open the browser and close the browser and is doing nothing. I have your licensed version and my work is stuck right now. Please reply me ASAP. 

Regards,
Eman
Stoich
Telerik team
 answered on 13 Oct 2011
4 answers
151 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
169 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
120 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
91 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
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?