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
can anyone tell me from where i can download qtp demo or crack version
Object repositories types, which and when to use?
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.
How to create Reusable and Multiple Actions?
Can any suggest me what is exposure testing?
what you mean by artifact,milestone...
In application which areas to be automated and what kind of situation will be take? using QTP? Plz give me the clear answer
How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.
Explain types of descriptive programming?
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)
How to open a new test using quicktest professional?
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
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
How to customize qtp?