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
Explain the Different types of QTP test assets and their extensions?
what are the utilities and drivers
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
If an application name changes frequently i.e while recording it has the name, in this case, how do qtp handles?
Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B
Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?
How QA specialist can identify when programmatic descriptions are useful?
hi frinds i need help .i have 4 + yrs exp in testing and nearly 2 yrs exp in QTP and QC .currently iam working north fast 2 yrs iam looking for job in south is there any openings plz letme know my mail id is pbre1980@gmail.com
How the exception handling can be done using quicktest professional?
How to creating an output value using quicktest professional (qtp)?
What is text/text area checkpoint?
What is keyword view?
please post the interview questions for QA position in FACTSET
Tell some commonly used Excel VBA functions?
Can we record an application running on a remote machine using qtp?