This is a migrated thread and some comments may be shown as answers.

Webui Test Studio used for rendering tests ++

7 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Kodja
Top achievements
Rank 1
Kodja asked on 01 Oct 2009, 02:56 PM

Hello Telerik, first I wanted to let you know that I really like the WebUI test studio A+!

But, I have some questions... of course :).

 

I'm a tester contractor so I need to test  Silverlight applications not only from Telerik but also from other vendors like Microsoft, DevExpress, Infragistics etc …

My questions are:
1) Can I do that with the WebUI test studio or I have to wait for you to write the translators for  controls form other vendors?

2)   I'll need to inspect the elements inside of the Silverlight plugin (like the DOM inspection) is this possible and what I have to do to make that work ?

 

3) also in the recorder while I’m recording I would love if the elements name like “dom” object would be recorded ... not only a objectXaml with x,y coordinates).

 
3) For rendering tests I need to make a tests where I have to do some action on the webpage than to save the screen to some kind of repository (like Capture browser/desktop option in recorder in WTS) and later when I run the test I’ll need to compare the previously saved image with the current rendered page ... is this possible with the WTS?

7 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 01 Oct 2009, 03:21 PM
Hello Kodja,

I'm glad you like WebUI Test Studio. It keeps evolving so I'm sure you will be even more happy to see the new 2.0 version coming out shortly. Now straight onto your questions:

1) Can I do that with the WebUI test studio or I have to wait for you to write the translators for  controls form other vendors?

WebUI Test Studio supports any controls your test Web App can use. This means you can record and execute and even convert to code and write your own code if needed for the controls your app under tests consists of.

And ... I wouldn't wait for Telerik to write translators for other control vendors except Telerik. ;-)

2)   I'll need to inspect the elements inside of the Silverlight plugin (like the DOM inspection) is this possible and what I have to do to make that work ?

I completely understand your need as I'm a Silverlight test engineer as well. As I mentioned earlier, we work on a new major version of WebUI Test Studio -- 2.0 that will support Silverlight recording along with complete DOM inspection. Actually I'm currently already using it my own so I can assure you this will be possible with the next release as of Q3 2009 (in a month or so). We're also working on a Beta of the new version so that the interested people like you can test the new tool version even before we release it. Please keep watching our announcements, blogs, etc.

3) also in the recorder while I’m recording I would love if the elements name like “dom” object would be recorded ... not only a objectXaml with x,y coordinates).

That's the job of the translators so yes, this will be possible as well. I would also like to point you to this thread that you can post your needs in (check my last post).

3) For rendering tests I need to make a tests where I have to do some action on the webpage than to save the screen to some kind of repository (like Capture browser/desktop option in recorder in WTS) and later when I run the test I’ll need to compare the previously saved image with the current rendered page ... is this possible with the WTS?

I'm not sure what your goal actually is. Do you mean comparing the source (the Visual Tree of elements in Silverlight) like test action?

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Kodja
Top achievements
Rank 1
answered on 01 Oct 2009, 03:39 PM
//I'm not sure what your goal actually is. Do you mean comparing the source (the Visual Tree of elements in Silverlight) like test action?

sorry for the confusion :).
The test should look like this (this is the recording part of the test):
Recording part:
 1)go to the page with given control eg: Menu
2)click on the menu so it expands
than
3)save that image of that page in repository
save the test

Running part:
run that test (steps 1,2) and for the step 3
capture the screen again and this time compare the saved image you've saved in the repository (in the recording part) with the image you've got just now...
Thanks!  
0
Konstantin Petkov
Telerik team
answered on 01 Oct 2009, 07:59 PM
Hi Kodja,

Thank you for the clarification.

I see what you mean but I can't really accept you need that. This sounds like a pretty unreliable approach for adding test verifications.

WebUI Test Studio doesn't support such a image comparison. Instead, it allows adding pretty precise verifications like whether an element exists on the page or a control state matches the expected (again the job of the translators). I would actually point you to this video demonstrating how a RadMenu control typical test can look like as well as the abilities of the respective translator in general.

Let us know if you have further questions.

Best wishes,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Kodja
Top achievements
Rank 1
answered on 02 Oct 2009, 03:33 PM
Konstantin,
That's the job of the translators so yes, this will be possible as well. I would also like to point you to this thread that you can post your needs in (check my last post).


if you can clarify in one sentence for me what is the purpose of the translator or what is the translator?
If I  need to  inspect Microsoft SL page do I need to write the "Microsoft" translator in order to see the Silverlight objects inside the SL plugin or WTS will do that for me?

Also if something comes out  like public alfa or beta for WTS I would love to have a hands on it (I'll subscribe to your blog immediately)

Have a great weekend!
BTW the videos for WTS ROCK!

0
Konstantin Petkov
Telerik team
answered on 02 Oct 2009, 04:16 PM
Hi Kodja,

The translator handles the important actions and provides the necessary verifications for the control it is built for. The translator also describes the actions and verifications as you see them in the Test Explorer. Each action and verification actually has an element behind the scenes, the one you have recorded that step against. That element is part of the visual tree in Silverlight, or the "DOM" meant by you in your initial question. You can take a look at the Elements Explorer window in WebUI Test Studio v1.x as well to check the elements in the repository you've recorded tests against.

WebUI Test Studio v2.0 comes with intrinsic translators for all the standard Microsoft Silverlight controls like Buttons, TextBlock, CheckBox, even Slider, Calendar, DataGrid, etc. In addition, it provides the RadControls Translators so that you don't have to inspect the visual tree yourself in order to build your tests. The translators over the complex components like RadControls help you work only within the Automation Surface (run the recorder), generate the tests and execute them. The video I pointed to you in my previous post demonstrates the typical translator in action very well. You can expect something like that in WebUI Test Studio v2.0 recording tests against Silverlight.

Thanks for your compliments about our videos, the interest in participating in the Beta testing and I really hope we can post some exciting news very soon.

Have a great weekend too,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Konstantin Petkov
Telerik team
answered on 20 Oct 2009, 08:35 PM
Hello Kodja,

Just to update you on the progress. As mentioned on the blogs today the BETA is coming with the official Q3 2009 release. The official release of WebUI Test Studio v2.0 is expected about a month later and of course it highly depends on the customer feedback.

Greetings,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Konstantin Petkov
Telerik team
answered on 04 Nov 2009, 05:10 PM
Hi Kodja,

WebUI Test Studio v2.0 Beta has been uploaded. I verified you can download it from your account. For your convenience, you can find it available for download here.

Some resources for your reference:
The product page update is currently in progress.
What's new in Q3 2009 page
WebUI Test Studio Q3 2009 product video

Your feedback is appreciated!

Kind regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
Kodja
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
Kodja
Top achievements
Rank 1
Share this question
or