05-16-2011, 08:50 PM
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.
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.