My company is considering re-writing our web application using MS Silverlight, and one of the cons is that we will no longer be able to utilize our over 3 years of investment in QTP. QTP currently doesn't recognize objects inside the Silverlight pages. We will need to convert all of our automated tests to manual, and then start all over with a test tool search that can recognize objects in Silverlight.
Does HP have any immediate plans to release a patch that is compatible with Silverlight?
We will research possible workarounds and options, but if anyone has any experience with this technology and QTP then please continue to update this thread. Thanks!
Before loading the ActiveX add-in (I had Web and Ajax add-ins loaded with QTP 9.5), some of the objects were showing as winObject with ATL...class on this site. After loading the ActiveX add-in, I can see the same object as an ActiveX add-in ad hence can access its native methods and all. fyi: I did choose to install silverlight2.0 when prompted.
I tried the fix that was suggested and it did not work.
Mercury needs to start supporting Silverlight or I will have to recommend that my company drops support on ALL of its QTP licenses, not buy any more licenses and that they go with another automated test tool.
Thanks for the replies and yes we did try enabling ActiveX, but as you experienced QTP still does not recognize the individual objects. As our annual renewal nears we will be looking for other automation options. Maybe HP will take some action to support SilverLight since more and more companies use that technology.
Thanks for the information! This is very good news if the patch indeed does allow QTP to recognize objects on the SilverLight pages. Do you have a link to the download you can share as I did not find the link on the downloads page.
I installed QTP v10 (build 513). When I use the Object Spy on a SilverLight page all that is recognized is the main frame and not the objects inside the frame. I have the .net and web extensions enabled. Have you had any success identifying the individual objects inside a SilverLight page? If so so am I missing any add-ins or QTP extensions? thanks again for your help!
Hi guys, let me join in the topic too..i was not able to see this post before so i have posted a separate topic (Properly handling Silverlight objects in web application with QTP).
anyway, i'm having a hard time defining object properties in a web application which has used Silverlight. I'm doing programmatic description but during run-time, most objects doesn't seem to get recognized properly especially those which are coded for arrays. (At one run instance i've counted 81 objects, and at another instance, it showed 54.)
are there any specific patches that I may install so that QTP could work well? I'm currently using QTP v10.0 with WPF(Silverlight) and .Net add-ins and QTPNET_00028.exe patch, but this doesn't seem to solve my problem..
HP is working with my company on a beta release of QTP that should work with SilverLight. So far we do not have a working copy to share. HP is using our product to help them understand the SilverLight issues. Hopefully they can make some quick progress and we can all have a QTP patch that will work well w/SilverLight. With the many updates to SilverLight it looks like QTP will be in a constant state of catch-up with the changing technoloy. I'll update the forum post once we have a copy of QTP that works well with SL.
I tried to find the QTPNET_00028 patch via the patch download search engine on the HP site. I did not have any luck. Is this still a viable patch? Also, have you heard on a target release date for the Beta?