Still facing problems with clicks

2 posts, 0 answers
  1. Michael
    Michael avatar
    21 posts
    Member since:
    Apr 2013

    Posted 25 Apr 2013 Link to this post

    I have a table in an update panel and i each column can be sorted by clicking on an href in the column header (asc and desc)

    I use recorded clicks on the header of 7 columns and then check by code the  right order of the content

    very often, but not always, the click event hangs (also ajaxtimeout is set to 1500 or higher

    the logged error is 

    '25.04.2013 11:21:24' - 'Fail' : 13. 2_23_Click 'ProductOverviewProductGridDerivativeWKNToggleLink_DESC'
    ------------------------------------------------------------
    Failure Information: 
    ~~~~~~~~~~~~~~~
    Wait for condition has timed out
    InnerException:
    System.TimeoutException: Wait for condition has timed out
       at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
       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.Actions.Click(Element targetElement)
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click()
       at ArtOfTest.WebAii.Controls.HtmlControls.HtmlControl.Click(Boolean isClosing)
       at ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors.ClickActionDescriptor.Execute(Browser browser)
       at ArtOfTest.WebAii.Design.Extensibility.HtmlActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep(Int32 order)


  2. Plamen
    Admin
    Plamen avatar
    8 posts

    Posted 25 Apr 2013 Link to this post

    Hello Michael,

    Try setting the SimulateRealClick property for all Click steps to True. See this article for more information.

    Regards,
    Plamen
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top