Automating telerik site.

6 posts, 0 answers
  1. Mark
    Mark avatar
    22 posts
    Member since:
    May 2011

    Posted 04 Jan 2012 Link to this post

    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

  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 05 Jan 2012 Link to this post

    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
  3. Mark
    Mark avatar
    22 posts
    Member since:
    May 2011

    Posted 05 Jan 2012 Link to this post

    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
  4. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 09 Jan 2012 Link to this post

    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
  5. Mark
    Mark avatar
    22 posts
    Member since:
    May 2011

    Posted 10 Jan 2012 Link to this post

    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
  6. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 10 Jan 2012 Link to this post

    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
Back to Top