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

.aspx page using Telerik controls

3 Answers 70 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vamsidhar Venkata
Top achievements
Rank 1
Vamsidhar Venkata asked on 20 Mar 2014, 10:44 AM
Hi,

I am trying to automate a .aspx page which is using Telerik controls. Few controls in this page are not being identified by Visual studio test manager. So I have been suggested to install Telerik testing framework. Now that I installed the framework, for starters like me, can you please let me know how this is used to build automated tests. How can we use this to identify the Telerik controls on .aspx page.

Please see attached screenshots showing button and dropdown are not identified as themselves. They are being recognized as something else by VS test manager. Can this framework be helpful to identify such objects and work on them?

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 25 Mar 2014, 09:03 AM
Hello Vamsidhar,

Thank you for contacting us.

Here is an article which describes how to start with the framework. This is another article which explains the find expressions in Telerik Framework.

Please check it out and let us know if you need further help.

You can send us a screen shot of the DOM with that drop down. What type of the control is it (i.e. RadDropDown)?

Hope to hear from you soon.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
0
Vamsidhar Venkata
Top achievements
Rank 1
answered on 25 Mar 2014, 09:52 AM
Thank you for your reply.
I already visited above links but couldn't get much use of it. I have references of Art of Test dll's in my VS file.
Can you please give more information on how to use this dll's.

Please find attach screenshot of the dropdown control.
0
Boyan Boev
Telerik team
answered on 28 Mar 2014, 09:16 AM
Hi Vamsidhar,

Here is an example how to find the div with a specific ID and then the particular input in that div:

HtmlDiv div = ActiveBrowser.Find.ById<HtmlDiv>("MainContent_important....");
HtmlInputControl input = div.Find.ByName<HtmlInputControl>("ct100$MainContent....");
input.MouseClick();

This will work if the the ID and the Name are not dynamically generated.

Hope this helps.

Regards,
Boyan Boev
Telerik
 
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
 
Tags
General Discussions
Asked by
Vamsidhar Venkata
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
Vamsidhar Venkata
Top achievements
Rank 1
Share this question
or