I am using environment variable xml to give credenatials
for login into unix. Is there any way we cam mask the
password in the xml?



I am using environment variable xml to give credenatials for login into unix. Is there any way we ..

Answer / tvs ramakrishna chowdary

by using vb script we can get the env variable name
-----------------------------------------------------
uname=environment.value("username")
set uname
pwd=environment.value("password")
pwd=crypt.encrypt(pwd)
set pwd

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More QTP Interview Questions

What is iteration? How it is related to Test Results in QTP?

2 Answers  


Hi All, How to Compare two strings character by character in QTP

0 Answers  


How can i open 5 multiple browser at once through QTP VB script

4 Answers  


What is Object Spy in QTP?

1 Answers   Crea,


Explain the parameter in qtp?

0 Answers  






I added 5 edit box objects in OR.i run the script and the first edit box successfully executed.But on next day when i executed same script for second edit box,it gives an error "object not Found". But when i used Highlight in app. object already in OR.So how i will handel this type of error. Hi please inform me the write answer.Its urgent.

1 Answers   TCS,


Differentiate the two Object Repository Types of QTP.

5 Answers  


write is the code for regular expression in QTP

2 Answers   IBM, Infosys,


How many types of status are there?

0 Answers  


how to get column count in datatable

3 Answers  


how to get childobject from .net application. i tried but its showing child object count zero. but window has child objects.the following script i written... pls help me how to get. set parent=SwfWindow("winodw name") CheckObjectDescription parent, SwfButton Public Function CheckObjectDescription(parent, oDesc) Set oDesc = Description.Create() oDesc("micClass:").Value ="Swfbutton" Set children = parent.ChildObjects(oDesc) cntObj=children.count msgbox(cntObj) End function

1 Answers  


WHAT IS THE FUNCTION (HOW TO DO) THE BATCH TESTING IN TEST DIRECTOR USING MANUAL TESTING PROCEDURE?

1 Answers   CTS,


Categories