Issue timeout with Radcombobox

8 posts, 0 answers
  1. Totti
    Totti avatar
    10 posts
    Member since:
    Sep 2010

    Posted 24 Jan 2011 Link to this post

    I even try to add more time but still error in Radcombobox at Selecting item:

    Overall Result: Fail
    --------------------------------------------------
    '1/25/2011 11:18:01 AM' - 'Pass' : 1. Navigate to : 'http://localhost:4384/Home.aspx'
    '1/25/2011 11:18:04 AM' - 'Pass' : 2. LeftClick on RootTxtTextblock
    '1/25/2011 11:18:07 AM' - 'Pass' : 3. Click BtnLoginButton
    '1/25/2011 11:18:10 AM' - 'Pass' : 4. LeftClick on Item1Listboxitem
    '1/25/2011 11:18:13 AM' - 'Pass' : 5. Click SetupMenuItemButton
    '1/25/2011 11:18:21 AM' - 'Pass' : 6. radtileviewitem: 'Products' toggle state action.
    '1/25/2011 11:18:22 AM' - 'Pass' : 7. Click LnkNewHyperlinkbutton
    '1/25/2011 11:18:24 AM' - 'Pass' : 8. radmaskedtextbox: click with '0' offset action.
    '1/25/2011 11:18:26 AM' - 'Pass' : 9. radmaskedtextbox: type 'Delta' text action.
    '1/25/2011 11:18:27 AM' - 'Pass' : 10. radmaskedtextbox: click with '0' offset action.
    '1/25/2011 11:18:28 AM' - 'Pass' : 11. radmaskedtextbox: type '01' text action.
    '1/25/2011 11:18:35 AM' - 'Fail' : 12. radcombobox: drop down 'Open' action.
    --------------------------------------------------
    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)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
       at ArtOfTest.WebAii.Silverlight.VisualWait.ForExistsInternal(Int32 timeout, Boolean invertCondition)
       at ArtOfTest.WebAii.Silverlight.VisualWait.ForVisible(Int32 timeout)
       at ArtOfTest.WebAii.Silverlight.VisualFind.ReturnOrThrow(FrameworkElement e, String throwMessage)
       at ArtOfTest.WebAii.Silverlight.VisualFind.ByName(String name)
       at Telerik.WebAii.Controls.Xaml.RadComboBox.get_DropDownPopup()
       at Telerik.WebAii.Controls.Xaml.RadComboBox.WaitDropDownAnimation(Int32 millis)
       at Telerik.WebAii.Controls.Xaml.RadComboBox.ToggleDropDown()
       at Telerik.WebAii.Design.Translators.Xaml.ComboBox.ComboToggleDropDownAction.Execute(SilverlightApp autoHost)
       at ArtOfTest.WebAii.Design.Extensibility.XamlActionDescriptor.Execute(IAutomationHost autoHost)
       at ArtOfTest.WebAii.Design.Execution.ExecutionEngine.ExecuteStep()
    --------------------------------------------------
    '1/25/2011 11:18:35 AM' - Detected a failure. Step is marked 'ContinueOnFailure=False' aborting test execution.
    --------------------------------------------------
    '1/25/2011 11:18:36 AM' - Overall Result: Fail
    --------------------------------------------------



    ---> How to fix this issue ?
  2. Totti
    Totti avatar
    10 posts
    Member since:
    Sep 2010

    Posted 25 Jan 2011 Link to this post

    How does resolve this issue?
    Thanks.
  3. Totti
    Totti avatar
    10 posts
    Member since:
    Sep 2010

    Posted 27 Jan 2011 Link to this post

    Could you give me a recording sample with Radcombobox ?

  4. Boyan
    Admin
    Boyan avatar
    758 posts

    Posted 27 Jan 2011 Link to this post

    Hi Totti,

    There was a bug in our wrappers which we introduced with the version you are using. It is already fixed. You can download the latest internal build from here: http://www.telerik.com/downloads/nightbuildfiles/bacg/Telerik.WebUI.TestStudio.Dev.2010.3.1307.msi. The fix is included in it.

    We are sorry for the inconvenience caused. If you are still having problems please let us know.

    All the best,
    Boyan
    the Telerik team
    Interested in Agile Testing? Check out Telerik TV for a recording of Automated Testing in the Agile Environment
  5. lora
    lora avatar
    8 posts
    Member since:
    Aug 2011

    Posted 20 Mar 2012 Link to this post

    I'm having the same issue with R2 release. I attempted to access your link above, but the page is no longer valid.
  6. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 21 Mar 2012 Link to this post

    Hello Lora,

    Use this link to download the latest version of Test Studio. If your issue persists after upgrading, please provide more information on it.

    Regards,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  7. Palvi
    Palvi avatar
    1 posts
    Member since:
    Apr 2020

    Posted 15 Jun in reply to Anthony Link to this post

    I am also facing the same issue of timeout. I am using free Telerik Testing framework with MSTest. If, I call the selectItem method directly from the Test method, It is working fine. But If I create a reusable method and call it from Test method. It is giving timeout exception. Ex. 

    [TestMethod]

    public void SelectItem(){

    element.SelectItem(10, true);

    }

    The above code is working fine. but not below one

    TestMethod]
    public void SelectItem(){
    SelectItemByIndex(10);
    }

    public static SelectItemByIndex(int index){

    element.SelectItem(index, true);

    }

  8. Elena
    Admin
    Elena avatar
    1214 posts

    Posted 18 Jun Link to this post

    Hi Palvi,

    I am sorry to know you are having any troubles and will be happy to assist you further. 

    Since you are referring to a thread from quite long time ago, I will appreciate if you take the time to share some additional details on the case. It will be best if you can prepare a sample test, in which you demonstrate how the reusable method is defined, how the element is being identified and used with the method - this will help me understand what might be going wrong in the used approach.

    In general, you should define the element outside of the reusable method and pass the defined one to the method. So it should be something similar to: 

    public static ReusableSelectItemByIndex([the type of the dropdown] element, int index)

    {
    element.SelectItem(index, true);
    }

    Of course, if this is not sufficient for you, do not hesitate to get back to me and continue the discussion.

    Thank you for your cooperation in advance.

    Regards,
    Elena
    Progress Telerik

    Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
    Our thoughts here at Progress are with those affected by the outbreak.
Back to Top