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

Automating telerik site.

5 Answers 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 05 Jan 2012, 04:33 AM
Hi Telerik,

I'm trying to create a demo test and used your site. (http://www.telerik.com/automated-testing-tools.aspx) or (http://www.telerik.com)
When I run my test it always fail but the page is already loaded. Here is the error.

ArtOfTest.Common.Design.Exceptions.ExecutionException: Wait for condition has timed out ---> System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
   at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
   at ArtOfTest.WebAii.Core.Browser.WaitUntilReady()
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request, Boolean performDomRefresh, Boolean waitUntilReady)
   at ArtOfTest.WebAii.Core.Browser.ExecuteCommand(BrowserCommand request)
   at ArtOfTest.WebAii.Core.Browser.InternalNavigateTo(Uri uri)
   at ArtOfTest.WebAii.Core.Browser.NavigateTo(Uri uri)
   at ArtOfTest.WebAii.Core.Browser.NavigateTo(String url)
   at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.NavigateToActionDescriptor.Execute(Browser browser)
   at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
   at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)
   --- End of inner exception stack trace ---

But when I run the test using the Performance Quick run it is successfully executed

5 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 05 Jan 2012, 05:03 PM
Hi Mark,

I'm sorry you are running into this problem. I was not able to reproduce it. Please configure your browser according these instructions and if this doesn't work try to disable all "Add-ons" (see screenshot).

Since these sites are public, could you please send us your test project? Place the entire folder containing your test project into a .zip file and attach that .zip file to the ticket, so we can try to reproduce the issue locally.

Hope to hear from you soon!

Kind regards,
Plamen
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
Mark
Top achievements
Rank 1
answered on 06 Jan 2012, 02:15 AM
Hi Plamen,

The browsers is already set but the error still there. Here is the test project run the Webtest(1).

I'm running the project on a remote desktop so when I run the test using Record > Execute, page load is slow. But using Performance > Run, page load is faster.

Thanks
0
Plamen
Telerik team
answered on 09 Jan 2012, 06:26 PM
Hi Mark,

Which version of Test Studio you are currently using? Which version of Internet Explorer? I tried the provided sample test on my local machine and on a slow VM, everything works as expected as seen in this video. I'm using our latest internal build 2011.2.1305. Please upgrade to that build and try to test against our site again. You can download it from your Telerik account.  

Kind regards,
Plamen
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
Mark
Top achievements
Rank 1
answered on 10 Jan 2012, 10:00 AM
Hi Plamen

I've already upgraded the build. It is still the same using Record > Execute. It also works fine when using a Test List in running.

I'm noticing that the page is loading slow. And for the other test Webtest fails because the page load can't sync with the step that the telerik is executing.

Thanks
0
Plamen
Telerik team
answered on 10 Jan 2012, 04:00 PM
Hello Mark,

You are right, the Test List execution is almost twice faster than the Quick Execution, Please try to increase the Global timeout setting for Quick Execution. See the bottom of this page on how to set it in Quick Execution Options.

Let me know whether that was the problem.

Regards,
Plamen
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
Mark
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Mark
Top achievements
Rank 1
Share this question
or