If you have 100 test cases of testing silverlight, each test needs to simulate users to go to Silverlight site and click using WebUI Test Studio. One test case needs 2 minutes. 100 test cases need 200 + minutes, which means 3 hours. In this situation, I would like know how you run those tests and can reduce your time in one machine. :)
Thanks,
Ray
7 Answers, 1 is accepted
0
Hi Ray,
Such a simple test case shouldn't take 2 minutes. Can you share more details about that test?
In fact the most slowly operation in Silverlight automation is loading the Silverlight site. If you launch new browser for each test and load the Silverlight plug-in yes, a bunch of test cases will take too much time. To improve that though there is a RecycleBrowser project setting you can switch on (turned on by default). The same settings are also embedded into the TestLists in WebUI Test Studio QA Edition so that you can configure some test lists as peer your needs. Please take a look at the Settings page from the documentation.
Best wishes,
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.
Such a simple test case shouldn't take 2 minutes. Can you share more details about that test?
In fact the most slowly operation in Silverlight automation is loading the Silverlight site. If you launch new browser for each test and load the Silverlight plug-in yes, a bunch of test cases will take too much time. To improve that though there is a RecycleBrowser project setting you can switch on (turned on by default). The same settings are also embedded into the TestLists in WebUI Test Studio QA Edition so that you can configure some test lists as peer your needs. Please take a look at the Settings page from the documentation.
Best wishes,
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

Ray Lin
Top achievements
Rank 1
answered on 11 Jun 2010, 04:58 PM
Konstantin ,
Because when I convert webuitest studio to MS Test, the test cases will depend on the the waiting time. If I don't setup the waiting time, test cases fail.
For example, go to the site, click the listbox first, choose the suitable value on the listbox, ,click submit or cancel. Those buttons need waiting time. If we don't setup the time, the test case fail and say :Wait for condition has timed out.
Even I setup the euqal waiting time, Wait for condition has timed out sometimes. That's why I say it takes many minutes to finish one test case. 50 test cases need 100+ minutes. Time consuming. :(
I don't know how your team tests those scenario so quickly.
Thanks,
Ray
Because when I convert webuitest studio to MS Test, the test cases will depend on the the waiting time. If I don't setup the waiting time, test cases fail.
For example, go to the site, click the listbox first, choose the suitable value on the listbox, ,click submit or cancel. Those buttons need waiting time. If we don't setup the time, the test case fail and say :Wait for condition has timed out.
Even I setup the euqal waiting time, Wait for condition has timed out sometimes. That's why I say it takes many minutes to finish one test case. 50 test cases need 100+ minutes. Time consuming. :(
I don't know how your team tests those scenario so quickly.
Thanks,
Ray
0
Hi Ray,
Just to add quickly, about how may test steps are associated per test? And are your user interactions doing alot of Silverlight page element loading and updates (things like loading or updating charts or grids)?
Also, would it be possible to merge any of the tests in the test list so they do more per test? And please also try using the RecycleBrowser property so tests use the same browser and avoid Silverlight load times.
Greetings,
Nelson Sin
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.
Just to add quickly, about how may test steps are associated per test? And are your user interactions doing alot of Silverlight page element loading and updates (things like loading or updating charts or grids)?
Also, would it be possible to merge any of the tests in the test list so they do more per test? And please also try using the RecycleBrowser property so tests use the same browser and avoid Silverlight load times.
Greetings,
Nelson Sin
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
Hello again Ray,
Just wanted to check back with you on this. We would like to help out if possible to reduce the time of your tests, but we would need more details on what is happening with your page during the test run.
Sincerely,
Nelson
the Telerik team
Just wanted to check back with you on this. We would like to help out if possible to reduce the time of your tests, but we would need more details on what is happening with your page during the test run.
Sincerely,
Nelson
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

Ray Lin
Top achievements
Rank 1
answered on 21 Jun 2010, 11:20 PM
Nelson,
Merging the tests should be a good idea. But usually timeout is the issue. So we need to extend the sleep time.
Thanks so much! :)
Ray
Merging the tests should be a good idea. But usually timeout is the issue. So we need to extend the sleep time.
Thanks so much! :)
Ray
0
Hi again Ray,
Unfortunately, we would need more detail on your tests in order to suggest things you can try.
Could you send us video capture of a test or group of tests running that are taking the amount of time you mentioned to complete?
I use Jing, but you can use any video capture you want.
Regards,
Nelson
the Telerik team
Unfortunately, we would need more detail on your tests in order to suggest things you can try.
Could you send us video capture of a test or group of tests running that are taking the amount of time you mentioned to complete?
I use Jing, but you can use any video capture you want.
Regards,
Nelson
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
Hello again Ray,
Just wanted to check back and see if you are still having this problem. If so, please provide us with more details of what kind of tests you are running and videos of the test playback if possible.
Regards,
Nelson
the Telerik team
Just wanted to check back and see if you are still having this problem. If so, please provide us with more details of what kind of tests you are running and videos of the test playback if possible.
Regards,
Nelson
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