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

Test exceeded execution timeout period

2 Answers 209 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
md amir
Top achievements
Rank 1
md amir asked on 16 Apr 2010, 02:31 PM

Hi,
I'm currently using Telerik Q3 2009.
I made a test script that will run for some 6 hours and my test script includes Silverlight.
I made my script with simple 'for loop',
While running the script it stops at '30'th minute by giving following result

Timeout AccountScreenNavigation AccountScreen Test 'AccountScreenNavigation' exceeded execution timeout period.  


What I have to do to make it run further. Is anything missed in the script.
Script:

[

CodedStep(@"Select Accounts", RequiresSilverlight = true)]

 

 

 

public void SelectAccounts()

 

{

ActiveBrowser.NavigateTo(

 

"https://qccrmsql03.ontariosystems.com/qccrmsql/ISV/CollectSavvy/Silverlight/OntSys.Silverlight.AccountScreen.Web/AccountScreen.aspx");

 

 

 

for (int i = 110000; i < 110100; i++)

 

{

ActiveBrowser.WaitUntilReady();

 

 

string SearchElement = i + "";

 

 

 

Thread.Sleep(60000);

 

Pages.AccountScreen.SilverlightApp.Item0Textboxview_0.User.Click(ArtOfTest.WebAii.Core.

 

MouseClickType.LeftDoubleClick, 56, 62, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage);

 

Pages.AccountScreen.SilverlightApp.Item0Shellview.User.KeyPress(System.Windows.Forms.

 

Keys.Delete, 10);

 

Pages.AccountScreen.SilverlightApp.Item0Textboxview_0.User.Click(ArtOfTest.WebAii.Core.

 

MouseClickType.LeftClick, 56, 62, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage);

 

Pages.AccountScreen.SilverlightApp.PARTEditableTextBoxPickertextbox.User.TypeText(

 

"*", 100);

 

ActiveBrowser.Manager.Desktop.KeyBoard.KeyPress(ArtOfTest.WebAii.Win32.

 

KeyBoard.KeysFromString("Enter"), 150, 1);

 

 

 

Thread.Sleep(40000);

 

Pages.AccountScreen.SilverlightApp.Item0Textboxview_0.User.Click(ArtOfTest.WebAii.Core.

 

MouseClickType.LeftDoubleClick, 56, 62, ArtOfTest.Common.OffsetReference.TopLeftCorner, ArtOfTest.Common.ActionPointUnitType.Percentage);

 

Pages.AccountScreen.SilverlightApp.Item0Shellview.User.KeyPress(System.Windows.Forms.

 

Keys.Delete, 10);

 

 

 

Thread.Sleep(20000);

 

Pages.AccountScreen.SilverlightApp.PARTEditableTextBoxPickertextbox.User.TypeText(SearchElement, 500);

ActiveBrowser.Manager.Desktop.KeyBoard.KeyPress(ArtOfTest.WebAii.Win32.

 

KeyBoard.KeysFromString("Enter"), 150, 1);

 

}

}

Guide me. pls refer the Attachment

Thanks
Amir

 

2 Answers, 1 is accepted

Sort by
0
Missing User
answered on 16 Apr 2010, 05:31 PM
Hi Amir,

Unfortunately, there is not enough context to tell exactly what maybe happening in the test. If you could also resend the attachment as it seems to be missing.

But based on what you've posted so far, please note the following:

- Silverlight testing is currently not supported in https for Firefox and Safari, only IE
- The automation you posted depends on simulated mouse click and typing as many SL controls do not respond to anything besides these type of input. So please make sure that Windows is not in locked or hibernate mode, or that a screen saver is not running

Please make sure the above is true. Also, please post back with more information on SL test sequence you are working on, resend the attachment, and which line the error is happening on.

Best wishes,
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
Missing User
answered on 22 Apr 2010, 11:42 PM
Hello Amir,

Just wanted to check back with you on this.

If you can please provide more information on the SL testing scenario and possible online examples of the Silverlight controls (generic, Telerik, or other custom control tyrpes) we can try to reproduce the problem on this end.

And I'd also like to point out the Data Driven feature of WebUI so that you would not have to write custom loops for your code.

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.
Tags
General Discussions
Asked by
md amir
Top achievements
Rank 1
Answers by
Missing User
Share this question
or