| || |
Not able to select controls using Object Spy
I'm very new to QTP and automation and so please bear with me. I downloaded QTP 11.0 version and was going through the steps given in the help. While working on test objects, it is mentioned that when the little pointed finger is clicked and assuming that http://newtours.demoaut.com is already open, it would let us select the controls on the page, when we move the cursor on the page. When I did move my cursor on the page, I see winobject, wintoolbar being selected covering the entire page or toolbar, but not the individual controls on 'em. In the document it is also mentioned that when username text field is selected, it shows webedit in the object hierarchy but as mentioned, it is showing winobject to me. Is there any settings change needed to have the individual controls be selected. Please advice.
Re: Not able to select controls using Object Spy
Yes. There are 2 things.
First you need to make sure you have both the .Net and Web Add-ins installed and loaded.
Second make sure you open QTP first before the application (web browser) so QTP can identify the objects correctly