DP doudt - 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: DP doudt (/Thread-DP-doudt) |
DP doudt - priya999 - 02-11-2011 I have read ur post on DP Ihave one question if we give a description of the object in one action or in function if we just refer the intance of this object inother actions/function will work or we have to do anything else to reuse the descriptive object RE: DP doudt - tarun - 02-11-2011 If you are using the description in the same function library, then you can use the same description object by passing it as an argument to second function. If you want to use it in a separate function library then you have to create a new description object. Within different actions of the same script you can use the same description object. RE: DP doudt - priya999 - 02-11-2011 thanks tarun so for example i have this registration for exam where i have to fill out so many forms and on each page i have this next ,previous/back button ( for up tp 12 pages ) i have created one action per page so i f i create a description for the next and back button in first action i can use them directly by giving the variable to which i have assigend the description of these object in all other ten action right correct me if i am wrong |