Why Multiple Pages are being created for the same page object
This problem has been disturbing for sometime now.
In our application there are multiple modules. There are different objects in each page. but the page object properties remain the same. So ideally, when ever I add objects from different modules they should get added under the same page object. But once I navigate to another page and try to add objects, a duplicate page is getting created as a parent to the current object. Let me know if I am confusing you.
Check the QTP menu for Tools | Options. On the options window, select Web | Page/Frame Options. There's a setting there to let you create a new Page test object for various circumstances. Odds are good you're set to "Every navigation." Setting it to "Different URLs or a change in data transfer" is likely more of what want.
I think that problem is common among tools if you map objects across different sessions. What you might want to do first is try to strip out as many non-essential properties as possible from the recognition properties.
Use 'Different Page/Object Descriptions' if you are getting the Page_1, Page_2, Page_3 every time you stop and start recording on the pages.
This is set in Tools > Web > Page/Frame Options.
ThemAverick...If the setting does not solve the problem, consider not using the Object Repository. You can also choose descriptive programming or storing the Object Properties in an Excel Sheet or database and building the descriptive programming as required.
Thanks Everybody. Tha problem solved by changing Frame/Page Options.