Micro Focus QTP (UFT) Forums
Login action as reusable... - 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: Login action as reusable... (/Thread-Login-action-as-reusable)



Login action as reusable... - galstar - 08-25-2010

Hi,

I have made a login Action and made it reusable.I use this in 3 other scripts.. But what's going on is that if i change user name in that reusable action's local table,it is not getting updated in other scripts. Other script use old username.But if i call copy of this reusable action again in those 3 scripts then it takes new username..But i donn want to call again and again this reusable action after changing data in it...for it what to do???Sad

Can anybody help me in it.
Same Issue occurs whan a function is assocciated with a Script..but if that function is modified then need again association otherwise it will pick the old function's defination...

Thank u so much


RE: Login action as reusable... - A.Saini - 09-27-2010

Hi,

I had also faced the same problem. The solution I got is:

Import the external data sheet into the testscript in which you want to use this component.
It's working fine for my script.

I hope it will also work for you .....
Smile