Hai Shawn, AS per your steps,
>> > The "Define Object Filter" dialog appears and select the 3rd radio button "All object types" and click OK. >> > At this point ALL the objects in the window are learned and added to the Object Repository. Im not getting the "Define Object Filter" window in my application which developed in dojo flat form. So Im unable to select "All object types". Currently Im able to select only one object at a time(as per object learning ste). On Wed, Mar 23, 2011 at 5:34 PM, Shawn <[email protected]> wrote: > QTP only learns the objects you touch while in Recording mode. > However the better approach is to take the time to navigate your > application, learning all the objects and then saving them to a Shared > Object Repository for reuse on all your other test scripts you end up > building in order to have a central repository of object definitions > to maintain. > > Based on that approach the easiest way to learn ALL the objects in > this learning process is to: > 1. Open a new empty test script > 2. Open the Object Repository > 3. Manually navigate to your first window in your application > 4. In the Object Repository click the "Add Objects to Local" icon or > select "Object > Add Objects to Local" from the menu > > Your mouse changes to a hand icon, click on the title bar of the > window > > The "Object Selection - Add to Repository" dialog box appears > and your window should be highlighted in the list. If it is not, then > click on the top level window in the displayed hierarchy and click the > OK button. > > The "Define Object Filter" dialog appears and select the 3rd > radio button "All object types" and click OK. > > At this point ALL the objects in the window are learned and > added to the Object Repository. > 5. Leave the Object Repository open and Now navigate to the next > window in your application and repeat this learning process. > > This is how you learn all the objects in your windows for your > application. It is a little tedious as you have to manually navigate > thru your application (but QTP wouldn't know how to do that without > script code) but the object learning process is significantly faster > using this approach. A single click on a window and you can learn > every object in the window is pretty cool. > > Good luck. > --- > Shawn LoPorto > Learn QTP Online Today! > Visit: http://www.asi-test.com/ASI/products/ > > > On Mar 22, 5:47 am, Aruna <[email protected]> wrote: > > In QTP 11 , by default it is not capturing all the objects in our > > application web page.( Web 2.0 - Dojo based). Is there any specific > > setting in QTP 11 to capture all the objects in the web page > > -- > You received this message because you are subscribed to the Google > "QTP - HP Quick Test Professional - Automated Software Testing" > group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/MercuryQTP?hl=en > -- regards , Aruna.T -- You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en
