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

Blackbox Silverlight testing

1 Answer 39 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
David
Top achievements
Rank 1
David asked on 31 Jan 2014, 04:53 PM
Hi,
Functional testing of a silver light application is bread and butter stuff for the Telerik automation tools. 
However, if we assume that what goes on inside the plugin is working, i.e. we consider our plugin to be a black box, what would be considered to be important connections between the plugin to the browser (my first thoughts would be network and printing connectivity), and how would one go about testing them?

Cheers
Dave  

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 05 Feb 2014, 06:05 PM
Hello Dave,

You probably already know that a Silverlight application inserted into a web page has the possibility to interact with the wrapping HTML and vice versa i.e. a button in the HTML could cause some sort of interaction with the Silverlight application, or a button contained in the Silverlight application could cause a table in the HTML to be updated.

So if this "black box" testing means you want to test how well your Silverlight application is interacting with the outside world, I recommend you focus on its interaction with the HTML part of the web application.

Testing things like Printing or Network really is testing the browser itself and it's code, which ultimately is Microsoft code... something you have no control over. Automated testing needs to focus on the things you have control of, which is your code. Don't spend your time testing someone third party code.

Regards,
Cody
Telerik
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
David
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or