Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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

1799


Explain the views in the QTP GUI?

1065


What is a reusable action?

1011


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)

2421


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

3889


In Remote acess server how u run a test?

1724


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?

1905


What is action? How many types of actions are there in qtp?

1096


what is the latest version of QTP? Main difference between 9.2 and 10 version

2143


What are the common defects found in your project? (in qtp interview)

2065


Write a QTP script to enter a keyword in to Google search engine?

1061


Dear All , For UFT 12.02 which version QC or ALM will support ? Thanks Balaji

1393


How is the Bitmap checkpoint different from Image checkpoint?

1117


how to find that tools work well with your existing system?

1867


Explain the concept of object repository and how qtp recognises objects?

1036