RadComboBox Wait timeout

6 posts, 0 answers
  1. Peter
    Peter avatar
    17 posts
    Member since:
    Mar 2017

    Posted 13 Nov 2017 Link to this post

    Hi, 

     

    I have a problem. I get timeout exception when I click on RadComboBox ?

    Worked (but RadComboBoxLiability won't open):

    WindowScreenStrategy.Manager.ActiveApplication.MainWindow.Find.ByName<RadComboBox>("RadComboBoxLiability").User.Click();

    Not Working (Timeout exceptions):

                WindowScreenStrategy.Manager.ActiveApplication.MainWindow.Find.ByName<RadComboBox>("RadComboBoxLiability").ToggleDropDown();
                WindowScreenStrategy.Manager.ActiveApplication.MainWindow.Find.ByName<RadComboBox>("RadComboBoxLiability").Refresh();
                WindowScreenStrategy.Manager.ActiveApplication.MainWindow.Find.ByName<RadComboBox("RadComboBoxLiability").SelectItem(value,false);

    Not Working (Timeout exceptions):

    WindowScreenStrategy.Manager.ActiveApplication.MainWindow.Find.ByName<RadComboBox>("RadComboBoxLiability").SelectItem(value, true);

    Regards,

    Peter

     

     

     

     

  2. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    797 posts

    Posted 15 Nov 2017 Link to this post

    Hi Peter,

    Thank you for reaching us out. 

    I would like to kindly ask you for a sample test against a public accessible application which reproduces the reported misbehavior. Having the provided so far details does not allow me to investigate what might be going wrong. Please let me know what are the possibilities to provide such sample test. 

    Thanks in advance for your understanding! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. Lisa
    Lisa avatar
    34 posts
    Member since:
    Nov 2017

    Posted 20 Feb in reply to Elena Tsvetkova Link to this post

    Hi Elena,

    Can you send me a reference to the RadComboBox class for Telerik Testing Framework? I can't seem to define an element as a RadComboBox using ArtOfTests.WebAii.Controls.HtmlControls

  4. Nikolay Petrov
    Admin
    Nikolay Petrov avatar
    308 posts

    Posted 23 Feb Link to this post

    Hello Lisa,

    The RadComboBox class is located in Telerik.WebAii.Controls.Html namespace. 

    I hope this information is helpful.

    Best Regards,
    Nikolay Petrov
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  5. Lisa
    Lisa avatar
    34 posts
    Member since:
    Nov 2017

    Posted 23 Feb in reply to Nikolay Petrov Link to this post

    Nikolay,

    The Telerik.WebAii.Controls namespace doesn't seem to be available for "using". I also don't see a Telerik.WebAii.Controls dll in the Progress, TestStudio bin file.

    How do I manage to call this from C#? Is there something I need to add to the GAC? Is the using something other than Telerik.WebAii.Controls?

  6. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    797 posts

    Posted 26 Feb Link to this post

    Hi Lisa,

    Please take a look in the Inheritance Hierarchy section in the previously shared by my colleague article - the Telerik.WebAii.Controls namespace is under  ArtOfTest.WebAii.Controls.Control one. 

    Please in case the above is still not helpful let me know how your project is configured and how you are using the Testing Framework dlls - is this is a template project from our plugin our these are unit tests you are creating? 

    You could prepare a sample project to demonstrate the setup and send it zipped via this thread. This will be the easiest way to identify what you might have missed. 

    Thanks in advance! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top