08-10-2010, 11:54 AM
Hi
I have created 3 scripts in QTP.one is for login.
Now i want to use this login script to other two scripts let's say Script1,Script2..So i made the login as reusable and called it to other scripts..Now fight is that,with login its localsheet is also fetched..But i want to use different user name to get login to these two different script.
Let's say Login script contain username as galstar@gmail.com.
Script 1 need login through galstar1@gmail.com
and Script 2 need login through galstar2@gmail.com..
How should i proceed for this...Please help me to do it..
Thank you....
I have created 3 scripts in QTP.one is for login.
Now i want to use this login script to other two scripts let's say Script1,Script2..So i made the login as reusable and called it to other scripts..Now fight is that,with login its localsheet is also fetched..But i want to use different user name to get login to these two different script.
Let's say Login script contain username as galstar@gmail.com.
Script 1 need login through galstar1@gmail.com
and Script 2 need login through galstar2@gmail.com..
How should i proceed for this...Please help me to do it..
Thank you....