Friday, May 13, 2011

QTP & Silverlight

QTP & Silverlight

QTP 11.0 provides out of the box support for Silverlight. According to QTP 11.0 Product Availability Matrix, QTP 11.0 at present supports Silverlight 2 and Silverlight 3.

I am using QTP 11.0 on Windows 7 and IE 8 with WPF & Silverlight Add-ins checked.


I recorded a script on this website. It recorded the below code:


This is just a very simple recorded script for your understanding. You can manipulate it according to your own way (e.g. add if conditions with Exist etc.)

It ran fine and below you can see the results:




You can explore more and go to Tools -> Object Identification and learn more about Silverlight Test Object Classes and their Mandatory and Assistive properties.





Other interesting stuff on QTP & Silverlight:
QTP 10-Patch - New QuickTest Silverlight Add-in
Quality Management Support Forum - QTP 11 with Silverlight 4.0 discussion