How can we encrypt the username using recording mode in
login window? There is 2 encrypted types what are it
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 ? | 1 Yes | 1 No |
Define QTP ?
How to run a script from lines 50 - 100 alone (if the script has 1- 200 lines of code)?
How does QTP identifies the object in the application
how to select the work for complete automation and one more thing when u are going to choose automation
Does QTP supports Linux or Unix OS?.If so which scripting is preferable? Shell we do record and playback
How do I modify a value of an elemnt which is not the first one in xml file? My sample XML file is like: <Environment> <Variable> <Name>Name</Name> <Value>Uday Kumar</Value> </Variable> <Variable> <Name>Designation</Name> <Value>Senior Software Engineer</Value> </Variable> </Environment> for example, I'd like to change the value 'Senior Software Engineer' to 'Student' in the second element. How do I do it in QTP?
write a test script in QTP to test the text that written in an image(i.e jpg)of a web page???
What is the use of Testing framework in Automated testing..what are different kinds of Testing frameworks available in Automated testing...
Why QTP is termed as a Record and Playback tool?
What are the types of Object Repository’s in QTP?
In keyward driven framework what will be the step for yahoo login page ,inbox logout,plz explain in detail
where exactly we can't do the automation testing. give some examples