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

Can we just run the tests without opening the browser ?

1 Answer 197 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ray Lin
Top achievements
Rank 1
Ray Lin asked on 21 May 2010, 05:28 PM

I find WebUI test studio is a great tool to test Silverlight. I have the following question.

When I record the Silverlight apps, generate c# and run the test case, test cases will open IE, simulate users to use the mouse to click the website.    It means I can’t use my mouse to do anything until the test cases finish running.
 
I know I can find another machine to run my tests.  I know VSTS 2010 web tests (coded web tests)  just run the tests without opening the browser.  Can we just run the tests without opening the browser and  without letting the  mouse move automatically?  Because if control the mouse, the tests can't move on. :)

 Thanks,

Ray

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 21 May 2010, 06:07 PM
Hello Ray Lin,

No I'm afraid there is no alternative. The disadvantage to the way the Microsoft WebTest works is that it's only doing pure HTTP requests and responses, simulating what a web browser does. It is not capable of performing any Silverlight application testing. It also can't perform any JavaScript testing or really validate how the web browser will respond to the web page being served up by your web server.

Actually loading the web browser and runnign tests using a real web browser is the only way to get true end to end functional testing of your web site and Silverlight application and JavaScript.

All the best,
Cody
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.
Tags
General Discussions
Asked by
Ray Lin
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or