We need to verify the user name & password in for the user
validation. But we don't want to use the parameterization/
loop for user name and password. What is the way in
scripting so that user & password will generate automatically.
Answer Posted / sanju
We can use RND Function to generate any String automatically
Suppose the Length of Password which you need to enter is 4
For i=0 to 3
Var=Chr(97-65+1)*Rnd+65
Var1=Var1&Var
Next
97 and 65 are the ascii numbers which will generate the characters randomly
So i am converting ascii number to Chr
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Can anyone pls tell me how to do action parameterization (input and output parameters) with respect to login window and insert order of flight reservation window in detail( pls give a clear step by step explanation with example) anyone please. Will be very thankful to u
Explain the views in the QTP GUI?
What is a reusable action?
Hi,Sudhanandareddy plz forword framework and ppts for QTP to me. This is my mail id: ranjith_99reddy@yahoo.co.in (your contact number also)
any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in
In Remote acess server how u run a test?
If I am scripting Web-based Surveys using QTP that open up differently but at the exact same point require a username and password can I automate that username and password for all the surveys some how using QTP?
What is action? How many types of actions are there in qtp?
what is the latest version of QTP? Main difference between 9.2 and 10 version
What are the common defects found in your project? (in qtp interview)
Write a QTP script to enter a keyword in to Google search engine?
Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji
How is the Bitmap checkpoint different from Image checkpoint?
how to find that tools work well with your existing system?
Explain the concept of object repository and how qtp recognises objects?