HELP! How do I use Respository Parameters? - 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: HELP! How do I use Respository Parameters? (/Thread-HELP-How-do-I-use-Respository-Parameters) |
HELP! How do I use Respository Parameters? - hezviz - 06-19-2008 I am a new user of QTP. I want to be able to set a global repository parameter for the browser and page information (in red below)as these objects change with every new build and I use them in everytest and/or function for my UI. My question is 2-fold: 1. I have the help instructions on how to setup the repository parameters- - in the OR I have them called BrowserName and PageTitle respectively. now how do I call them into each of my tests 2. How do I get the updated values from each build into the OR parameter? Do I have to do it manually, or is there a way to programmatically retrieve these values? Sample Code: Code: With[color=#FF0000] Browser("QoSExecutive").Page("QoSExecutive")[/color].WebButton("Add").Click |