ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  Testing  >>  Automation Testing  >>  QTP
 
 


 

 
 WinRunner interview questions  WinRunner Interview Questions
 Load Runner interview questions  Load Runner Interview Questions
 QTP interview questions  QTP Interview Questions
 Test Director interview questions  Test Director Interview Questions
 Rational TestSuite interview questions  Rational TestSuite Interview Questions
 Silk Test interview questions  Silk Test Interview Questions
 Automation Testing AllOther interview questions  Automation Testing AllOther Interview Questions
Question
How can we encrypt the username using recording mode in 
login window? There is 2 encrypted types what are it
 Question Submitted By :: Reddy
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we encrypt the username using recording mode in login window? There is 2 encrypted types what are it
Answer
# 1
Methods for Encryption in QTP are as follows

1)SetSecure method -used only for TextBox object like 
WinEdit/WebEdit etc...
E.g:Browser("test").Page("test").WebEdit
("test1").SetSecure "1HG76BHGJ89sd8Jkl9hjs988dsnjsk" 'encryp
tedtext


2)Crypt.Encrypt(valueToBeEncripted)
E.g: var_Value = Crypt.Encrypt("Tester")


Methods usage in Test Script
E.g:
pwd = "GetPasswordfromSomewhere" 
e_pwd = Crypt.Encrypt(pwd) 
Browser("dfgd").Dialog("pass").WinEdit("pwd").SetSecure 
e_pwd
 
Is This Answer Correct ?    0 Yes 0 No
Amarendra Kothuru
 

 
 
 
Other QTP Interview Questions
 
  Question Asked @ Answers
 
What is the Major difference between QTP ; LoadRunner? If u want to test an 1. erp module which automation tool you would prefer and why? and 2. for web application, which tool and why? Satyam2
dar Sir I am Facing th eProblem in QTP thet ,when I start thrcording inthe QTP for the ASP front end and C# the Coding Language I fing that recording is Done well for the Login screen but at the Time Running the script the QTP is Unable to Identify the Objects On the Objec Onht eLigin screen .Please answer the Question in Description and the Propables reason I might be facing alsp the Popable solution I have to Take thanks and ragards  1
What is throw object?  1
How do u insert an object during runtime in qtp?  2
What are the Latest Feature are added In QTP 9.2? Infotech2
What is the main difference between QTP 8.0& QTP 9.2.And what r the features and benefits of QTP. HCL1
How do you invoke an application using the step generator in qtp?  5
how do we add a new sheet to data table in QTP? Wipro5
Can objects recognised without repository?  4
how can we test load time of an page in webtesting? Ordain-Solutions2
Syntax for how to call one script from another? and Syntax to call one "Action" in another?  2
how to test background color and dynamic images during runtime Accenture2
i have .xls,.txt,.doc files are there (together). i want find only .xls file among them? how can we write function? CTS2
What is meant by Step Generator in Qtp How is it used? pls gimme in detail  3
How can we encrypt the username using recording mode in login window? There is 2 encrypted types what are it TCS1
what is descriptive programming in QTP? How can be done? Accenture10
How many actions we can write in a test? TCS5
How can we see the analog recording steps in QTP..the Steps are stored in a track file with an extension .dat..how can we open the file..  1
Inserting a Call to Action is not Importing all columns in Datatable of globalsheet. Why? Accenture3
What is the Test Object model in QTP?  3
 
For more QTP Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com