![]() |
Should i add objects to Object repository to make my scripts working? - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Should i add objects to Object repository to make my scripts working? (/Thread-Should-i-add-objects-to-Object-repository-to-make-my-scripts-working) |
Should i add objects to Object repository to make my scripts working? - SonalBalte - 11-26-2010 My reguirement: open login screen and enter user id and password and click login. Code: Window("Streme : Login .....").Activate My question is how can we create new object manually and run successfully which properties i need to select to recognise objects properly. Your quick reply is awaited. Sonal RE: Should i add objects to Object repository to make my scripts working? - PrabhatN - 11-27-2010 Hi Sonal, Your question here is not clear enough to understand. By "creating new object manually", do you mean adding objects to repository manually or using descriptive programming? If you are talking about adding objects to repository, then you need not to be worry about selecting properties, QTP does it by itself. However, you can select some additinal properties which are not selected by QTP by default. If you are talking about DP, then you can view all properties once you spy on any object and try different combinations. If it is still difficult to choose any property, add the object to local object repository and see which property(ies) QTP uses to uniquely identify the object. You can use those in your DP and can delete the object added. Hope this helps you. RE: Should i add objects to Object repository to make my scripts working? - SonalBalte - 12-04-2010 Dear Prabhat Thanks for the info. I want to add objects into the object repository. Can you please tel me the process to do this step by step. its urgent for me.please RE: Should i add objects to Object repository to make my scripts working? - PrabhatN - 12-04-2010 Hi Sonal, I have sent an external link to your mail id that you have registered for this site as we are not supposed to give any external links here. It explains about how to add objects to repository in detail. Hope it will help you. RE: Should i add objects to Object repository to make my scripts working? - SonalBalte - 12-04-2010 Thanks so much.... I will try the same and let u know.... |