![]() |
Object Repository Issue - 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: Object Repository Issue (/Thread-Object-Repository-Issue) |
Object Repository Issue - sagar - 10-27-2008 Hi all, I am new QTP, I created some scripts in QTP 9.5 in one of my clients system with help of Object Repository. My application is a Web application. So my addins are ActiveX, VisualBasic and Web For the first time when I recorded a script I got the Browser name(B1) and Page name(P1) in the OR. When I add a new object to the shared repository I get the Browser name (B2) and Page name(P2). I used to drag and drop the required objects in page (p2) to Browser(B1) and delete the Browser(B2). So the script which was intially as Code: Browser(B1).Page(P1).Link(A1).click was changed to Code: Browser(B1).Page(P1).Link(A1).click I did the same thing to make sure that the Browser name was the same for all the lines in my script. Scripts were executed successfully without any errors Now I have created some scripts using the same Object Repository on my system. I have two actions in the script. The first step in the first action after login to application is something like this Code: Browser(B1).Page(P1).Link(A1).click How can I avoid these warnings?? The first step in my second action is the same Code: Browser(B1).Page(P1).Link(A1).click How come the object recognised in the first action is not recognised in the second?? I get this problem even when I create and execute the script on my system. Is the concept of dragging the objects from one browser to another correct? If not please let me know the solution for this. I need to create scripts using Object Repository. Descriptive Programming is not allowed. I have associated the repository to both the actions. I set the Manadatory, Assitive, Base filter and Optional Filter properities as it was on my client system. Could some one help me?? Thanks in advance Sagar RE: Object Repository Issue - siri - 10-30-2008 Hi , Just select the smar identification enable it .so that this smart identification error wouldnt show up on the screen |