Thanks Bibek for the solution.
This will work fine.
But I don't want to display the password any place in my script since I use
production DB login password in my script.
Thanks.

On Tue, Dec 22, 2009 at 10:38 PM, Bibek Khatiwara
<[email protected]>wrote:

> Hi mzrazzaque,We can encrypt database connection password as follows:
>
> DbPass ="t...@1234"
>
> encry_pd = Crypt.Encrypt(DbPass)
>
> print "My new Encrypted Password is:"&encry_pd
>
>
>  On Tue, Dec 22, 2009 at 10:55 PM, <[email protected]> wrote:
>
>>  Hi,
>> Is there any way to encrypt database connection password in QTP?
>>
>> --
>> You received this message because you are subscribed to the Google
>> "QTP - HP Quick Test Professional - Automated Software Testing"
>> group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]<mercuryqtp%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>
>
>
>
> --
> Regards,
> Bibek
>
> --
> You received this message because you are subscribed to the Google
> "QTP - HP Quick Test Professional - Automated Software Testing"
> group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<mercuryqtp%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/MercuryQTP?hl=en

-- 
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en

Reply via email to