
Markus Schwarz
Top achievements
Rank 1
Markus Schwarz
asked on 30 Apr 2010, 08:49 AM
Hi,
I'm currently evaluating WebUI Studio QA Edition for our Silverlight application. In this application we use a great amount of self-made controls, for instance a custom data list control. The recorder does not recognize this control, therefore the tests fail. How can we make WebUI Studio to find those controls? Changing the controls can be considered an option too.
Thanks
Markus
I'm currently evaluating WebUI Studio QA Edition for our Silverlight application. In this application we use a great amount of self-made controls, for instance a custom data list control. The recorder does not recognize this control, therefore the tests fail. How can we make WebUI Studio to find those controls? Changing the controls can be considered an option too.
Thanks
Markus
5 Answers, 1 is accepted
0
Hi Markus,
Thank you for evaluating WebUI Test Studio.
The recorder relies on built-in translators to identify any controls in the application under test. For example we built RadControls Translators for Silverlight and these translators simply expose more options for verifications in the tests against RadControls and also handle the control-specific actions.
However, that does not mean the custom controls cannot be automated if respective translators are not available. The recorder identifies the base control type and provides verifications against that control type. That is why you will also see a set of verification in the "Quick Tasks" list no matter what custom control you record over. That being said the actions and verifications against that custom control should always run smoothly during execution as recorded.
We will be happy to get your tests run successfully against those custom controls. Can you please share more details about the exact test failure? Can you post the error message the test step fails with and the log of the test? Is there a public site we can observe the problem with? If you don't want to share that info publicly, feel free to submit a support ticket and send any private info there (you can also attach a test project along with a sample application the tests run against).
Kind regards,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for evaluating WebUI Test Studio.
The recorder relies on built-in translators to identify any controls in the application under test. For example we built RadControls Translators for Silverlight and these translators simply expose more options for verifications in the tests against RadControls and also handle the control-specific actions.
However, that does not mean the custom controls cannot be automated if respective translators are not available. The recorder identifies the base control type and provides verifications against that control type. That is why you will also see a set of verification in the "Quick Tasks" list no matter what custom control you record over. That being said the actions and verifications against that custom control should always run smoothly during execution as recorded.
We will be happy to get your tests run successfully against those custom controls. Can you please share more details about the exact test failure? Can you post the error message the test step fails with and the log of the test? Is there a public site we can observe the problem with? If you don't want to share that info publicly, feel free to submit a support ticket and send any private info there (you can also attach a test project along with a sample application the tests run against).
Kind regards,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

Markus Schwarz
Top achievements
Rank 1
answered on 30 Apr 2010, 11:30 AM
Hi Konstantin,
thanks for your answer.
Currently I'm checking with project management if I can provide you some detailed information about our controls. I suspect that this will not be possible.
However, I can provide you some more information on the failure.
First of all, a short description of the test actions:
1. Open the application and log in.
2. Navigate to a "page" inside the application.
3. On a data list control, click on one entry. The entry then expands to a kind of edit area.
4. Select a value from a combobox on this area.
5. Save the data.
The recorded steps are:
1. Navigate to application
2. Log in (actually this are 4 steps)
3. Navigate to the page
4. Click on the combobox.
5. Select value.
6. click the save button.
When I look at the recorded test steps, I can see that the click on the data list entry is not recorded. As the combobox which the test should then use is available only after one entry was clicked, the step fails with "Unable to locate element. Search failed!". The XML path to the combobox would be correct if the edit area were there.
I have not tried yet to access the datalist via code, because a codeless approach would be highly appreciated. If this is not possible, I as well may consider trying this by coding the required step.
Thanks
Markus
0
Hello Markus,
Thank you for the additional information.
As far as I can understand your description, this sounds like a bug in the actual translator handling the Click action. If for some reason that click action translation throws exception internally, recording that action may fail.
What can really help is to understand which translator handles that action. It will probably be enough if you can upload that application or just a sample of it on a test site and send credentials for us to be able to login. We will easy identify the source of the problem and should be able to find a solution for you shortly.
Looking forward to hearing from you,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Thank you for the additional information.
As far as I can understand your description, this sounds like a bug in the actual translator handling the Click action. If for some reason that click action translation throws exception internally, recording that action may fail.
What can really help is to understand which translator handles that action. It will probably be enough if you can upload that application or just a sample of it on a test site and send credentials for us to be able to login. We will easy identify the source of the problem and should be able to find a solution for you shortly.
Looking forward to hearing from you,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0

Markus Schwarz
Top achievements
Rank 1
answered on 30 Apr 2010, 12:11 PM
Hi Konstantin,
good news, I got the recorder to recognize the click now. It seems that it can do it from time to time, maybe some timing issues apply here. For my evaluation this is sufficient, because I now know the tool is capable of using the control the right way.
I will now refine the recorded test to fully reflect all necessary actions. If I discover any additional issues, I will just com back to the forum :)
Thanks for your help so far.
Markus
0
Hello Markus,
I'm glad you passed that through, although the solution doesn't seem to be as reliable as we would like it to be.
Sure, do not hesitate to contact us if you have any questions during your evaluation. We will always do our best to help.
Kind regards,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I'm glad you passed that through, although the solution doesn't seem to be as reliable as we would like it to be.
Sure, do not hesitate to contact us if you have any questions during your evaluation. We will always do our best to help.
Kind regards,
Konstantin Petkov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.