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

UFT/QTP access on Telerik controls

4 Answers 286 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Shalini
Top achievements
Rank 1
Shalini asked on 23 May 2014, 09:06 AM
We are in the initial stages of testing Telerik controls using UFT/QTP. We used Telerik UI for WPF Sample Application (ScreenShot attached)
Using the sample application, we tried identifying certain controls. But we found that some of the properties that we used to identify VB 6.0 controls are not working properly when it comes to the identification of WPF controls. Following are some examples to explain the situation better (We used both UFT 12.0 and 11.53 ) 

1. Treeview control
    We use 'Select' method followed by the item to be selected from the treeview to select an item in a VB 6.0 control.
    But for WPF control, we need to pass the node number instead of the item name that has to be selected.
     WpfWindow("WPF Controls Examples").WpfTreeView("explorerTree").Select 0   'To select the first item in the treeview
     On passing the item name, UFT is throwing error. 

2. ListView control 
     Several of the properties that we use to manipulate a List box VB 6.0 control are not working with WPF controls.
     For example, properties lke GetItem, GetSelection, Select, SelectRange etc are throwing an error from UFT/QTP 
     Since 'Select' doesn't select the item in the list box, we need to go with a crude way to do the job. 
     WpfWindow("WPF Controls Examples").WpfList("WpfList").Object.SelectedIndex = 1





















4 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 27 May 2014, 01:58 PM
Hello,

I am afraid that the controls from UI for WPF suite do not provide QTP support. We are not experts regarding this tool, but I guess that if you manually add wrappers for the needed controls, they could be detected. However, please note that we haven't tested this and we cannot guarantee that it will work without any problems.

Telerik WPF controls could be successfully tested using CodedUI, most of them currently provide Level 2 and Level 3 support and with the upcoming Q2 2014 release some of them will provide Level 4 as well. For more detailed information please check the CodedUI support topic in our documentation.

Additionally, I would suggest that you take a look at our Test Studio - if you need to test an application built with Telerik WPF controls, Test Studio will instantly detect them and suggest specific verifications even for complex data and navigation components.


Regards,
Yana
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
0
sumeet singh
Top achievements
Rank 1
answered on 22 Apr 2015, 01:09 PM

 

Telrik controls are supported by UFT. I am working on automating the Telrik Silverlight controls and the automation scripts are working fine. You will have to write a lot of custom wrappers for developing automation scripts. You can also work on extensibility accelerators to create your own custom UFT objects. 

 Thanks,

Sumeet Singh Kushwah

 

0
Randy
Top achievements
Rank 1
answered on 28 Jun 2018, 05:40 PM
So what product would we use, if we are using UFT/QTP to get Telerik Control get identified?  I noticed this post is pretty old.  Is there an update on this?  Please advise and thanks.  
0
Stefan
Telerik team
answered on 03 Jul 2018, 02:14 PM
Hi Randy,

I can confirm that the recommended approach for testing the UI for WPF components is either through Coded UI or through or Test Studio. For the time being UFT/QTP is not officially supported. You can find more information here and here. You can also try contacting the tool vendor to get more information how it can be used with third-party libraries.

I hope this helps.

Regards,
Stefan
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Tags
General Discussions
Asked by
Shalini
Top achievements
Rank 1
Answers by
Yana
Telerik team
sumeet singh
Top achievements
Rank 1
Randy
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or