07-24-2012 01:14 AM
I have automated a .Net application using QTP 9.5 and the scripts have been working since long.
Recently I came to know that QTP 11 supports some DevExpress objects and hence switched to QTP 11 to automate this other application of ours.
But now I'm facing a weird issue with the earlier scripts.
Our application basically has webpages embedded in it. QTP 11 object spy is now identifying all these objects as Window("abc").Page("xyz"). Also if I try to add some objects on the page, such as a text box etc. It gets added as page
Whereas, if I record some part of that same page, the recorded code shows correct object hierarchy. i.e. Window("asd").Page("sdf").WebEdit("dfg").Set "qwe"
and the objects get correctly added into the local repository.
This shows that QTP 11 identified the objects but the SPY and add object to repo are somehow not working properly.