Hi,
If you want use password in an encrypted form then first you need to use
password encoder tool that comes with the qtp. Using this tool u can
generate an encrypted form of ur password and then copy that value into ur
script.
Please let me know if an help needed
-Regards
Sriram

On 12/28/09, abhishek awale <[email protected]> wrote:
>
> Hi mzrazzaque,
>
> If you don't want to display the password at any place in script then you
> can set the username and password in some external property file (it may be
> txt or xml file) and then you can pass the required credentials to your test
> script and encrypt them in way that you are doing right now,
>
> Please let me know if you need any help,
>
> Regards,
> Abhishek
>
> On Sun, Dec 27, 2009 at 9:46 PM, <[email protected]> wrote:
>
>> 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]<mercuryqtp%[email protected]>
>> For more options, visit this group at
>> http://groups.google.com/group/MercuryQTP?hl=en
>>
>
>
>
> --
> Regards,
>
> Abhishek Awale
> Quality Assurance Engineer,
> Impetus Infotech India Pvt Ltd,
> [ M ] +91 982 768 5004 [ E ] [email protected],
> [email protected] [ W ] www.impetus.com
>
>  --
> 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