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

RadComboBox Wait timeout

5 Answers 66 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Peter
Top achievements
Rank 1
Peter asked on 13 Nov 2017, 09:48 AM

Hi, 

 

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

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

 

 

 

 

5 Answers, 1 is accepted

Sort by
0
Elena
Telerik team
answered on 15 Nov 2017, 02:50 PM
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
 
0
Lisa
Top achievements
Rank 1
answered on 20 Feb 2018, 03:51 PM

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

0
Nikolay Petrov
Telerik team
answered on 23 Feb 2018, 01:50 PM
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
 
0
Lisa
Top achievements
Rank 1
answered on 23 Feb 2018, 03:59 PM

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?

0
Elena
Telerik team
answered on 26 Feb 2018, 03:15 PM
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
 
Tags
General Discussions
Asked by
Peter
Top achievements
Rank 1
Answers by
Elena
Telerik team
Lisa
Top achievements
Rank 1
Nikolay Petrov
Telerik team
Share this question
or