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...

How will you set a unique four digit number in an edit
field in QTP?

Answer Posted / tvs ramakrishna chowdary

we can set 4 digit no in edit box field dynamically
-----------------------------------------------------
let assume password edit box is there
----------------------------------------
str="rama"
no=randomnumber(1000,10000)'here we are generating random
value between 1000,10000

pwd=str&no
password=crypt.encrypt(pwd)
objectheirarchy.edit("password").setsecure pwd

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anyone tell me from where i can download qtp demo or crack version

2010


Object repositories types, which and when to use?

1084


How to Upgrade or support firefox 2.0 version on QTP 9.0? I have installed QTP 9.0 and installed firefox 2.0. But in REcord and Run Settings, it shows firefox 1.5 in Web tab for browser selection.

2294


How to create Reusable and Multiple Actions?

2208


Can any suggest me what is exposure testing?

1821


what you mean by artifact,milestone...

1991


In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer

2417


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1950


Explain types of descriptive programming?

1050


Suppose I have three hyperlinks with same properties. How to solve this and what are the ways to solve this. we can solve this by using index property but what are the other ways we have have to solve this problem. Login (href: btnlogin.aspx) Login (href: Sourcelogin.aspx) Login (href: homelogin.aspx)

1998


How to open a new test using quicktest professional?

1059


I want to write some certification courses, so friends could you guide me? which certification is best and how to write exam and what tutorials need to be studied,what to do first, I am working on automation tool QTP 9.2

2013


Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?

2393


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1834


How to customize qtp?

1049