![]() |
External UserID/Password File - 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: External UserID/Password File (/Thread-External-UserID-Password-File) |
External UserID/Password File - leeki - 07-21-2010 Hi. I have few QTP scripts that are running everyday to login to the SAP systems and download a few SAP tables. My SAP Logon ID and password is written on each QTP scripts (my password is encrypted), but is there anyway QTP get my login information from external file so I can maintain in one file so QTPs can reading out of that file, so I don't have to update each QTP scripts every time my password is expired and reset? QTP Version 10 Add on : SAP Thanks in advance, Leeki RE: External UserID/Password File - Saket - 07-21-2010 Yes you can do this, store your login credentials in a xls or may be in a txt file. retreive the details before login to the system. if you use xls either you can import the data from xls to the datatable or you can use xls com. use filesystem object to open and read the details from txt file. serach this forum, you will definetely get some more help on this. |