QTP Forums

Full Version: Same login for all the test scripts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

Most of my 100 scripts use the same login and password. I am new to QTP. I would like to know if there is anyway I can create a script for login and use it in all the other scripts. The password changes frequently and it would be easy that way. Also I tried inserting the existing action while recording but it is not working.

Also the same script needs to be used for Developement, Test and Production servers. Is there anyway I can record a script and use it for all the servers.

Thanks in Advance.
Yes you can make login action as reusable and call it in other actions.
Reference URL's